Comments (3)
I encountered the same issue. Is there a way to reduce memory usage by modifying the code? thx
from trl.
Try setting gradient checkpointing to True, or you could use unsloth for much memory efficient fine tuning
from trl.
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.
from trl.
Related Issues (20)
- [DOCS] Some headers (h2, h3) not rendered properly
- DPODataCollatorWithPadding doesn't mask the prompts
- [BUG] TRL CLI not capturing `torch_dtype` correctly HOT 1
- Question about apply_chat_template in examples HOT 7
- Misuse of gen_len in examples/notebooks/gpt2-sentiment.ipynb
- DataCollatorForCompletionOnlyLM does not work with FSDP
- PPOv2 trainer, the wandb log is unnormal HOT 8
- What is the difference between PPOv2Trainer and PPOTrainer? HOT 1
- Using IterableDataset crashed the SFTTrainer
- Neftune is applied twice; in trl and transformers BOTH! HOT 1
- SFTTrainer device error even though it doesn't take device as an argument
- Can bert be used for dpo training?
- Want to use zero3 to train KTO and met error HOT 1
- DDPO trained model error when used to generate images HOT 1
- Getting "KeyError: None" when passing conversational dataset HOT 1
- The DPO 'grad_norm': 0.0,
- Conflict in start index under `batched_forward_pass`
- Clarification on reward/value heads in PPOV2 HOT 3
- Supports of SFTTrainer / PPOTrainer / DPOTrainer for LLaVA-alike model HOT 5
- Error with SFT of LLaVA-Next 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 trl.