pytorch changed a part of their dispatch API recently (see https://github.com/limbo018/DREAMPlace/pull/82) so some changes needed to be made in order to support torch==1.13 and thereby take advantage of newer CUDA gencodes. With these changes I can build in this env
(dreamplaceasic) mlevental@mlevental-CORSAIR-ONE-PRO-a200:~/dev_projects/DREAMPlace$ pip freeze
torch==1.13.0.dev20220812
torchaudio==0.13.0.dev20220812
torchtext==0.14.0.dev20220812
torchvision==0.14.0.dev20220812
(dreamplaceasic) mlevental@mlevental-CORSAIR-ONE-PRO-a200:~/dev_projects/DREAMPlace$ nvidia-smi
Fri Aug 12 17:06:44 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 515.65.01 Driver Version: 515.65.01 CUDA Version: 11.7 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... Off | 00000000:06:00.0 On | N/A |
| 0% 30C P8 35W / 320W | 961MiB / 10240MiB | 1% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 1463 G /usr/lib/xorg/Xorg 525MiB |
| 0 N/A N/A 1940 G ...ome-remote-desktop-daemon 3MiB |
| 0 N/A N/A 4683 G gnome-control-center 67MiB |
| 0 N/A N/A 166784 G /usr/bin/gnome-shell 142MiB |
| 0 N/A N/A 171137 G ...528177628034215241,131072 219MiB |
+-----------------------------------------------------------------------------+
pytorch changed a part of their dispatch API recently (see https://github.com/limbo018/DREAMPlace/pull/82) so some changes needed to be made in order to support
torch==1.13
and thereby take advantage of newer CUDA gencodes. With these changes I can build in this envand tests pass: