Comments (9)
Hi @lzmisscc, could you clarify what you mean by that? Are you referring to the function calls required, your training loss not going down, or something else?
Thanks!
from contiguous_pytorch_params.
I use the usage method in the readme to call the function but there is no time reduction and run my program in a four GPUs environment.
Python 3.8.10
torch 1.6.0
from contiguous_pytorch_params.
Could you check the GPU usage? Maybe the job is input bound which hides the speedup? Also, how big is your model? I.e., how many paramter tensors does it contain?
from contiguous_pytorch_params.
Model Paramter:
Total params: 1,642,048
Trainable params: 1,642,048
Non-trainable params: 0
Input size (MB): 0.73
Forward/backward pass size (MB): 1430.98
Params size (MB): 6.26
Estimated Total Size (MB): 1437.98
and the GPU usage not much change before, the input size is (96, 1000)
from contiguous_pytorch_params.
What's the GPU usage percentage given by nvidia-smi
?
from contiguous_pytorch_params.
What's the GPU usage percentage given by
nvidia-smi
?
from contiguous_pytorch_params.
This looks like your job is input/CPU bound, so the GPU is idle 70% of the time anyway. To see a speed up with contiguous params, you'd need to get GPU utilization closer to 100% first.
from contiguous_pytorch_params.
ok, thanks!👍🏻
from contiguous_pytorch_params.
I'll close this for now, feel free to re-open if this is still an issue when GPU usage is close to 100%.
from contiguous_pytorch_params.
Related Issues (7)
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 contiguous_pytorch_params.