KevinQHLin commited on
Commit
1459106
·
verified ·
1 Parent(s): bb6012f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -54,7 +54,7 @@ for file in files:
54
  model = Qwen2VLForConditionalGeneration.from_pretrained(
55
  destination_folder,
56
  torch_dtype=torch.bfloat16,
57
- # device_map="cpu",
58
  attn_implementation = "flash_attention_2",
59
  )
60
 
 
54
  model = Qwen2VLForConditionalGeneration.from_pretrained(
55
  destination_folder,
56
  torch_dtype=torch.bfloat16,
57
+ device_map="cpu",
58
  attn_implementation = "flash_attention_2",
59
  )
60