Comments (1)
Hi @yuanyaaa! Sorry for the late reply 😞. I can't reproduce this behaviour with this config accelerate launch --config_file configs/accelerate/zero2-bf16.yaml
.
https://wandb.ai/carperai/trlx/reports/Memory-occupy-with-multi-GPUs-Training-548---Vmlldzo1MjUzMjMy
Also consider using ZeRO3 if you want to save more memory, or else you may want to lower these options in the config https://github.com/CarperAI/trlx#configure-hyperparameters
from trlx.
Related Issues (20)
- RuntimeError: module must have its parameters and buffers on device HOT 4
- Unable to load the trained model to do the inference HOT 8
- Unable to load and run inference on finetuned Alpaca model HOT 7
- Increasing max new tokens for generation arguments lead to errors HOT 3
- How to train LLaMA2 on the summarize_rlhf example?
- How to generate reward-labeled dataset
- `position_ids` error in accelerate PPO trainer HOT 3
- Question about saving peft checkpoint HOT 2
- Problem with LLama training with LoRA HOT 3
- TypeError: reward_fn() got an unexpected keyword argument 'tokenizer' HOT 1
- multigpu support for summarization ppo example HOT 3
- Support parallel reward_fn in PPO training
- resume_from_checkpoint doesn't work HOT 1
- Issue since most recent transformers update HOT 1
- Multi-GPU training errors with peft HOT 1
- Attention mask when calculating log ratio for PPO
- when i use trlx ppotrainer train a model llama 13b model, but saved huggingface mode ,but when it inference , it has some strange keys ,and the inference result did not show ,it also have no error , it seems the result disapper HOT 1
- MPT is not working
- Runtime error when running examples (ilql_sentiments_t5.py) HOT 2
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 trlx.