You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "C:\devel\Python\_\Real-ESRGAN\main.py", line 24, in <module>
main()
File "C:\devel\Python\_\Real-ESRGAN\main.py", line 15, in main
sr_image = model.predict(image)
^^^^^^^^^^^^^^^^^^^^
File "C:\devel\Python\_\Real-ESRGAN\Lib\site-packages\torch\amp\autocast_mode.py", line 44, in decorate_autocastreturn func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "C:\devel\Python\_\Real-ESRGAN\RealESRGAN\model.py", line 72, in predict
res =self.model(img[0:batch_size])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\devel\Python\_\Real-ESRGAN\Lib\site-packages\torch\nn\modules\module.py", line 1736, in _wrapped_call_implreturnself._call_impl(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\devel\Python\_\Real-ESRGAN\Lib\site-packages\torch\nn\modules\module.py", line 1747, in _call_implreturn forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\devel\Python\_\Real-ESRGAN\RealESRGAN\rrdbnet_arch.py", line 112, in forward
feat =self.conv_first(feat)
^^^^^^^^^^^^^^^^^^^^^
File "C:\devel\Python\_\Real-ESRGAN\Lib\site-packages\torch\nn\modules\module.py", line 1736, in _wrapped_call_implreturnself._call_impl(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\devel\Python\_\Real-ESRGAN\Lib\site-packages\torch\nn\modules\module.py", line 1747, in _call_implreturn forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\devel\Python\_\Real-ESRGAN\Lib\site-packages\torch\nn\modules\conv.py", line 554, in forwardreturnself._conv_forward(input, self.weight, self.bias)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\devel\Python\_\Real-ESRGAN\Lib\site-packages\torch\nn\modules\conv.py", line 549, in _conv_forwardreturn F.conv2d(
^^^^^^^^^RuntimeError: CUDA error: operation not supported
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1
Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
I have tried replacing nvrtc.dll, cublas.dll, and cusparse.dll in torch=2.5.1+cu124 with their ZLUDA counterparts.
I am running a 6950XT.
I am running Python 3.12.7.
I have installed ROCm 6.2, and added the bin folder to my PATH.
Is this my doing, or is conv2d truly not supported in ZLUDA? If it is unsupported, is there an alternative I can implement to get the same effect?
The text was updated successfully, but these errors were encountered:
I am trying to use ZLUDA in order to run PyTorch Real-ESRGAN. Upon running
main.py
:inside of the following .bat file:
I am met with the following traceback:
I have tried replacing
nvrtc.dll
,cublas.dll
, andcusparse.dll
intorch=2.5.1+cu124
with their ZLUDA counterparts.I am running a 6950XT.
I am running Python 3.12.7.
I have installed ROCm 6.2, and added the
bin
folder to myPATH
.Is this my doing, or is
conv2d
truly not supported in ZLUDA? If it is unsupported, is there an alternative I can implement to get the same effect?The text was updated successfully, but these errors were encountered: