[Core] Refactor model loading code (#4097)
This commit is contained in:
@@ -36,8 +36,6 @@ def test_auto_gptq(model_quant_type: str, ) -> None:
|
||||
model_path,
|
||||
tokenizer_mode="auto",
|
||||
trust_remote_code=False,
|
||||
download_dir=None,
|
||||
load_format="dummy",
|
||||
seed=0,
|
||||
dtype="float16",
|
||||
revision=None,
|
||||
@@ -49,8 +47,6 @@ def test_auto_gptq(model_quant_type: str, ) -> None:
|
||||
model_path,
|
||||
tokenizer_mode="auto",
|
||||
trust_remote_code=False,
|
||||
download_dir=None,
|
||||
load_format="dummy",
|
||||
seed=0,
|
||||
dtype="float16",
|
||||
revision=None,
|
||||
|
||||
Reference in New Issue
Block a user