Skip to content

An/lazy import torchao#3957

Closed
anzr299 wants to merge 14 commits intoopenvinotoolkit:developfrom
anzr299:an/lazy_import_torchao
Closed

An/lazy import torchao#3957
anzr299 wants to merge 14 commits intoopenvinotoolkit:developfrom
anzr299:an/lazy_import_torchao

Conversation

@anzr299
Copy link
Collaborator

@anzr299 anzr299 commented Feb 27, 2026

Changes

Lazy import torchao instead of strict migration. This way torchao doesn't become a dependency of nncf core. It is expected that the users of torchfx backend already are using torchao or atleast executorch(which depends on executorch)

Reason for changes

There is a non-backward compatiable migration of torch.ao to torchao. Many imports in nncf from torch.ao are failing with pytorch nightly for this reason.

Related tickets

@github-actions github-actions bot added NNCF PT Pull requests that updates NNCF PyTorch NNCF PTQ Pull requests that updates NNCF PTQ labels Feb 27, 2026
@anzr299 anzr299 closed this Mar 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

NNCF PT Pull requests that updates NNCF PyTorch NNCF PTQ Pull requests that updates NNCF PTQ

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant