From 25fec6d521c077e5a1bdd3548c76c243eddbb96b Mon Sep 17 00:00:00 2001 From: Qubitium Date: Sat, 1 Nov 2025 05:33:31 +0000 Subject: [PATCH 1/2] fix ci trigger --- .github/workflows/unit_tests.yml | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 606abb19c..ab23712b3 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -50,6 +50,7 @@ on: server: description: 'Wheel Build Server' type: choice + default: '["self-hosted", "xeon5"]' options: - '["self-hosted", "xeon5"]' - '["self-hosted", "zen4"]' @@ -186,23 +187,6 @@ jobs: echo "MLX Test files: $mlx_files" echo "Ignored Test files: $IGNORED_TEST_FILES" - - name: Print conditions and parameters - run: | - echo "Parameters:" - echo "needs.list-test-files.outputs.torch-files: ${{ needs.list-test-files.outputs.torch-files }}" - echo "needs.list-test-files.outputs.transformers-files: ${{ needs.list-test-files.outputs.transformers-files }}" - echo "needs.list-test-files.outputs.m4-files: ${{ needs.list-test-files.outputs.m4-files }}" - echo "github.event.inputs.artifact_id: ${{ github.event.inputs.artifact_id }}" - echo "needs.build.result: ${{ needs.build.result }}" - echo "github.event.inputs.test_names: ${{ github.event.inputs.test_names }}" - echo "" - - echo "Conditions:" - echo "will build run: ${{ needs.list-test-files.outputs.torch-files != '[]' && needs.list-test-files.outputs.transformers-files != '[]' && !(needs.list-test-files.outputs.m4-files == '[]' && needs.list-test-files.outputs.m4-files == '[]') }}" - echo "will legacy run: ${{ (needs.build.result == 'success' || github.event.inputs.artifact_id != '') && needs.list-test-files.outputs.transformers-files != '[]' }}" - echo "will torch run: ${{ (needs.build.result == 'success' || github.event.inputs.artifact_id != '') && needs.list-test-files.outputs.torch-files != '[]' }}" - echo "will m4 run: ${{ (github.event.inputs.test_names == '' || contains(github.event.inputs.test_names, 'apple') || contains(github.event.inputs.test_names, 'mlx') ) && (needs.list-test-files.outputs.m4-files != '' || needs.list-test-files.outputs.m4-files != '[]') }}" - build: runs-on: ${{ fromJSON(github.event.inputs.server || '["self-hosted", "xeon5"]') }} needs: From a56bbb0470a41539be1f609bd856b4b132505ab0 Mon Sep 17 00:00:00 2001 From: Qubitium Date: Sat, 1 Nov 2025 05:35:19 +0000 Subject: [PATCH 2/2] clean --- pyproject.toml | 4 +--- setup.py | 12 ------------ 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 3fde94aa2..a32de4398 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,6 +12,7 @@ description = "Production ready LLM model compression/quantization toolkit with readme = "README.md" requires-python = ">=3.10" license = "Apache-2.0" +license-files = ["licenses/LICENSE.apache"] authors = [ { name = "ModelCloud", email = "qubitium@modelcloud.ai" }, ] @@ -61,9 +62,6 @@ dependencies = [ [project.urls] Homepage = "https://github.com/ModelCloud/GPTQModel" -[tool.setuptools] -license-files = ["licenses/LICENSE.apache"] - [project.optional-dependencies] test = [ "pytest>=8.3.5", diff --git a/setup.py b/setup.py index 10c8ac90b..14e8c23e1 100644 --- a/setup.py +++ b/setup.py @@ -858,18 +858,6 @@ def run(self): version=gptqmodel_version, packages=_packages, include_package_data=True, - extras_require={ - "test": ["pytest>=8.2.2", "parameterized"], - "quality": ["ruff==0.13.0", "isort==6.0.1"], - "vllm": ["vllm>=0.8.5", "flashinfer-python>=0.2.1"], - "sglang": ["sglang[srt]>=0.4.6", "flashinfer-python>=0.2.1"], - "bitblas": ["bitblas==0.0.1-dev13"], - "hf": ["optimum>=1.21.2"], - "eval": ["lm_eval>=0.4.7", "evalplus>=0.3.1"], - "triton": ["triton>=3.4.0"], - "openai": ["uvicorn", "fastapi", "pydantic"], - "mlx": ["mlx_lm>=0.28.2"], - }, include_dirs=include_dirs, cmdclass=( {"bdist_wheel": CachedWheelsCommand, "build_ext": additional_setup_kwargs.get("cmdclass", {}).get("build_ext")}