Unverified Commit 8d2cf38c authored by Lianmin Zheng's avatar Lianmin Zheng Committed by GitHub
Browse files

[Minor] Remove redundant print (#8005)

parent 2117f82d
...@@ -167,7 +167,6 @@ def get_generation_config( ...@@ -167,7 +167,6 @@ def get_generation_config(
model, trust_remote_code=trust_remote_code, revision=revision, **kwargs model, trust_remote_code=trust_remote_code, revision=revision, **kwargs
) )
except OSError as e: except OSError as e:
logging.info("model doesn't have generation_config.json")
return None return None
......
...@@ -569,8 +569,6 @@ class ParallelLMHead(VocabParallelEmbedding): ...@@ -569,8 +569,6 @@ class ParallelLMHead(VocabParallelEmbedding):
if _is_cpu and _is_cpu_amx_available: if _is_cpu and _is_cpu_amx_available:
if hasattr(self, "weight") and self.weight.dtype == torch.bfloat16: if hasattr(self, "weight") and self.weight.dtype == torch.bfloat16:
self.quant_method = PackWeightMethod(weight_names=["weight"]) self.quant_method = PackWeightMethod(weight_names=["weight"])
else:
logger.warning("The weight of LmHead is not packed")
if bias: if bias:
self.bias = Parameter( self.bias = Parameter(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment