feat: Add GANQ quantizer #1275
Annotations
10 errors and 2 warnings
|
ruff (I001):
src/pruna/algorithms/quantization/ganq.py#L16
src/pruna/algorithms/quantization/ganq.py:16:1: I001 Import block is un-sorted or un-formatted
help: Organize imports
|
|
ruff (D209):
src/pruna/algorithms/quantization/backends/ganq/utils.py#L112
src/pruna/algorithms/quantization/backends/ganq/utils.py:112:5: D209 Multi-line docstring closing quotes should be on a separate line
help: Move closing quotes to new line
|
|
ruff (D205):
src/pruna/algorithms/quantization/backends/ganq/utils.py#L112
src/pruna/algorithms/quantization/backends/ganq/utils.py:112:5: D205 1 blank line required between summary line and description
help: Insert single blank line
|
|
ruff (F405):
src/pruna/algorithms/quantization/backends/ganq/__init__.py#L26
src/pruna/algorithms/quantization/backends/ganq/__init__.py:26:5: F405 `find_layers` may be undefined, or defined from star imports
|
|
ruff (F405):
src/pruna/algorithms/quantization/backends/ganq/__init__.py#L25
src/pruna/algorithms/quantization/backends/ganq/__init__.py:25:5: F405 `norm_params` may be undefined, or defined from star imports
|
|
ruff (F405):
src/pruna/algorithms/quantization/backends/ganq/__init__.py#L24
src/pruna/algorithms/quantization/backends/ganq/__init__.py:24:5: F405 `denormalize` may be undefined, or defined from star imports
|
|
ruff (F405):
src/pruna/algorithms/quantization/backends/ganq/__init__.py#L23
src/pruna/algorithms/quantization/backends/ganq/__init__.py:23:5: F405 `normalize` may be undefined, or defined from star imports
|
|
ruff (F405):
src/pruna/algorithms/quantization/backends/ganq/__init__.py#L22
src/pruna/algorithms/quantization/backends/ganq/__init__.py:22:5: F405 `init_t_4bit` may be undefined, or defined from star imports
|
|
ruff (F405):
src/pruna/algorithms/quantization/backends/ganq/__init__.py#L21
src/pruna/algorithms/quantization/backends/ganq/__init__.py:21:5: F405 `init_t_3bit` may be undefined, or defined from star imports
|
|
ruff (F403):
src/pruna/algorithms/quantization/backends/ganq/__init__.py#L16
src/pruna/algorithms/quantization/backends/ganq/__init__.py:16:1: F403 `from .utils import *` used; unable to detect undefined names
|
|
linting (3.11)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/setup-python@v5, astral-sh/ruff-action@v3, astral-sh/setup-uv@v6. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
test (3.11)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/setup-python@v5, astral-sh/setup-uv@v6. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|