Move multimodal processors into a separate folder (#7581)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user