Comments (3)
I met the same error.Check your log ,do you import fast_jl successfully? If it prints "Use basic projector " then fast_jl didn't import actually.When generating eval_grads, cuda number 0 was used, and the model&dataloader preempted the graphics memory, resulting in an OOM error during loss calculation.You may move the grads to another available in collect_grad_reps.py;
from less.
I met the same error.Check your log ,do you import fast_jl successfully? If it prints "Use basic projector " then fast_jl didn't import actually.When generating eval_grads, cuda number 0 was used, and the model&dataloader preempted the graphics memory, resulting in an OOM error during loss calculation.You may move the grads to another available in collect_grad_reps.py;
Thanks. After using the CUDA projector, there are no more OOM issues
from less.
@Haruka1307 Have you ever fixed this issue before OOM in step 3.1 ? #19 (comment)
Your solution doesn't work in this situation. Any advice for this?
from less.
Related Issues (20)
- FileNotFoundError: optimizer.bin and KeyError: 'base_model.model.model.layers.0.self_attn.q_proj.lora_A.default.weight' HOT 2
- Question about accuracy HOT 1
- Step 2: Building the gradient datastore: FileNotFoundError: [Errno 2] No such file or directory: '../out/llama2-7b-p0.05-lora-seed3/checkpoint-1688/optimizer.bin' HOT 3
- some question about calulate socre? HOT 1
- a small mistake in the code HOT 3
- Error with fast_jl HOT 1
- Error while deserializing header: InvalidHeaderDeserialization
- No optimizer.bin in Step 2 HOT 3
- RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:6 and cuda:0! HOT 3
- Questions about the influence value HOT 1
- At step1, single GPU works while multiple GPUs get stuck.
- Question about influence scoring (regarding cosine-similarity) HOT 2
- Discrepancy in Model Performance When Reproducing Experiment
- A concerned question about adding a new baseline. HOT 2
- step 2 when run "/get_train_lora_grads.sh", load the optimizer.pt error is happend HOT 19
- Are samples used for warmup training and gradient calculation the same? HOT 1
- data selection results HOT 2
- Using Multiple GPUs HOT 3
- Question about running stage 3 script HOT 3
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 less.