Download torch-ext/registration.h from replicate/gemm: direct link, hf CLI and curl.
- Browser
- Download file 1.22 kB
-
https://huggingface.co/replicate/gemm/resolve/main/torch-ext/registration.h
- Command line
-
hf download hf://replicate/gemm/torch-ext/registration.h
-
curl -L -o registration.h https://huggingface.co/replicate/gemm/resolve/main/torch-ext/registration.h
1.22 kB
| // 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. | |