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

Operator aten::upsample_bicubic2d.out #596

Closed
DeruVN opened this issue Jun 17, 2024 · 1 comment
Closed

Operator aten::upsample_bicubic2d.out #596

DeruVN opened this issue Jun 17, 2024 · 1 comment

Comments

@DeruVN
Copy link

DeruVN commented Jun 17, 2024

Thank you for supporting on aten::softplus.out, error on that operator has gone, but another show up!
aten::upsample_bicubic2d.out.
I'm still trying to use GPU Radeon 6800 on ZoeDepth model, use DirectML, until it works.

Full error message:

C:\Users[USER]\anaconda3\envs\zoe\lib\site-packages\torch\nn\functional.py:4073: UserWarning: The operator 'aten::upsample_bicubic2d.out' is not currently supported on the DML backend and will fall back to run on the CPU. This may have performance implications. (Triggered internally at C:__w\1\s\pytorch-directml-plugin\torch_directml\csrc\dml\dml_cpu_fallback.cpp:17.)
return torch._C._nn.upsample_bicubic2d(input, output_size, align_corners, scale_factors)
Traceback (most recent call last):

Line 187, in
compiled_tiles[x:x+M, y:y+N] += selected_filter * (np.mean(low_res_scaled_depth[x:x+M, y:y+N]) + np.std(low_res_scaled_depth[x:x+M, y:y+N]) * ((scaled_depth - np.mean(scaled_depth)) / np.std(scaled_depth)))
ValueError: operands could not be broadcast together with shapes (457,365) (447,375)

@joshjkim
Copy link

@DeruVN Our latest torch_directml 0.2.4.dev240815 release adds operator support for upsample_bicubic2d. Please run pip install torch-directml --upgrade to update to the latest build

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

2 participants