Skip to content

Commit 9e634ca

Browse files
committed
Remove mxnet and tensorflow-addons
Signed-off-by: Beat Buesser <[email protected]>
1 parent acd1292 commit 9e634ca

File tree

9 files changed

+10
-11
lines changed

9 files changed

+10
-11
lines changed

.github/workflows/ci-huggingface.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
sudo apt-get update
5050
sudo apt-get -y -q install ffmpeg libavcodec-extra
5151
python -m pip install --upgrade pip setuptools wheel
52-
pip install -q -r <(sed '/^tensorflow/d;/^keras/d;/^mxnet/d' requirements_test.txt)
52+
pip install -q -r <(sed '/^tensorflow/d;/^keras/d;/^torch/d;/^torchvision/d;/^torchaudio/d;/^transformers/d' requirements_test.txt)
5353
pip install tensorflow==2.18.1
5454
pip install keras==3.10.0
5555
pip install torch==${{ matrix.torch }} --index-url https://download.pytorch.org/whl/cpu

.github/workflows/ci-keras.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
sudo apt-get update
4949
sudo apt-get -y -q install ffmpeg libavcodec-extra
5050
python -m pip install --upgrade pip setuptools wheel
51-
pip install -q -r <(sed '/^tensorflow/d;/^keras/d;/^tensorflow-addons/d;/^mxnet/d' requirements_test.txt)
51+
pip install -q -r <(sed '/^tensorflow/d;/^keras/d;/^tensorflow-addons/d' requirements_test.txt)
5252
pip install tensorflow==${{ matrix.tensorflow }}
5353
pip install keras==${{ matrix.keras }}
5454
pip install tensorflow-addons==${{ matrix.tf_addons }}

.github/workflows/ci-legacy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
sudo apt-get update
5353
sudo apt-get -y -q install ffmpeg libavcodec-extra
5454
python -m pip install --upgrade pip setuptools wheel
55-
pip install -q -r <(sed '/^tensorflow/d;/^keras/d;/^torch/d;/^torchvision/d;/^torchaudio/d;/^mxnet/d' requirements_test.txt)
55+
pip install -q -r <(sed '/^tensorflow/d;/^keras/d;/^torch/d;/^torchvision/d;/^torchaudio/d' requirements_test.txt)
5656
pip install tensorflow==${{ matrix.tensorflow }}
5757
pip install keras==${{ matrix.keras }}
5858
pip install scikit-learn==${{ matrix.scikit-learn }}

.github/workflows/ci-pytorch-object-detectors.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
sudo apt-get update
4040
sudo apt-get -y -q install ffmpeg libavcodec-extra
4141
python -m pip install --upgrade pip setuptools wheel
42-
pip install -q -r <(sed '/^mxnet/d' requirements_test.txt)
42+
pip install -q -r requirements_test.txt
4343
pip list
4444
- name: Run Test Action - test_pytorch_object_detector
4545
run: pytest --cov-report=xml --cov=art --cov-append -q -vv tests/estimators/object_detection/test_pytorch_object_detector.py --framework=pytorch --durations=0

.github/workflows/ci-pytorch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
sudo apt-get update
5555
sudo apt-get -y -q install ffmpeg libavcodec-extra
5656
python -m pip install --upgrade pip setuptools wheel
57-
pip install -q -r <(sed '/^mxnet/d' requirements_test.txt)
57+
pip install -q -r <(sed '/^torch/d;/^torchvision/d;/^torchaudio/d' requirements_test.txt)
5858
pip install torch==${{ matrix.torch }} --index-url https://download.pytorch.org/whl/cpu
5959
pip install torchvision==${{ matrix.torchvision }} --index-url https://download.pytorch.org/whl/cpu
6060
pip install torchaudio==${{ matrix.torchaudio }} --index-url https://download.pytorch.org/whl/cpu

.github/workflows/ci-style-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Install Dependencies
4040
run: |
4141
python -m pip install --upgrade pip setuptools wheel
42-
pip install -q -r <(sed '/^tensorflow/d;/^keras/d;/^mxnet/d' requirements_test.txt)
42+
pip install -q -r <(sed '/^tensorflow/d;/^keras/d' requirements_test.txt)
4343
pip install tensorflow==2.18.1
4444
pip install keras==3.10.0
4545
pip list

.github/workflows/ci-tensorflow-v2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
sudo apt-get update
5050
sudo apt-get -y -q install ffmpeg libavcodec-extra
5151
python -m pip install --upgrade pip setuptools wheel
52-
pip install -q -r <(sed '/^tensorflow/d;/^keras/d;/^tensorflow-addons/d;/^mxnet/d' requirements_test.txt)
52+
pip install -q -r <(sed '/^tensorflow/d;/^keras/d;/^tensorflow-addons/d' requirements_test.txt)
5353
pip install tensorflow==${{ matrix.tensorflow }}
5454
pip install keras==${{ matrix.keras }}
5555
pip install tensorflow-addons==${{ matrix.tf_addons }}

requirements_test.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ multiprocess>=0.70.12
2626

2727
tensorflow==2.18.1
2828
keras==3.10.0
29-
tensorflow-addons==0.23.0
3029

3130
# PyTorch
3231
torch==2.7.0

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ def get_version(rel_path):
6262
"gpy": ["GPy"],
6363
"keras": ["keras", "h5py"],
6464
"lightgbm": ["lightgbm"],
65-
"tensorflow": ["tensorflow", "tensorflow_addons", "h5py"],
66-
"tensorflow_image": ["tensorflow", "tensorflow_addons", "h5py", "Pillow", "ffmpeg-python", "opencv-python"],
67-
"tensorflow_audio": ["tensorflow", "tensorflow_addons", "h5py", "pydub", "resampy", "librosa"],
65+
"tensorflow": ["tensorflow", "h5py"],
66+
"tensorflow_image": ["tensorflow", "h5py", "Pillow", "ffmpeg-python", "opencv-python"],
67+
"tensorflow_audio": ["tensorflow", "h5py", "pydub", "resampy", "librosa"],
6868
"pytorch": ["torch", "torchvision"],
6969
"pytorch_image": ["torch", "torchvision", "kornia", "Pillow", "ffmpeg-python", "opencv-python"],
7070
"pytorch_audio": ["torch", "torchvision", "torchaudio", "pydub", "resampy", "librosa"],

0 commit comments

Comments
 (0)