[Minor] Remove redundant print (#8005)

This commit is contained in:
Lianmin Zheng
2025-07-14 10:55:13 -07:00
committed by GitHub
parent 2117f82def
commit 8d2cf38c79
2 changed files with 0 additions and 3 deletions

View File

@@ -167,7 +167,6 @@ def get_generation_config(
model, trust_remote_code=trust_remote_code, revision=revision, **kwargs
)
except OSError as e:
logging.info("model doesn't have generation_config.json")
return None

View File

@@ -569,8 +569,6 @@ class ParallelLMHead(VocabParallelEmbedding):
if _is_cpu and _is_cpu_amx_available:
if hasattr(self, "weight") and self.weight.dtype == torch.bfloat16:
self.quant_method = PackWeightMethod(weight_names=["weight"])
else:
logger.warning("The weight of LmHead is not packed")
if bias:
self.bias = Parameter(