Skip to content

Commit a14284e

Browse files
committed
Remove diffusers extra
1 parent b04feae commit a14284e

8 files changed

+7
-8
lines changed

.github/workflows/test_export_onnx.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
python-version: ${{ matrix.python-version }}
2828
- name: Install dependencies for pytorch export
2929
run: |
30-
pip install .[tests,exporters,diffusers]
30+
pip install .[tests,exporters] diffusers
3131
- name: Test with unittest
3232
working-directory: tests
3333
run: |

.github/workflows/test_export_onnx_cli.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333

3434
- name: Install dependencies
3535
run: |
36-
pip install .[tests,exporters,diffusers]
36+
pip install .[tests,exporters] diffusers
3737
3838
- name: Test with pytest
3939
run: |

.github/workflows/test_exporters_slow.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
python-version: ${{ matrix.python-version }}
2626
- name: Install dependencies for pytorch export
2727
run: |
28-
pip install .[tests,exporters,diffusers]
28+
pip install .[tests,exporters] diffusers
2929
- name: Test with unittest
3030
working-directory: tests
3131
run: |

.github/workflows/test_onnx.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
python-version: ${{ matrix.python-version }}
2828
- name: Install dependencies
2929
run: |
30-
pip install .[tests,exporters,diffusers]
30+
pip install .[tests,exporters] diffusers
3131
- name: Test with unittest
3232
working-directory: tests
3333
run: |

.github/workflows/test_onnxruntime.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
run: |
4545
pip install --upgrade pip
4646
pip install --no-cache-dir torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
47-
pip install .[tests,onnxruntime,diffusers]
47+
pip install .[tests,onnxruntime] diffusers
4848
4949
- name: Install transformers ${{ matrix.transformers-version }}
5050
if: ${{ matrix.transformers-version != 'latest' }}

.github/workflows/test_onnxruntime_gpu.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
run: |
4848
pip install --upgrade pip
4949
pip install --no-cache-dir torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu124
50-
pip install .[tests,onnxruntime-gpu,diffusers]
50+
pip install .[tests,onnxruntime-gpu] diffusers
5151
5252
- name: Test with pytest
5353
run: |

.github/workflows/test_onnxruntime_slow.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
run: |
4444
pip install --upgrade pip
4545
pip install --no-cache-dir torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
46-
pip install .[tests,onnxruntime,diffusers]
46+
pip install .[tests,onnxruntime] diffusers
4747
4848
- name: Test with pytest
4949
run: |

setup.py

-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@
9292
"datasets<=2.16",
9393
"transformers>=4.36,<4.38",
9494
],
95-
"diffusers": ["diffusers"],
9695
"intel": "optimum-intel>=1.18.0",
9796
"openvino": "optimum-intel[openvino]>=1.18.0",
9897
"nncf": "optimum-intel[nncf]>=1.18.0",

0 commit comments

Comments
 (0)