Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/pruna/algorithms/quanto.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class Quanto(PrunaAlgorithmBase):
algorithm_name: str = "quanto"
group_tags: list[tags] = [tags.QUANTIZER]
references: dict[str, str] = {"GitHub": "https://github.com/huggingface/optimum-quanto"}
save_fn: SAVE_FUNCTIONS = SAVE_FUNCTIONS.reapply
save_fn: SAVE_FUNCTIONS = SAVE_FUNCTIONS.save_before_apply
tokenizer_required: bool = False
processor_required: bool = False
dataset_required: bool = False
Expand Down
2 changes: 1 addition & 1 deletion src/pruna/algorithms/torch_dynamic.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class TorchDynamic(PrunaAlgorithmBase):
algorithm_name = "torch_dynamic"
group_tags: list[tags] = [tags.QUANTIZER]
references: dict[str, str] = {"GitHub": "https://github.com/pytorch/pytorch"}
save_fn: SAVE_FUNCTIONS = SAVE_FUNCTIONS.pickled
save_fn: SAVE_FUNCTIONS = SAVE_FUNCTIONS.save_before_apply
tokenizer_required: bool = False
processor_required: bool = False
runs_on: list[str] = ["cpu", "cuda"]
Expand Down
2 changes: 1 addition & 1 deletion tests/algorithms/testers/torch_dynamic.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
class TestTorchDynamic(AlgorithmTesterBase):
"""Test the torch dynamic quantizer."""

models = ["shufflenet"]
models = ["shufflenet", "smollm_135m"]
reject_models = []
allow_pickle_files = False
algorithm_class = TorchDynamic
Expand Down
Loading