Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ from io import BytesIO
|
|
6 |
|
7 |
# Load the model and processor
|
8 |
repo_name = "cyan2k/molmo-7B-O-bnb-4bit"
|
9 |
-
arguments = {"device_map": "auto", "torch_dtype": "
|
10 |
|
11 |
# Load the processor and model
|
12 |
processor = AutoProcessor.from_pretrained(repo_name, **arguments)
|
|
|
6 |
|
7 |
# Load the model and processor
|
8 |
repo_name = "cyan2k/molmo-7B-O-bnb-4bit"
|
9 |
+
arguments = {"device_map": "auto", "torch_dtype": "float16", "trust_remote_code": True}
|
10 |
|
11 |
# Load the processor and model
|
12 |
processor = AutoProcessor.from_pretrained(repo_name, **arguments)
|