Kernels:
Trusted publisher
Download build/torch-rocm/utils/core.py from amd/aiter-kernels: direct link, hf CLI and curl.
- Browser
- Download file 194 Bytes
-
https://huggingface.co/kernels/amd/aiter-kernels/resolve/v2/build/torch-rocm/utils/core.py
- Command line
-
hf download hf://amd/aiter-kernels@v2/build/torch-rocm/utils/core.py
-
curl -L -o core.py https://huggingface.co/kernels/amd/aiter-kernels/resolve/v2/build/torch-rocm/utils/core.py
194 Bytes
| import os | |
| this_dir = os.path.dirname(os.path.abspath(__file__)) | |
| AITER_TRITON_OPS_PATH = os.path.abspath(f"{this_dir}/../") | |
| AITER_TRITON_CONFIGS_PATH = os.path.abspath(f"{this_dir}/../configs") | |