flashinfer.comm.dispose_ulysses_a2a

flashinfer.comm.dispose_ulysses_a2a(fa: int) None

Release a handle returned by init_ulysses_a2a().

Parameters:

fa (int) – The opaque backend handle previously returned by init_ulysses_a2a(). It is a C++ UlyssesA2A* reinterpreted as an integer (fptr_t), not a device pointer or a Python object, so it is only meaningful to this module. After this call the handle is dangling and must not be passed to ulysses_a2a() again.