Comments (4)
Hi,thanks for your attention.
maybe you could fork our code for your multi-gpu training.
from followyourpose.
Thanks for your reply. I tried your code on my dataset and train loop. I encounter the same problem as using Tune-A-Video codebase multi-gpu training:
RuntimeError: Expected to have finished reduction in the prior iteration before starting a new one. This error indicates that your module has parameters that were not used in producing loss. You can enable unused parameter detection by passing the keyword argument `find_unused_parameters=True` to `torch.nn.parallel.DistributedDataParallel`, and by making sure all `forward` function outputs participate in calculating loss.
If you already have done the above, then the distributed data parallel module wasn't able to locate the output tensors in the return value of your module's
`forward` function. Please include the loss function and the structure of the return value of `forward` of your module when reporting this issue (e.g. list, dict, iterable).
Parameter indices which did not receive grad for rank 1: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
In addition, you can set the environment variable TORCH_DISTRIBUTED_DEBUG to either INFO or DETAIL to print out information about which particular paramet
ers did not receive gradient on this rank as part of this error
I really appreciate it if you could tell me how do u fix the multi-gpu training problem in Tune-A-Video.
from followyourpose.
maybe try to set gradient_checkpointing: False in here
from followyourpose.
Oh, it works now! Thanks!
from followyourpose.
Related Issues (20)
- No such file or directory: 'Your dataset path/caption_rm2048_train.csv' #26 HOT 1
- No such file or directory: 'Your dataset path/caption_rm2048_train.csv' #26 HOT 1
- No such file or directory: 'Your dataset path/caption_rm2048_train.csv' #26 HOT 1
- RuntimeError: No such operator xformers::efficient_attention_forward_cutlass - did you forget to build xformers with `python setup.py develop`? HOT 3
- How to obtain the pose video? Could you please give the implement details of mmpose and HRNet? HOT 1
- Training Code HOT 3
- Plan to support new version of diffusers? HOT 1
- No such file or directory: 'Your dataset path/caption_rm2048_train.csv' HOT 2
- No such file or directory: 'Your dataset path/caption_rm2048_train.csv' HOT 1
- dataset HOT 1
- Is Tesla T4 usable in Colab? HOT 1
- how to enhance the generation quality? HOT 2
- when to release the whole training code and data HOT 7
- pose video HOT 13
- mmpose TypeError: wrapper() got an unexpected keyword argument 'fn_index' HOT 1
- The web paper shows examples of poses, but they all seemsm to be about "dancing"? HOT 1
- HuggingFace Demo not working and showing an error
- how could I optimize the inference process? HOT 1
- Cannot connect to the server
- Dataset
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 followyourpose.