File tree Expand file tree Collapse file tree 2 files changed +12
-11
lines changed
Expand file tree Collapse file tree 2 files changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,13 @@ name = "pruna_internal"
7070url = " https://prunaai.pythonanywhere.com/simple/" # Pruna Pythonanywhere
7171default = 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 ]
7481gptqmodel = [
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]
188195cpu = []
196+ intel = [
197+ " intel-extension-for-pytorch==2.7.0" ,
198+ ]
189199
190200[build-system ]
191201requires = [" hatchling" ]
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments