Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -163,7 +163,7 @@ if has_cuda:
|
|
163 |
else:
|
164 |
model_glm = AutoModel.from_pretrained(
|
165 |
model_name, trust_remote_code=True
|
166 |
-
).float()
|
167 |
|
168 |
model_glm = model_glm.eval()
|
169 |
|
|
|
163 |
else:
|
164 |
model_glm = AutoModel.from_pretrained(
|
165 |
model_name, trust_remote_code=True
|
166 |
+
).float() .half().float()
|
167 |
|
168 |
model_glm = model_glm.eval()
|
169 |
|