Comments (8)
这个我问过transformers那边了,说目前deepspeed不支持4bit/8bit训练,所以目前只能ddp,zero optimization应该都是不行的
from firefly.
还有就是,readme里面qlora的训练命令使用的是train.py,这个是不是写错了,应该用train_qlora.py?
from firefly.
感谢提醒,确实应该是train_qlora.py,已经修复了。
目前还未尝试deepspeed+qlora,我们会进行尝试,看是否可行。
from firefly.
蹲~deepspeed多卡+qlora
from firefly.
我看requirements里包含deepspeed,是不是可以不安装?Windows下安装失败。
from firefly.
目前qlora暂时不能结合deepspeed训练,需要用torchrun启动脚本
from firefly.
这个我问过transformers那边了,说目前deepspeed不支持4bit/8bit训练,所以目前只能ddp,zero optimization应该都是不行的
在哪问的。链接发一下可以吗
from firefly.
目前qlora暂时不能结合deepspeed训练,需要用torchrun启动脚本
torchrun启动脚本指的是什么?
from firefly.
Related Issues (20)
- NameError: name 'FastLanguageModel' is not defined
- 使用Unsloth反而OOM了是为什么呢? HOT 2
- 为什么llama2的template中没有bos_token
- Qwen2-7b lora
- ValueError: You can't train a model that has been loaded in 8-bit precision on a different device than the one you're training on. HOT 1
- 请问支持codestral微调和部署吗?
- Qwen2-7B-Instruct 训练loss 0 或推理 probability tensor contains either `inf`, `nan` or element < 0 HOT 6
- qwen2-7b lora loss为0 HOT 1
- expected string or bytes-like object
- 可以支持 llava 微调吗?
- 有计划支持deepseek-coder-v2-lite的微调吗
- 现在是否支持微调后大模型的单机多卡推理。
- DPO的训练能否像SFT一样mask掉user,只计算assistant的loss HOT 2
- 微调Qwen2-1.5B-Instruct,loss始终是0 HOT 7
- 目前unsloth是不是不支持qwen2-moe结构?
- 训练baichuan-13B qlora, 发现loss查看为空,怎么解决
- 关于蒸馏训练的代码 HOT 2
- 请问我运行“python train.py --train_args_file train_args/sft/qlora/baichuan-7b-sft-qlora.json”指令,为什么报一下错误呀? HOT 1
- 有支持internvl 的计划么?
- category 这个字段在推理的时候怎么用
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firefly.