|
Download tests/README.md from flashrt/adaptive-layernorm-producers: direct link, hf CLI and curl.
- Browser
- Download file 523 Bytes
-
https://huggingface.co/flashrt/adaptive-layernorm-producers/resolve/main/tests/README.md
- Command line
-
hf download hf://flashrt/adaptive-layernorm-producers/tests/README.md
-
curl -L -o README.md https://huggingface.co/flashrt/adaptive-layernorm-producers/resolve/main/tests/README.md
523 Bytes
| # Tests | |
| Run correctness tests from the repository root: | |
| ```bash | |
| python adaptive-layernorm-producers/tests/test_adaptive_layernorm_producers.py --backend source --mode full | |
| ``` | |
| After Kernel Hub build/publish, run installed-artifact validation: | |
| ```bash | |
| python adaptive-layernorm-producers/tests/test_adaptive_layernorm_producers.py --backend installed --mode full | |
| ``` | |
| The source mode compiles the package locally with `torch.utils.cpp_extension`. | |
| The installed mode imports the package exactly as exposed by Kernel Hub. | |