[Minor] Remove redundant print (#8005)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user