[ROCm][CI] Mirror the DSv4-Flash disaggregated DP EP group on MI355 (#58558)
Signed-off-by: Stefan Koncarevic <Stefan.Koncarevic@amd.com> Co-authored-by: Andreas Karatzas <akaratza@amd.com>
This commit is contained in:
co-authored by
Andreas Karatzas
parent
f6aa2919bc
commit
9ac3b7c69f
@@ -412,8 +412,8 @@ def allocate_kv_cache(
|
||||
warmup_rocm_skinny_gemm_workspaces(device)
|
||||
# Pad to the page granularity MoRIIO needs to register the shared
|
||||
# backing as a single RDMA memory region. Other platforms keep the
|
||||
# exact-size allocation: NIXL and SimpleCPUOffload rely on
|
||||
# storage.nbytes() matching the logical KV size (see #53974).
|
||||
# exact-size allocation (see #53974), so anything reading
|
||||
# storage.nbytes() has to tolerate the tail on ROCm alone.
|
||||
page_size = 4096
|
||||
buf_size = ((raw_size + page_size - 1) // page_size) * page_size
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user