Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion backends/vulkan/op_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -778,6 +778,9 @@ def register_q8ta_conv_pw_op():
utils.NO_STORAGE, # groups (non tensor)
utils.NO_STORAGE, # original OC count (non tensor)
],
outputs_storage=[
utils.PACKED_INT8_CHANNELS_PACKED_BUFFER,
],
supports_resize=False,
supports_prepacking=True,
)
Expand All @@ -792,7 +795,7 @@ def register_q8ta_conv_pw_op():
def register_q8ta_conv2d_ops():
return OpFeatures(
inputs_storage=[
utils.PACKED_INT8_4W4C_BUFFER, # input
utils.PACKED_INT8_4C1W_BUFFER, # input
utils.NO_STORAGE, # input_scale (non tensor)
utils.NO_STORAGE, # input_zero_point (non tensor)
utils.NO_STORAGE, # weight (prepacked)
Expand All @@ -808,6 +811,9 @@ def register_q8ta_conv2d_ops():
utils.NO_STORAGE, # groups (non tensor)
utils.NO_STORAGE, # original OC count (non tensor)
],
outputs_storage=[
utils.PACKED_INT8_CHANNELS_PACKED_BUFFER,
],
supports_resize=False,
supports_prepacking=True,
)
Expand Down