FS#69020 - python-pytorch rebuild with cuda 11.2

Attached to Project: Community Packages
Opened by DarcyHu (DarcyHu) - Friday, 18 December 2020, 05:56 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Friday, 25 December 2020, 02:00 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Konstantin Gizdov (kgizdov)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
python-pytorch 1.7.1-1 is compiled with cuda 11.1, but cuda 11.2 is released. We need to rebuild python-pytorch with cuda 11.2.
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Friday, 25 December 2020, 02:00 GMT
Reason for closing:  Fixed
Comment by DarcyHu (DarcyHu) - Friday, 18 December 2020, 06:03 GMT
I got errors when building [apex](https://github.com/NVIDIA/apex)
```
in check_cuda_torch_binary_vs_bare_metal
raise RuntimeError("Cuda extensions are being compiled with a version of Cuda that does " +
RuntimeError: Cuda extensions are being compiled with a version of Cuda that does not match the version used to compile Pytorch binaries. Pytorch binaries were compiled with Cuda 11.1.
In some cases, a minor-version mismatch will not cause later errors: https://github.com/NVIDIA/apex/pull/323#discussion_r287021798. You can try commenting out this check (at your own risk).

```
Comment by Sven-Hendrik Haase (Svenstaro) - Saturday, 19 December 2020, 11:59 GMT
Weird. I did test this but pytorch can fine for me.
Comment by Sven-Hendrik Haase (Svenstaro) - Sunday, 20 December 2020, 04:08 GMT
Check 1.7.1-2 please.

Loading...