@tduncan / Nvidia-Optimization-Stack-VLLM Mirror · read-only / commits / eb6c50cdc2
Fork 0

A high-throughput and memory-efficient inference and serving engine for LLMs

Mirrored from https://github.com/tduncan-lum/Nvidia-Optimization-Stack---VLLM.git

Synced Nov 17, 00:30 UTC

[Bugfix][CI/Build] Fix codespell failing to skip files in `git diff` (#5097)

Cyrus Leung committed May 30, 2024 at 07:02 UTC eb6c50cdc2bfb58591bd524ff08c8016e7c0411a
1 file changed +4 -1
format.sh
+4 -1
@@ -113,8 +113,11 @@ mypy vllm/logging --config-file pyproject.toml
113 mypy vllm/model_executor --config-file pyproject.toml
114
115
116 +# If git diff returns a file that is in the skip list, the file may be checked anyway:
117 +# https://github.com/codespell-project/codespell/issues/1915
118 +# Avoiding the "./" prefix and using "/**" globs for directories appears to solve the problem
119 CODESPELL_EXCLUDES=(
117 - '--skip' '*docs/source/_build/**,./tests/lora/data'
120 + '--skip' 'tests/prompts/**,./benchmarks/sonnet.txt,tests/lora/data/**,build/**'
121 )
122
123 # check spelling of specified files