synchronize¶
torch.tvarant.synchronize(device=None) → None
Waits for outstanding work on the Tvarant runtime.
Wait for outstanding work on the Tvarant runtime.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
device
|
int | None
|
Reserved for API compatibility with other PyTorch device modules. Ignored; all work shares one runtime queue today. |
None
|
Source code in torch_tvarant/tvarant/__init__.py
97 98 99 100 101 102 103 104 105 | |