Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TorchFX][MicroFix] Folded constants do not require grad #3128

Conversation

daniil-lyakhov
Copy link
Collaborator

Changes

Folded constants do not require gradient

Reason for changes

  • To unify all model constant/buffers
  • To make compressed model deepcopy-able

Related tickets

#2766

Tests

test_constant_folding is updated

@daniil-lyakhov daniil-lyakhov requested a review from a team as a code owner December 3, 2024 14:30
@github-actions github-actions bot added NNCF PT Pull requests that updates NNCF PyTorch experimental labels Dec 3, 2024
@daniil-lyakhov daniil-lyakhov force-pushed the dl/fx/constant_folding_no_grad branch from 8837af5 to 2a76b9c Compare December 3, 2024 14:31
@daniil-lyakhov daniil-lyakhov force-pushed the dl/fx/constant_folding_no_grad branch from 2a76b9c to 99c8de8 Compare December 4, 2024 09:57
@alexsu52 alexsu52 merged commit c1cb354 into openvinotoolkit:develop Dec 4, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
experimental NNCF PT Pull requests that updates NNCF PyTorch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants