deepspeedai / deepspeedai/DeepSpeed

Get full gradients in Deepspeed 0.6.0

Open
#4,917 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
43.1k
Forks
5k
Avg merge
4d 15h
Merged PRs (30d)
112

Description

Hi,

Is there a way to obtain the full gradient in Deepspeed 0.6.0? This version does not have the safe_full_get_grad function which was introduced in later versions but I was wondering if there is a some other way to obtain the full gradients in DS 0.6.0.

Any information on this would be appreciated!

Thanks.

@ShadenSmith could you kindly help with this issue?

Contributor guide

Open the contributing guide

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.

Research direction

No file, test, or entry point is identified. Start by checking the DeepSpeed 0.6.0 gradient APIs and the later safe_full_get_grad addition; done means documenting a supported way to obtain full gradients or confirming that the capability is unavailable in that release.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
distributed-systems, machine-learning
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.