Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ bnb_config = BitsAndBytesConfig(
|
|
11 |
base_model = AutoModelForCausalLM.from_pretrained(
|
12 |
model_name,
|
13 |
quantization_config=bnb_config,
|
14 |
-
device_map="
|
15 |
trust_remote_code=True,
|
16 |
#token=True,
|
17 |
)
|
|
|
11 |
base_model = AutoModelForCausalLM.from_pretrained(
|
12 |
model_name,
|
13 |
quantization_config=bnb_config,
|
14 |
+
device_map="cuda:0",
|
15 |
trust_remote_code=True,
|
16 |
#token=True,
|
17 |
)
|