Update 1/model.py

This commit is contained in:
cheetahadmin 2025-11-24 02:00:14 +00:00
parent 1fd70e5a92
commit 7b4526f53a

@ -69,7 +69,7 @@ class TritonPythonModel:
try:
self.model = AutoModelForCausalLM.from_pretrained(
load_path,
torch_dtype=torch.float16,
torch_dtype="auto",
quantization_config=bnb_config,
device_map="auto",
local_files_only=True,