Coool2 commited on
Commit
31b8b37
·
1 Parent(s): 6b13586

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +1 -1
agent.py CHANGED
@@ -200,7 +200,7 @@ def initialize_models(use_api_mode=False):
200
 
201
  embed_model = HuggingFaceEmbedding(
202
  model_name="llamaindex/vdr-2b-multi-v1",
203
- device="auto",
204
  trust_remote_code = True)
205
 
206
  # Code LLM
 
200
 
201
  embed_model = HuggingFaceEmbedding(
202
  model_name="llamaindex/vdr-2b-multi-v1",
203
+ device="cuda",
204
  trust_remote_code = True)
205
 
206
  # Code LLM