Spaces:
Runtime error
Runtime error
Download Makefile from Jextor/LLaMA-Factory: direct link, hf CLI and curl.
- Browser
- Download file 457 Bytes
-
https://huggingface.co/spaces/Jextor/LLaMA-Factory/resolve/main/Makefile
- Command line
-
hf download hf://spaces/Jextor/LLaMA-Factory/Makefile
-
curl -L -o Makefile https://huggingface.co/spaces/Jextor/LLaMA-Factory/resolve/main/Makefile
457 Bytes
| .PHONY: build commit license quality style test | |
| check_dirs := scripts src tests setup.py | |
| build: | |
| pip3 install build && python3 -m build | |
| commit: | |
| pre-commit install | |
| pre-commit run --all-files | |
| license: | |
| python3 tests/check_license.py $(check_dirs) | |
| quality: | |
| ruff check $(check_dirs) | |
| ruff format --check $(check_dirs) | |
| style: | |
| ruff check $(check_dirs) --fix | |
| ruff format $(check_dirs) | |
| test: | |
| CUDA_VISIBLE_DEVICES= WANDB_DISABLED=true pytest -vv tests/ | |