pytorch
2bca64ae - [Vulkan] Merge upsample_nearest2d and quantized_upsample_nearest2d (#97467)

Commit
1 year ago
[Vulkan] Merge upsample_nearest2d and quantized_upsample_nearest2d (#97467) Summary: Merging quantized_upsample_nearest2d into upsample_nearest2d. Therefore, at::upsample_nearest2d can handle quantized vulkan input tensors. Test Plan: On Mac ``` cd ~/fbsource buck1 run -c pt.vulkan_full_precision=1 //xplat/caffe2:pt_vulkan_quantized_api_test_binAppleMac\#macosx-arm64 ``` On Android ``` cd ~/fbsource buck1 build -c ndk.custom_libcxx=false -c pt.enable_qpl=0 -c pt.vulkan_full_precision=1 //xplat/caffe2:pt_vulkan_quantized_api_test_binAndroid\#android-arm64 --show-output adb push buck-out/gen/xplat/caffe2/pt_vulkan_quantized_api_test_binAndroid\#android-arm64 /data/local/tmp/vulkan_quantized_api_test adb shell "/data/local/tmp/vulkan_quantized_api_test" ``` Reviewed By: SS-JIA Differential Revision: D44118212 Pull Request resolved: https://github.com/pytorch/pytorch/pull/97467 Approved by: https://github.com/SS-JIA
Committer
Parents
Loading