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 15, 16:00 UTC
Reinstate `format.sh` and make `pre-commit` installation simpler (#15890)
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Harry Mellor committed
Apr 1, 2025 at 16:41 UTC
b63bd14999187d07c02e99c24fb5299fbebe7155
2 files changed
+9
.pre-commit-config.yaml
+3
@@ -1,3 +1,6 @@
1
+default_install_hook_types:
2
+ - pre-commit
3
+ - commit-msg
4
default_stages:
5
- pre-commit # Run locally
6
- manual # Run in CI
format.sh
new
+6
@@ -0,0 +1,6 @@
1
+#!/bin/bash
2
+
3
+echo "vLLM linting system has been moved from format.sh to pre-commit hooks."
4
+echo "Please run 'pip install -r requirements/lint.txt', followed by"
5
+echo "'pre-commit install' to install the pre-commit hooks."
6
+echo "Then linters will run automatically before each commit."
\ No newline at end of file