Skip to content

Commit 9c1572e

Browse files
author
Ubuntu
committed
removing uv.lock
1 parent 2ea8107 commit 9c1572e

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

pyproject.toml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,13 @@ name = "pruna_internal"
7070
url = "https://prunaai.pythonanywhere.com/simple/" # Pruna Pythonanywhere
7171
default = true # default = True makes this index the lowest prio
7272

73+
[[tool.uv.index]]
74+
name = "intel-pytorch-extension"
75+
url = "https://pytorch-extension.intel.com/release-whl/stable/cpu/cn/"
76+
77+
[tool.uv]
78+
index-strategy = "unsafe-best-match"
79+
7380
[tool.uv.sources]
7481
gptqmodel = [
7582
{ index = "pruna_internal", marker = "sys_platform != 'darwin' or platform_machine != 'arm64'"},
@@ -180,12 +187,15 @@ dev = [
180187
"pytest-rerunfailures",
181188
"coverage",
182189
"docutils",
183-
"ty==0.0.1a21",
190+
"ty",
184191
"types-PyYAML",
185192
"logbar",
186193
"pytest-xdist>=3.8.0",
187194
]
188195
cpu = []
196+
intel = [
197+
"intel-extension-for-pytorch==2.7.0",
198+
]
189199

190200
[build-system]
191201
requires = ["hatchling"]

src/pruna/algorithms/x_fast.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,7 @@ class XFast(PrunaAlgorithmBase):
4646
dataset_required: bool = False
4747
compatible_before: list[str | AlgorithmTag] = [
4848
"quanto",
49-
"half",
50-
"text_to_text_lora",
51-
"text_to_image_lora",
52-
"text_to_image_perp",
53-
"text_to_image_inplace_perp",
54-
"text_to_text_perp",
55-
"text_to_text_inplace_perp",
56-
"text_to_image_distillation_inplace_perp",
57-
"text_to_image_distillation_lora",
58-
"text_to_image_distillation_perp",
49+
"half"
5950
]
6051
required_install: str = "``pip install pruna[stable-fast]``"
6152

0 commit comments

Comments
 (0)