Spaces:
Sleeping
Sleeping
kz209
commited on
Commit
·
d5f9bcf
1
Parent(s):
dea4ce7
change auto
Browse files- utils/model.py +1 -1
utils/model.py
CHANGED
@@ -24,7 +24,7 @@ class Model(torch.nn.Module):
|
|
24 |
model=model_name,
|
25 |
tokenizer=self.tokenizer,
|
26 |
torch_dtype=torch.bfloat16,
|
27 |
-
device_map="
|
28 |
)
|
29 |
|
30 |
self.update()
|
|
|
24 |
model=model_name,
|
25 |
tokenizer=self.tokenizer,
|
26 |
torch_dtype=torch.bfloat16,
|
27 |
+
device_map="auto",
|
28 |
)
|
29 |
|
30 |
self.update()
|