mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-07-09 23:57:13 +08:00
parent
cda2f2c453
commit
5d8b665366
@ -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)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user