Signed-off-by: rshaw@neuralmagic.com <robertgshaw2@gmail.com>
This commit is contained in:
rshaw@neuralmagic.com 2025-06-30 01:59:02 +00:00
parent cda2f2c453
commit 5d8b665366

View File

@ -999,9 +999,12 @@ class NixlConnectorWorker:
# Begin async xfer. # Begin async xfer.
start = time.perf_counter() start = time.perf_counter()
for handle in handles: # IT WORKS WITH THIS:
self.nixl_wrapper.transfer(handle) # for handle in handles:
# self.nixl_wrapper.transfer_batched(handles) # self.nixl_wrapper.transfer(handle)
# IT FAILS WITH THIS:
self.nixl_wrapper.transfer_batched(handles)
end = time.perf_counter() end = time.perf_counter()
logger.info("======== LAUNCH TIME: %s ========", end - start) logger.info("======== LAUNCH TIME: %s ========", end - start)