Download build/torch-cuda/_ops.py from flashrt/fa4-cute-runtime: direct link, hf CLI and curl.
- Browser
- Download file 183 Bytes
-
https://huggingface.co/flashrt/fa4-cute-runtime/resolve/main/build/torch-cuda/_ops.py
- Command line
-
hf download hf://flashrt/fa4-cute-runtime/build/torch-cuda/_ops.py
-
curl -L -o _ops.py https://huggingface.co/flashrt/fa4-cute-runtime/resolve/main/build/torch-cuda/_ops.py
183 Bytes
| import torch | |
| _OPS_NAME = '_fa4_cute_runtime_cuda_8aeea60' | |
| ops = getattr(torch.ops, _OPS_NAME) | |
| def add_op_namespace_prefix(op_name: str) -> str: | |
| return f'{_OPS_NAME}::{op_name}' | |