@tduncan / Nvidia-Optimization-Stack-VLLM Mirror · read-only / commits / 43ff405b90
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 15, 07:15 UTC

[CI/Build] remove regex from build dependencies (#18945)

Signed-off-by: Daniele Trifirò <dtrifiro@redhat.com> Co-authored-by: Cyrus Leung <cyrus.tl.leung@gmail.com>

Daniele committed May 30, 2025 at 13:02 UTC 43ff405b9059d2991604fb35e23bf212f8f390f3
3 files changed +4 -2
pyproject.toml
-1
@@ -8,7 +8,6 @@ requires = [
8 "setuptools-scm>=8.0",
9 "torch == 2.7.0",
10 "wheel",
11 - "regex",
11 "jinja2",
12 ]
13 build-backend = "setuptools.build_meta"
setup.py
+1 -1
@@ -5,12 +5,12 @@ import importlib.util
5 import json
6 import logging
7 import os
8 +import re
9 import subprocess
10 import sys
11 from pathlib import Path
12 from shutil import which
13
13 -import regex as re
14 import torch
15 from packaging.version import Version, parse
16 from setuptools import Extension, setup
tools/enforce_regex_import.py
+3
@@ -58,6 +58,9 @@ def main() -> int:
58 if not Path(filepath).exists():
59 continue
60
61 + if filepath == "setup.py":
62 + continue
63 +
64 violations = check_file(filepath)
65 if violations:
66 print(f"\n❌ {filepath}:")