Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Download Makefile from hf-accelerate/accelerate_examples: direct link, hf CLI and curl.
- Browser
- Download file 462 Bytes
-
https://huggingface.co/spaces/hf-accelerate/accelerate_examples/resolve/main/Makefile
- Command line
-
hf download hf://spaces/hf-accelerate/accelerate_examples/Makefile
-
curl -L -o Makefile https://huggingface.co/spaces/hf-accelerate/accelerate_examples/resolve/main/Makefile
462 Bytes
| .PHONY: quality style test docs | |
| # Check that source code meets quality standards | |
| extra_quality_checks: | |
| doc-builder style src --max_len 119 | |
| # this target runs checks on all files | |
| quality: | |
| black --check src | |
| isort --check-only src | |
| flake8 src | |
| doc-builder style src --max_len 119 --check_only | |
| # Format source code automatically and check is there are any problems left that need manual fixing | |
| style: | |
| black src | |
| isort src | |
| doc-builder style src --max_len 119 |