Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ def load_model(model_name, quantization):
|
|
34 |
model_name,
|
35 |
return_dict=True,
|
36 |
load_in_8bit=quantization,
|
37 |
-
device_map='
|
38 |
low_cpu_mem_usage=True,
|
39 |
)
|
40 |
return model
|
|
|
34 |
model_name,
|
35 |
return_dict=True,
|
36 |
load_in_8bit=quantization,
|
37 |
+
device_map='cpu',
|
38 |
low_cpu_mem_usage=True,
|
39 |
)
|
40 |
return model
|