Download tasks/tasksmith-4fc63afb85cd/tests/source/Makefile from FineEnvs/HF_ML_Tasksmith: direct link, hf CLI and curl.
- Browser
- Download file 643 Bytes
-
https://huggingface.co/datasets/FineEnvs/HF_ML_Tasksmith/resolve/main/tasks/tasksmith-4fc63afb85cd/tests/source/Makefile
- Command line
-
hf download hf://datasets/FineEnvs/HF_ML_Tasksmith/tasks/tasksmith-4fc63afb85cd/tests/source/Makefile
-
curl -L -o Makefile https://huggingface.co/datasets/FineEnvs/HF_ML_Tasksmith/resolve/main/tasks/tasksmith-4fc63afb85cd/tests/source/Makefile
643 Bytes
| .PHONY: test precommit common_tests slow_tests tests_gpu test_experimental | |
| check_dirs := examples tests trl | |
| ACCELERATE_CONFIG_PATH = `pwd`/examples/accelerate_configs | |
| test: | |
| pytest -n auto -m "not slow and not low_priority" -s -v --reruns 5 --reruns-delay 1 --only-rerun '(OSError|Timeout|HTTPError.*502|HTTPError.*504||not less than or equal to 0.01)' tests | |
| precommit: | |
| python scripts/add_copyrights.py | |
| pre-commit run --all-files | |
| doc-builder style trl tests docs/source --max_len 119 | |
| slow_tests: | |
| pytest -m "slow" tests/ $(if $(IS_GITHUB_CI),--report-log "slow_tests.log",) | |
| test_experimental: | |
| pytest -n auto -s -v tests/experimental | |