deepspeedai / deepspeedai/DeepSpeedExamples

how to use 'load_in_8bit=True' when train

Open
#494 3 comments 0 reactions 1 assignee View on GitHub

@samadejacobs is already working on this.

Since May 18, 2023.

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

Description

I want to train model llama-13b ,SFT stage,7b is ok when i use 8*24g(3090). but 13B is OOM. i have try all the ways in deepspeedchat to reduce memory,all OOM!
i want to try use 'load_in_8bit=True' when load model,but ERROR!
how to modify the code???

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.