Skip to content

Conversation

@vfdev-5
Copy link
Contributor

@vfdev-5 vfdev-5 commented Feb 15, 2023

Description:

Context: #7217

Benchmarks:

[-- Resize cpu torch.uint8 InterpolationMode.NEAREST -]
                         |  resize v2  |  resize stable
1 threads: --------------------------------------------
      (3, 400, 400)      |      462    |        492
      (16, 3, 400, 400)  |     6870    |      10100

Times are in microseconds (us).

[- Resize cpu torch.uint8 InterpolationMode.BILINEAR -]
                         |  resize v2  |  resize stable
1 threads: --------------------------------------------
      (3, 400, 400)      |      330    |        853
      (16, 3, 400, 400)  |     4480    |      14900

Times are in microseconds (us).

[-- Resize cpu torch.uint8 InterpolationMode.BICUBIC -]
                         |  resize v2  |  resize stable
1 threads: --------------------------------------------
      (3, 400, 400)      |      1.7    |        1.7
      (16, 3, 400, 400)  |     28.6    |       28.7

Times are in milliseconds (ms).

Source

@vfdev-5 vfdev-5 marked this pull request as draft February 16, 2023 11:37
@vfdev-5 vfdev-5 closed this Feb 16, 2023
@vfdev-5 vfdev-5 reopened this Feb 16, 2023
@vfdev-5 vfdev-5 force-pushed the proto-resize-uint8-native-support branch 5 times, most recently from 2f4ffec to d00d8d4 Compare February 16, 2023 14:06
@vfdev-5 vfdev-5 force-pushed the proto-resize-uint8-native-support branch from d00d8d4 to 7c50a59 Compare February 16, 2023 14:12
@vfdev-5
Copy link
Contributor Author

vfdev-5 commented May 4, 2023

Closing in favor of #7557

@vfdev-5 vfdev-5 closed this May 4, 2023
@vfdev-5 vfdev-5 deleted the proto-resize-uint8-native-support branch May 4, 2023 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants