Move multimodal processors into a separate folder (#7581)

This commit is contained in:
Lianmin Zheng
2025-06-27 11:58:24 -07:00
committed by GitHub
parent 41650b0d70
commit ce3a3e8783
29 changed files with 63 additions and 84 deletions

View File

@@ -2577,3 +2577,13 @@ def configure_gc_logger():
)
gc.callbacks.append(gc_callback)
# 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