Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ tokenizer = LlamaTokenizer.from_pretrained("samwit/koala-7b")
|
|
14 |
base_model = LlamaForCausalLM.from_pretrained(
|
15 |
"samwit/koala-7b",
|
16 |
load_in_8bit=True,
|
17 |
-
device
|
18 |
device_map='auto',
|
19 |
)
|
20 |
|
|
|
14 |
base_model = LlamaForCausalLM.from_pretrained(
|
15 |
"samwit/koala-7b",
|
16 |
load_in_8bit=True,
|
17 |
+
device=-1,
|
18 |
device_map='auto',
|
19 |
)
|
20 |
|