// Registration macros from vLLM: | |
// https://github.com/vllm-project/vllm/blob/main/csrc/core/registration.h | |
// A version of the TORCH_LIBRARY macro that expands the NAME, i.e. so NAME | |
// could be a macro instead of a literal token. | |
// A version of the TORCH_LIBRARY_IMPL macro that expands the NAME, i.e. so NAME | |
// could be a macro instead of a literal token. | |
// REGISTER_EXTENSION allows the shared library to be loaded and initialized | |
// via python's import statement. | |