You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, there. I'm working on using pipeline parallelism in DeepSpeed with models in transformers (like llama or mistral). I found that the pipeline engine in DeepSpeed only supports send/receive tensor between layers. While the output of transformers model's layer is a tuple of tensor.
How can I use pipeline parallelism with huggingface models? Is there any elegant way to apply patches?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, there. I'm working on using pipeline parallelism in DeepSpeed with models in transformers (like llama or mistral). I found that the
pipeline engine
in DeepSpeed only supports send/receive tensor between layers. While the output of transformers model's layer is a tuple of tensor.How can I use pipeline parallelism with huggingface models? Is there any elegant way to apply patches?
Thanks for any suggestions.
Beta Was this translation helpful? Give feedback.
All reactions