liudongqing commited on
Commit
d398fa0
·
1 Parent(s): 1687073

try other model

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ model_id = "unsloth/Llama-3.2-11B-Vision"
15
 
16
  model = AutoModelForImageTextToText.from_pretrained(
17
  model_id,
18
- # torch_dtype=torch.bfloat16,
19
  # device_map="auto",
20
  )
21
  processor = AutoProcessor.from_pretrained(model_id)
 
15
 
16
  model = AutoModelForImageTextToText.from_pretrained(
17
  model_id,
18
+ torch_dtype=torch.bfloat16,
19
  # device_map="auto",
20
  )
21
  processor = AutoProcessor.from_pretrained(model_id)
requirements.txt CHANGED
@@ -1,4 +1,4 @@
1
  torch==2.4.0
2
- transformers==4.45.0
3
  accelerate>=0.26.0
4
  zipnn==0.3.4
 
1
  torch==2.4.0
2
+ transformers==4.46.2
3
  accelerate>=0.26.0
4
  zipnn==0.3.4