correct access to "args" dictionary
This commit is contained in:
+2
-2
@@ -147,8 +147,8 @@ def get_engine_args():
|
|||||||
# Rename and match to vllm args
|
# Rename and match to vllm args
|
||||||
args = match_vllm_args(args)
|
args = match_vllm_args(args)
|
||||||
|
|
||||||
if args.load_format=="bitsandbytes":
|
if args.get("load_format") == "bitsandbytes":
|
||||||
args.quantization = args.load_format
|
args["quantization"] = args["load_format"]
|
||||||
|
|
||||||
# Set tensor parallel size and max parallel loading workers if more than 1 GPU is available
|
# Set tensor parallel size and max parallel loading workers if more than 1 GPU is available
|
||||||
num_gpus = device_count()
|
num_gpus = device_count()
|
||||||
|
|||||||
Reference in New Issue
Block a user