deepspeedai / deepspeedai/DeepSpeedExamples

is Deepspeed-Chat support tensor parallelism for Codegen

Open
#431 0 comments 0 reactions 1 assignee View on GitHub

@cmikeh2 is already working on this.

Since May 1, 2023.

deespeed chat question
Dominant language
Python
Stars
6.8k
Forks
1.1k
Avg merge
2d 16h
Merged PRs (30d)
1

Description

Hello,

I notice that DeepSpeed-Chat claims Codegen is supported up to 16B, but from previous issues https://github.com/microsoft/DeepSpeed/issues/3106
and from an earlier discussion at MII, https://github.com/microsoft/DeepSpeed-MII/issues/133

I also got the similar message that DeepSpeed not yet supports tensor parallelism for CodeGen

for example "@Emerald01 The reason you are not seeing memory savings is because DeepSpeed-inference does not support automatic kernel injection with Codegen models at this time. Without the DeepSpeed kernels, we do not shard the model across GPUs. If you were to test with a model where we do support automatic injection (e.g., gpt2), you would see the memory per GPU is reduced."

I think DeepSpeed seems not support tensor parallelism for CodeGen, then the ZeRO stage cannot use 3 to split model across the node so far, am I right?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.