Spaces:
Running
Running
Download Makefile from Justinrune/LLaMA-Factory: direct link, hf CLI and curl.
- Browser
- Download file 242 Bytes
-
https://huggingface.co/spaces/Justinrune/LLaMA-Factory/resolve/main/Makefile
- Command line
-
hf download hf://spaces/Justinrune/LLaMA-Factory/Makefile
-
curl -L -o Makefile https://huggingface.co/spaces/Justinrune/LLaMA-Factory/resolve/main/Makefile
242 Bytes
| .PHONY: quality style test | |
| check_dirs := scripts src tests | |
| quality: | |
| ruff check $(check_dirs) | |
| ruff format --check $(check_dirs) | |
| style: | |
| ruff check $(check_dirs) --fix | |
| ruff format $(check_dirs) | |
| test: | |
| CUDA_VISIBLE_DEVICES= pytest tests/ | |