themissingCRAM
commited on
Commit
·
69286ea
1
Parent(s):
6b70984
unsloth bnb 4bits
Browse files
app.py
CHANGED
|
@@ -163,7 +163,7 @@ if __name__ == "__main__":
|
|
| 163 |
model_id="unsloth/Llama-3.2-3B-Instruct-unsloth-bnb-4bit",
|
| 164 |
device_map="cuda"
|
| 165 |
)
|
| 166 |
-
model.model
|
| 167 |
# model = HfApiModel(
|
| 168 |
# model_id="meta-llama/Meta-Llama-3.1-8B-Instruct",
|
| 169 |
# token = os.getenv("bakery_multi_agents_hf_tokens_write")
|
|
|
|
| 163 |
model_id="unsloth/Llama-3.2-3B-Instruct-unsloth-bnb-4bit",
|
| 164 |
device_map="cuda"
|
| 165 |
)
|
| 166 |
+
model.model.to("cuda")
|
| 167 |
# model = HfApiModel(
|
| 168 |
# model_id="meta-llama/Meta-Llama-3.1-8B-Instruct",
|
| 169 |
# token = os.getenv("bakery_multi_agents_hf_tokens_write")
|