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
4 changes: 2 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

strategy:
matrix:
python-version: ["3.10"]
python-version: ["3.11"]

steps:
- name: Checkout code
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:

strategy:
matrix:
python-version: ["3.10"]
python-version: ["3.11"]

env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ dependencies = [
"transformers",
"pytorch-lightning",
"huggingface-hub[hf-xet]>=0.30.0",
"datasets>=0.34",
"datasets>=3.0",
"numpy>=1.24.4",
"numpydoc>=1.6.0",
"diffusers>=0.21.4",
Expand Down
3 changes: 3 additions & 0 deletions src/pruna/algorithms/base/tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ class AlgorithmTag(Enum):
The type of the enum.
start : int
The start index for auto-numbering enum values.
boundary : enum.FlagBoundary or None
Boundary handling mode used by the Enum functional API for Flag and
IntFlag enums.
"""

QUANTIZER = (
Expand Down
3 changes: 3 additions & 0 deletions src/pruna/engine/load.py
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,9 @@ class LOAD_FUNCTIONS(Enum): # noqa: N801
The type of the enum.
start : int
The start index for auto-numbering enum values.
boundary : enum.FlagBoundary or None
Boundary handling mode used by the Enum functional API for Flag and
IntFlag enums.

Examples
--------
Expand Down
3 changes: 3 additions & 0 deletions src/pruna/engine/save.py
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,9 @@ class SAVE_FUNCTIONS(Enum): # noqa: N801
The type of the enum.
start : int
The start index for auto-numbering enum values.
boundary : enum.FlagBoundary or None
Boundary handling mode used by the Enum functional API for Flag and
IntFlag enums.

Examples
--------
Expand Down
3 changes: 3 additions & 0 deletions src/pruna/evaluation/metrics/metric_torch.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,9 @@ class TorchMetrics(Enum):
The type of the enum value.
start : int
The starting value for the enum.
boundary : enum.FlagBoundary or None
Boundary handling mode used by the Enum functional API for Flag and
IntFlag enums.
"""

fid = (partial(FrechetInceptionDistance), fid_update, "gt_y")
Expand Down