Skip to content
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

Does torch-directml support Conv3D? #663

Open
AdvancedHe opened this issue Nov 6, 2024 · 0 comments
Open

Does torch-directml support Conv3D? #663

AdvancedHe opened this issue Nov 6, 2024 · 0 comments

Comments

@AdvancedHe
Copy link

As shown in the tittle, does torch-directml support support Conv3D?
When I use Conv3D, it appears:

File "C:\Software\PythonIDE\Anaconda\envs\torch_directml\lib\site-packages\torch\nn\modules\conv.py", line 604, in _conv_forward
    return F.conv3d(
RuntimeError: input must be 4-dimensional

The input shape is: torch.Size([1, 320, 26, 40, 64]).

The code can run normally on the CUDA. But when I use torch-directml and set device = torch_directml.device(torch_directml.default_device())

It appears above error. I suspect this due to torch-directml can't support Conv3D operator.

How should I solve this problem?

Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant