mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-08 12:30:14 +00:00
fix problem
This commit is contained in:
@@ -29,8 +29,8 @@ class ModerLoader:
|
||||
if debug:
|
||||
print(model)
|
||||
|
||||
if self.device == "cuda":
|
||||
model.to(self.device)
|
||||
# if self.device == "cuda":
|
||||
# model.to(self.device)
|
||||
|
||||
return model, tokenizer
|
||||
|
||||
|
Reference in New Issue
Block a user