Marcin-XStudio commited on
Commit
a943bdd
·
1 Parent(s): 9119bed

delete parameter no_split_module_classes

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -78,7 +78,7 @@ def load_model():
78
  torch_dtype=dtype,
79
  trust_remote_code=True,
80
  # quantization_config=bnb_config,
81
- no_split_module_classes=["Block"],
82
  device_map="auto"
83
  ).to(device).eval()
84
  # tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True)
 
78
  torch_dtype=dtype,
79
  trust_remote_code=True,
80
  # quantization_config=bnb_config,
81
+ # no_split_module_classes=["Block"],
82
  device_map="auto"
83
  ).to(device).eval()
84
  # tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True)