Unverified Commit 901ab758 authored by Yineng Zhang's avatar Yineng Zhang Committed by GitHub
Browse files

chore: upgrade transformers 4.55.0 (#8823)


Co-authored-by: default avatarhebiao064 <hebiaobuaa@gmail.com>
parent 8e8545ca
......@@ -45,7 +45,7 @@ runtime_common = [
"soundfile==0.13.1",
"scipy",
"torchao==0.9.0",
"transformers==4.54.1",
"transformers==4.55.0",
"timm==1.0.16",
"uvicorn",
"uvloop",
......
......@@ -219,7 +219,7 @@ class TransformersForCausalLM(nn.Module):
f"{type(self.model)} does not support tensor parallel yet!"
)
tp_plan = self.model._tp_plan
tp_plan = getattr(self.model.config, "base_model_tp_plan", None) or {}
def _tensor_parallel(module: nn.Module, prefix: str = ""):
for child_name, child_module in module.named_children():
......
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