Spaces:
Sleeping
Sleeping
Samuel Thomas
commited on
Commit
·
8792b9a
1
Parent(s):
fe1bd6e
cpu:
Browse files
tools.py
CHANGED
@@ -102,7 +102,7 @@ def create_llm_pipeline():
|
|
102 |
return pipeline(
|
103 |
"text-generation",
|
104 |
model=model_id,
|
105 |
-
device_map="
|
106 |
torch_dtype=torch.float16,
|
107 |
max_new_tokens=1024,
|
108 |
temperature=0.05,
|
|
|
102 |
return pipeline(
|
103 |
"text-generation",
|
104 |
model=model_id,
|
105 |
+
device_map="cpu",
|
106 |
torch_dtype=torch.float16,
|
107 |
max_new_tokens=1024,
|
108 |
temperature=0.05,
|