zamal commited on
Commit
7ba17c1
·
verified ·
1 Parent(s): b9da61a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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": "float32", "trust_remote_code": True}
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)