John Ho commited on
Commit
c7e712e
·
1 Parent(s): c697b34

fixing issue with device map for the inputs

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -76,7 +76,7 @@ def load_model(
76
  def load_processor(model_name="Qwen/Qwen2.5-VL-7B-Instruct"):
77
  return AutoProcessor.from_pretrained(
78
  model_name,
79
- device_map=DEVICE,
80
  use_fast=True,
81
  torch_dtype=DTYPE,
82
  )
 
76
  def load_processor(model_name="Qwen/Qwen2.5-VL-7B-Instruct"):
77
  return AutoProcessor.from_pretrained(
78
  model_name,
79
+ # device_map=DEVICE,
80
  use_fast=True,
81
  torch_dtype=DTYPE,
82
  )