AdithyaSK's picture
AdithyaSK HF Staff
Stage Harbor release files 104501-105000
7c9698e verified
Raw History Blame Contribute Delete
818 Bytes
.PHONY: test precommit common_tests slow_tests tests_gpu test_experimental codex claude clean-ai
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|OutOfMemoryError)' tests
precommit:
python scripts/add_copyrights.py
pre-commit run --all-files
slow_tests:
pytest -m "slow" tests/ $(if $(IS_GITHUB_CI),--report-log "slow_tests.log",)
test_experimental:
pytest -n auto -s -v tests/experimental
codex:
mkdir -p .agents
rm -rf .agents/skills
ln -snf ../.ai/skills .agents/skills
claude:
mkdir -p .claude
rm -rf .claude/skills
ln -snf ../.ai/skills .claude/skills
clean-ai:
rm -rf .agents/skills .claude/skills