Signed-off-by: Or Ozeri <oro@il.ibm.com> Co-authored-by: Nicolò Lucchesi <nlucches@redhat.com>
torch.cuda.synchronize()
torch.accelerator.synchronize
Optional[x]
x | None
Union[x, y]
x | y
mypy