Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SparsificationLoggingModifier implementation (#1453)
* initial_commit * [ModuleSparsificationInfo] Proposal of the main logic (#1454) * initial commit * initial developement * sync with ben * prototype ready * included ben's comments * Update src/sparseml/pytorch/utils/sparsification_info/configs.py Co-authored-by: Benjamin Fineran <bfineran@users.noreply.github.com> * Update src/sparseml/pytorch/utils/sparsification_info/configs.py Co-authored-by: Benjamin Fineran <bfineran@users.noreply.github.com> * address comments * fix quantization logic * remove identities from leaf operations * fix the Identity removal * [ModuleSparsificationInfo][Tests] Proposal of the main logic (#1479) * Update src/sparseml/pytorch/utils/sparsification_info/helpers.py Co-authored-by: Benjamin Fineran <bfineran@users.noreply.github.com> * addressing PR comments --------- Co-authored-by: Benjamin Fineran <bfineran@users.noreply.github.com> * [ModuleSparsificationInfo] Add `logabble_items` method (#1468) * initial commit * initial developement * sync with ben * prototype ready * included ben's comments * initial commit * Update src/sparseml/pytorch/utils/sparsification_info/configs.py Co-authored-by: Benjamin Fineran <bfineran@users.noreply.github.com> * Update src/sparseml/pytorch/utils/sparsification_info/configs.py Co-authored-by: Benjamin Fineran <bfineran@users.noreply.github.com> * address comments * fix quantization logic * formatting standardised to the PRD * remove identities from leaf operations * fix the Identity removal * initial commit * cleanup * correct tests * address PR comments --------- Co-authored-by: Benjamin Fineran <bfineran@users.noreply.github.com> * [ModuleSparisificationInfo] LoggingModifier (#1484) * initial commit * initial developement * sync with ben * prototype ready * included ben's comments * initial commit * Update src/sparseml/pytorch/utils/sparsification_info/configs.py Co-authored-by: Benjamin Fineran <bfineran@users.noreply.github.com> * Update src/sparseml/pytorch/utils/sparsification_info/configs.py Co-authored-by: Benjamin Fineran <bfineran@users.noreply.github.com> * address comments * fix quantization logic * formatting standardised to the PRD * remove identities from leaf operations * fix the Identity removal * initial commit * initial commit * checkpoint * Delete modifier_logging.py * Apply suggestions from code review * tested the modifier * Apply suggestions from code review --------- Co-authored-by: Benjamin Fineran <bfineran@users.noreply.github.com> * [ModuleSparsificationInfo][Tests] SparsificationLoggingModifier (#1485) * Apply suggestions from code review * Trigger tests --------- Co-authored-by: Benjamin Fineran <bfineran@users.noreply.github.com>
- Loading branch information