Re-quantize DeepSeek model weights to support DeepGEMM new input format (#7156)
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
# COPIED FROM DeepGEMM
|
||||
def align(x: int, y: int) -> int:
|
||||
return ceil_div(x, y) * y
|
||||
|
||||
|
||||
# COPIED FROM DeepGEMM
|
||||
def ceil_div(x: int, y: int) -> int:
|
||||
return (x + y - 1) // y
|
||||
Reference in New Issue
Block a user