MCPcopy Create free account
hub / github.com/OpenBitSys/BitDistiller / make_divisible

Function make_divisible

quantization/qmodule.py:12–13  ·  view source on GitHub ↗
(c, divisor)

Source from the content-addressed store, hash-verified

10 USE_TRITON = False
11
12def make_divisible(c, divisor):
13 return (c + divisor - 1) // divisor
14
15
16def calculate_zeros_width(in_features, group_size=128, pack_num=8):

Callers 1

calculate_zeros_widthFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected