Spaces:
Sleeping
Sleeping
ronald
commited on
Commit
·
11e7cd1
1
Parent(s):
db43c7e
coh mech
Browse files- ccl_win.py +1 -1
ccl_win.py
CHANGED
|
@@ -125,7 +125,7 @@ class ccl_win(evaluate.Measurement):
|
|
| 125 |
MODEL_CACHE_DIR="/gfs/team/nlp/users/rcardena/tools/huggingface/"
|
| 126 |
|
| 127 |
if device is not None:
|
| 128 |
-
assert device in ["gpu", "cpu", "cuda"], "device should be either gpu or cpu."
|
| 129 |
if device == "gpu":
|
| 130 |
device = "cuda"
|
| 131 |
else:
|
|
|
|
| 125 |
MODEL_CACHE_DIR="/gfs/team/nlp/users/rcardena/tools/huggingface/"
|
| 126 |
|
| 127 |
if device is not None:
|
| 128 |
+
# assert device in ["gpu", "cpu", "cuda"], "device should be either gpu or cpu."
|
| 129 |
if device == "gpu":
|
| 130 |
device = "cuda"
|
| 131 |
else:
|