Does Apex really support PyTorch 0.4.1?
See original GitHub issueIn Readme.md it says:
PyTorch 0.4 or newer.
But sample code examples/simple/distributed goes down with error AttributeError: 'Linear' object has no attribute 'named_buffers'
, because named_buffers
method of torch.Module was introduced after 0.4.1 version.
Is there any build, that supports pytorch 0.4.1? If not, at least maybe the readme.md should be changed?
P.S.: I’m using apex with CUDA and C++ libraries, installed with command pip install -v --no-cache-dir .
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (1 by maintainers)
Top Results From Across the Web
Unofficial pytorch 0.4 support - Part 1 (2018) - Fast.ai forums
Please help me install Pytorch 0.4.1 correctly. Hello coders. I would like to experiment with the pure Pytorch version of the movielens ...
Read more >Cuda not compatible with PyTorch installation error while ...
A100-SXM4-40GB with CUDA capability sm_80 is not compatible with the current PyTorch installation. The current PyTorch install supports CUDA ...
Read more >cudaCheckError() failed: PyTorch 0.4 and CUDA11
When the code tries to utilize GPU it hits “cudaCheckError() failed : no kernel image is available for execution on the device” error....
Read more >timm - PyPI
So, beware pip install git+https://github.com/rwightman/pytorch-image-models installs! 0.5.x releases and a 0.5.x branch will remain stable with a cherry pick ...
Read more >Changelog — PyTorch Lightning 1.8.5.post0 documentation
Added native AMP support for ddp_fork (and associated alias strategies) with ... When resuming training with Apex enabled, the Trainer will now raise...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@ptrblck The code runs fine without
amp
.I’m hoping to find some time during this month to localize and summarize the issues for you.
@WrathOfGrapes is the
IllegalMemoryAccess
error only thrown if you are usingamp
or always using your code in PyTorch 1.1 on a GPU? In the latter case, you could try to run your code usingand check, e.g. if no values are out of bounds.
In the former case, we would need to reproduce this issue in order to debug it, so let us know, if you find some time for debugging and we’ll have a look at it.