Skip to content

Remove CUSTOM_PARAM_QUANTIZATION_SUPPORTED_CONFIGS, inspect function sig#3894

Merged
jcaip merged 5 commits intogh/jcaip/7/basefrom
gh/jcaip/7/head
Feb 19, 2026
Merged

Remove CUSTOM_PARAM_QUANTIZATION_SUPPORTED_CONFIGS, inspect function sig#3894
jcaip merged 5 commits intogh/jcaip/7/basefrom
gh/jcaip/7/head

Conversation

@jcaip
Copy link
Copy Markdown
Contributor

@jcaip jcaip commented Feb 17, 2026

Summary:

This PR removes CUSTOM_PARAM_QUANTIZATION_SUPPORTED_CONFIGS, in favor of
using `inspect.signature` to ensure that the given handler has a
parameter_name kwarg we can use to pass in the param fqn.

Test Plan:
```
pytest test/quantization/test_quant_api -k fqn
```

Reviewers:

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
@pytorch-bot
Copy link
Copy Markdown

pytorch-bot bot commented Feb 17, 2026

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/ao/3894

Note: Links to docs will display an error until the docs builds have been completed.

❌ 1 New Failure

As of commit edd5086 with merge base d4c1ba3 (image):

NEW FAILURE - The following job has failed:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Feb 17, 2026
jcaip added a commit that referenced this pull request Feb 17, 2026
Summary:

This PR removes CUSTOM_PARAM_QUANTIZATION_SUPPORTED_CONFIGS, in favor of
using `inspect.signature` to ensure that the given handler has a
parameter_name kwarg we can use to pass in the param fqn.

Test Plan:
```
pytest test/quantization/test_quant_api -k fqn
```

Reviewers:

Subscribers:

Tasks:

Tags:

ghstack-source-id: 3c1d83d
Pull Request resolved: #3894
…t function sig"

Summary:

This PR removes CUSTOM_PARAM_QUANTIZATION_SUPPORTED_CONFIGS, in favor of
using `inspect.signature` to ensure that the given handler has a
parameter_name kwarg we can use to pass in the param fqn.

Test Plan:
```
pytest test/quantization/test_quant_api -k fqn
```

Reviewers:

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
…t function sig"

Summary:

This PR removes CUSTOM_PARAM_QUANTIZATION_SUPPORTED_CONFIGS, in favor of
using `inspect.signature` to ensure that the given handler has a
parameter_name kwarg we can use to pass in the param fqn.

Test Plan:
```
pytest test/quantization/test_quant_api -k fqn
```

Reviewers:

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
…t function sig"

Summary:

This PR removes CUSTOM_PARAM_QUANTIZATION_SUPPORTED_CONFIGS, in favor of
using `inspect.signature` to ensure that the given handler has a
parameter_name kwarg we can use to pass in the param fqn.

Test Plan:
```
pytest test/quantization/test_quant_api -k fqn
```

Reviewers:

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
…t function sig"

Summary:

This PR removes CUSTOM_PARAM_QUANTIZATION_SUPPORTED_CONFIGS, in favor of
using `inspect.signature` to ensure that the given handler has a
parameter_name kwarg we can use to pass in the param fqn.

Test Plan:
```
pytest test/quantization/test_quant_api -k fqn
```

Reviewers:

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
@jcaip jcaip added module: inference quantize_ api inference flow module: not user facing Use this tag if you don't want this PR to show up in release notes labels Feb 19, 2026
@jcaip jcaip merged commit fb7ce7a into gh/jcaip/7/base Feb 19, 2026
35 of 38 checks passed
jcaip added a commit that referenced this pull request Feb 19, 2026
* Remove Float8DynamicActivationFloat8SemiSparseWeightConfig

This config was deprecated in favor of Float8DynamicActivationFloat8WeightConfig
with packing_format=Float8PackingFormat.SPARSE_CUTLASS and granularity=PerRow().
Remove the class definition, handler, and all references from imports, tests, and
benchmarks.

Co-authored-by: Cursor <cursoragent@cursor.com>

[ghstack-poisoned]

* Remove Int8DynamicActivationInt4WeightConfig

This config was deprecated in favor of Int8DynamicActivationIntxWeightConfig.
Remove the class definition, handler, and all references from imports, tests,
QAT code, benchmarks, and documentation. Update QAT docs to reference
Int4WeightOnlyConfig as the example base config.

Co-authored-by: Cursor <cursoragent@cursor.com>

[ghstack-poisoned]

* Remove GemliteUIntXWeightOnlyConfig

This config was deprecated and scheduled for deletion. Remove the class
definition, handler, and all references from imports, tests, benchmarks,
and documentation.

Co-authored-by: Cursor <cursoragent@cursor.com>

[ghstack-poisoned]

* Remove Float8StaticActivationFloat8WeightConfig

Remove the config class, its supporting classes (Float8ObservedLinear,
Float8ObservedSoftmax, Float8QuantizedSoftmax), the handler function,
and all references from imports and tests.

Co-authored-by: Cursor <cursoragent@cursor.com>

[ghstack-poisoned]

* Remove UIntXWeightOnlyConfig

This config was deprecated and scheduled for deletion. Remove the class
definition, handler, and all references from imports, tests, benchmarks,
and the autoround eval script. This also removes the entire BC import
block from quant_api.py since all prototype configs have been removed.

Co-authored-by: Cursor <cursoragent@cursor.com>

[ghstack-poisoned]

* Update base for Update on "Remove UIntXWeightOnlyConfig"


This config was deprecated and scheduled for deletion. Remove the class
definition, handler, and all references from imports, tests, benchmarks,
and the autoround eval script. This also removes the entire BC import
block from quant_api.py since all prototype configs have been removed.

Co-authored-by: Cursor <cursoragentcursor.com>

[ghstack-poisoned]

* Update base for Update on "Remove CUSTOM_PARAM_QUANTIZATION_SUPPORTED_CONFIGS, inspect function sig"


Summary:

This PR removes CUSTOM_PARAM_QUANTIZATION_SUPPORTED_CONFIGS, in favor of
using `inspect.signature` to ensure that the given handler has a
parameter_name kwarg we can use to pass in the param fqn.

Test Plan:
```
pytest test/quantization/test_quant_api -k fqn
```

Reviewers:

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]

* Update base for Update on "Remove CUSTOM_PARAM_QUANTIZATION_SUPPORTED_CONFIGS, inspect function sig"


Summary:

This PR removes CUSTOM_PARAM_QUANTIZATION_SUPPORTED_CONFIGS, in favor of
using `inspect.signature` to ensure that the given handler has a
parameter_name kwarg we can use to pass in the param fqn.

Test Plan:
```
pytest test/quantization/test_quant_api -k fqn
```

Reviewers:

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]

* Update base for Update on "Remove CUSTOM_PARAM_QUANTIZATION_SUPPORTED_CONFIGS, inspect function sig"


Summary:

This PR removes CUSTOM_PARAM_QUANTIZATION_SUPPORTED_CONFIGS, in favor of
using `inspect.signature` to ensure that the given handler has a
parameter_name kwarg we can use to pass in the param fqn.

Test Plan:
```
pytest test/quantization/test_quant_api -k fqn
```

Reviewers:

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]

* Update base for Update on "Remove CUSTOM_PARAM_QUANTIZATION_SUPPORTED_CONFIGS, inspect function sig"


Summary:

This PR removes CUSTOM_PARAM_QUANTIZATION_SUPPORTED_CONFIGS, in favor of
using `inspect.signature` to ensure that the given handler has a
parameter_name kwarg we can use to pass in the param fqn.

Test Plan:
```
pytest test/quantization/test_quant_api -k fqn
```

Reviewers:

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]

* Remove CUSTOM_PARAM_QUANTIZATION_SUPPORTED_CONFIGS, inspect function sig (#3894)

Summary:

This PR removes CUSTOM_PARAM_QUANTIZATION_SUPPORTED_CONFIGS, in favor of
using `inspect.signature` to ensure that the given handler has a
parameter_name kwarg we can use to pass in the param fqn.

Test Plan:
```
pytest test/quantization/test_quant_api -k fqn
```

Reviewers:

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. module: inference quantize_ api inference flow module: not user facing Use this tag if you don't want this PR to show up in release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants