Spaces:
Sleeping
Sleeping
kz209
commited on
Commit
·
e63d745
1
Parent(s):
535136b
default cpu
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="cpu",
|
28 |
)
|
29 |
|
30 |
self.update()
|