Skip to content

Commit 6d25dd7

Browse files
author
morelos
committed
Update on "[ET-VK] Migrate off of xnnpack_quantizer_utils"
# Context Eventually as the vulkan_quantizer file expands, we will need to migrate into a custom utils file and stop depending on the xnnpack_quantizer_utils. We migrate only the minimal amount of functions necessary to ensure the vulkan_quantizer works. # Changes We create a new file `vulkan_quantizer_utils.py` and migrate off of `xnnpack_quantizer_utils.py` in `vulkan_quantizer`. There are no specific modifications necessary to work separate from xnnpack utils except bits_to_range to allow not needing to specify the ranges everytime. Differential Revision: [D78290055](https://our.internmc.facebook.com/intern/diff/D78290055/) [ghstack-poisoned]
2 parents 0e647e1 + ce785b3 commit 6d25dd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backends/vulkan/quantizer/vulkan_quantizer_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
# pyre-strict
88

9-
from typing import Callable, Optional, Tuple
9+
from typing import Callable, Optional
1010

1111
import torch
1212
from torch.fx import Node

0 commit comments

Comments
 (0)