8000 Remove old subclass APIs are no longer need and are creating a maintenence burden · Issue #2368 · pytorch/ao · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000
Remove old subclass APIs are no longer need and are creating a maintenence burden #2368
Open
@HDCharles

Description

@HDCharles

the old subclass API aka:

https://github.com/pytorch/ao/blob/main/torchao/quantization/subclass.py

and the api's in https://github.com/pytorch/ao/blob/main/torchao/quantization/quant_api.py like:

change_linear_weights_to_int8_dqtensors
change_linear_weights_to_int8_woqtensors
change_linear_weights_to_int4_woqtensors

can be removed with a BC warning as they are not used externally

they are causing failures in CI:

i.e. the failure of
test_int4_weight_only_quant_subclass_grouped_5_cuda

in

https://github.com/pytorch/ao/actions/runs/15614915478/job/43985076805

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0