Skip to content

[Windows] TorchRuntimeError from TabDPT #261

@umdsgy

Description

@umdsgy

I have installed autugluon and tabarena following the github guidelines, and found the torch is the cpu version and can successfully run TabDPT regression. Then I uninstalled the original torch and installed the same version torch with cuda 128. Then I met this torchruntimeerror from TabDPT:

torch._dynamo.exc.TorchRuntimeError: Dynamo failed to run FX node with fake tensors: call_function (*(FakeTensor(..., device='cuda:0', size=(1, 8, 15340, 96)), FakeTensor(..., device='cuda:0', size=(1, 8, 1600, 96)), FakeTensor(..., device='cuda:0', size=(1, 8, 1600, 96), dtype=torch.bfloat16)), **{}): got RuntimeError('No available kernel. Aborting execution.')

from user code:
File "C:\Users\GS\PycharmProjects\SOC.venv\Lib\site-packages\tabdpt\utils.py", line 29, in wrapper
return func(self, *args, **kwargs)
File "C:\Users\GS\PycharmProjects\SOC.venv\Lib\site-packages\tabdpt\model.py", line 74, in forward
src = layer(src, eval_pos)
File "C:\Users\GS\PycharmProjects\SOC.venv\Lib\site-packages\tabdpt\model.py", line 137, in forward
attn = F.scaled_dot_product_attention(q, k, v).transpose(1, 2)

[W302 00:58:03.000000000 AllocatorConfig.cpp:28] Warning: PYTORCH_CUDA_ALLOC_CONF is deprecated, use PYTORCH_ALLOC_CONF instead (function operator ())

Here is my cuda info:

+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 591.86 Driver Version: 591.86 CUDA Version: 13.1 |
+-----------------------------------------+------------------------+----------------------+
| GPU Name Driver-Model | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+========================+======================|
| 0 NVIDIA GeForce RTX 5080 WDDM | 00000000:01:00.0 On | N/A |
| 0% 37C P0 47W / 360W | 843MiB / 16303MiB | 0% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+

Is there anyone who knows how to address this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions