[CPU] remove RECORD_FUNCTION (#23528)

This commit is contained in:
Ma Mingfei
2026-04-24 09:18:29 +08:00
committed by GitHub
parent 87e50f20f6
commit 23e4d381f0
21 changed files with 0 additions and 106 deletions
-2
View File
@@ -282,8 +282,6 @@ std::tuple<at::Tensor, at::Tensor> image_preprocess_cpu(
int64_t merge_size,
bool disable_grouping,
at::ScalarType out_dtype) {
RECORD_FUNCTION("sgl_kernel::image_preprocess_cpu", std::vector<c10::IValue>({}));
// TODO: lift C++ kernel limitations
TORCH_CHECK(interpolation == "bicubic", "image_preprocess_cpu: support only bicubic mode.");
TORCH_CHECK(do_rescale && do_normalize, "image_preprocess_cpu: support only do_rescale and do_normalize.");