Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

423 B
Raw Blame

gaussian_blur2d no longer waits for the device when sigma is a tensor on CUDA, or on MPS from torch 2.13: its positivity is checked there with torch._assert_async. A value that is not positive in such a sigma used to raise BaseError during the call and now raises RuntimeError at the next synchronization, which on CUDA is a device-side assert. A tuple or a CPU tensor sigma is still checked during the call.