-
Notifications
You must be signed in to change notification settings - Fork 572
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PyTorch 1.9 and CUDA 11.1 Support #324
Comments
Well,this error is not hard to solve. I tried this link: |
Well if you can't read the Chinese blog I mentioned before, just do this: |
the two tabs are before the two sentences following with sentence.The web page can't show them. |
@ed-muthiah |
Thanks @Jack-Hu-2001 This works for me 🙂 I also want to note that this solution works too: The reason that
I think your solution is probably the more recent way to do it. Are you using the supplied |
That's a pretty good solution, thanks for sharing! I did't use it for it's PyTorch1.8.1in my environment,highest supported on remote server. So I'm simply using the mishcuda. If there's any problem with m =nn.Mish(), you can share it here. |
Hello,
I'm looking to use this repository on PyTorch 1.9 and CUDA 11.1 as I'm trying use an RTX3090 for training.
I've tried the following combinations:
pip3 install torch==1.9.0+cu111 torchvision==0.10.0+cu111 torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_stable.html
pip3 install torch==1.8.2+cu111 torchvision==0.9.2+cu111 torchaudio==0.8.2 -f https://download.pytorch.org/whl/lts/1.8/torch_lts.html
But I get the following error when running train.py:
![image](https://user-images.githubusercontent.com/59877549/131224658-fb1527a1-e80e-4bac-b7af-7150b88807b2.png)
I have reviewed the following:
#243
#196
#193
#191
#271
All of them suggest downgrading, which is not possible for a RTX3090.
I'm happy to contribute but don't really understand what's causing the incompatibility with the above torch versions. Using PyTorch 1.9 Mish I've tried to change all mentions of
self.act = Mish()
toself.act= nn.Mish(inplace=False)
in the/models/common.py
file. However, this still throws the same error.Thanks! @WongKinYiu @digantamisra98
The text was updated successfully, but these errors were encountered: