Download lm-quant-toolkit/utils/pre-commit from chen459664/quantization2: direct link, hf CLI and curl.
- Browser
- Download file 268 Bytes
-
https://huggingface.co/chen459664/quantization2/resolve/main/lm-quant-toolkit/utils/pre-commit
- Command line
-
hf download hf://chen459664/quantization2/lm-quant-toolkit/utils/pre-commit
-
curl -L -o pre-commit https://huggingface.co/chen459664/quantization2/resolve/main/lm-quant-toolkit/utils/pre-commit
268 Bytes
| rootdir=`git rev-parse --show-toplevel` | |
| ( | |
| cd $rootdir | |
| python -m venv .pre-commit-venv | |
| .pre-commit-venv/bin/python -m pip install tox | |
| rm -rf dist .cache *.egg-info _build | |
| find ./ -name '*.pyc' -delete | |
| .pre-commit-venv/bin/tox $@ | |
| ) | |