deepspeedai / deepspeedai/DeepSpeed

Simple Example for Single-GPU Simple Model Training & Stand-Alone DeepSpeedCPUAdam

Open
#685 1 comment 2 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

First of all, thanks for such an amazing project. I am interested in using the ZeRO-Offload training functionality due to its speed and memory advantages. I have managed to get it work using the examples in the tutorial but I was only able to fit the half of my original batch-size. I will later follow-up with my code snippet and configuration details to see what I have done wrong.

(1) It would be great if there was a simple model training without multi-gpu or complex language models or GANs.
(2) It would be great if there could be away of directly using DeepSpeedCPUAdam as a stand-alone optimizer; if that is sufficient to get those speed and memory advantages on single-gpu model training.

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

The issue points to the ZeRO-Offload tutorial examples and DeepSpeedCPUAdam; start by reviewing those examples and the optimizer's current usage. Done would mean a simple single-GPU model-training example without multi-GPU or complex models, plus a documented way to use DeepSpeedCPUAdam standalone; follow-up configuration details may still be needed.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.