Skip to content

Commit 9e347e6

Browse files
authored
Merge branch 'dev_1.18.0' into pytorch-yolo-rebase
2 parents 2b79aa9 + 80fd393 commit 9e347e6

File tree

66 files changed

+1495
-33
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+1495
-33
lines changed

.github/actions/deepspeech-v3/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
pod# Get base from a pytorch image
2-
FROM pytorch/pytorch:2.1.1-cuda12.1-cudnn8-runtime
1+
# Get base from a pytorch image
2+
FROM python:3.10.13-slim-bullseye
33

44
# Set to install things in non-interactive mode
55
ENV DEBIAN_FRONTEND noninteractive
@@ -26,10 +26,10 @@ RUN apt-get update \
2626
RUN pip install --ignore-installed PyYAML torch==2.1.1 tensorflow==2.14.1 torchaudio==2.1.1 pytorch-lightning==2.1.2 scikit-learn==1.3.2
2727
RUN pip install --no-build-isolation fairscale==0.4.13
2828

29-
RUN git clone https://github.com/SeanNaren/deepspeech.pytorch.git
30-
RUN cd deepspeech.pytorch && sed -i '/^sklearn/d' requirements.txt && pip install -r requirements.txt && pip install -e .
29+
RUN git clone https://github.com/SeanNaren/deepspeech.pytorch.git && cd deepspeech.pytorch && sed -i '/^sklearn/d' requirements.txt && pip install -r requirements.txt && pip install -e .
3130

3231
RUN pip install numba==0.56.4 pytest-cov==4.1.0 pydub==0.25.1
33-
RUN pip list
3432

3533
RUN mkdir -p /root/.art/data && cd /root/.art/data && curl -LJO "https://github.com/SeanNaren/deepspeech.pytorch/releases/download/V3.0/librispeech_pretrained_v3.ckpt"
34+
35+
CMD ["/bin/bash"]

.github/workflows/ci-lingvo.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
sudo apt-get update
5151
sudo apt-get -y -q install ffmpeg libavcodec-extra
5252
python -m pip install --upgrade pip setuptools wheel
53-
pip install -q -r <(sed '/^scipy/d;/^matplotlib/d;/^pandas/d;/^statsmodels/d;/^numba/d;/^jax/d;/^h5py/d;/^Pillow/d;/^pytest/d;/^pytest-mock/d;/^torch/d;/^torchaudio/d;/^torchvision/d;/^xgboost/d;/^requests/d;/^tensorflow/d;/^keras/d;/^kornia/d;/^librosa/d;/^tqdm/d;/^timm/d;/^catboost/d' requirements_test.txt)
53+
pip install -q -r <(sed '/^scipy/d;/^matplotlib/d;/^pandas/d;/^statsmodels/d;/^numba/d;/^jax/d;/^h5py/d;/^Pillow/d;/^pytest/d;/^pytest-mock/d;/^torch/d;/^torchaudio/d;/^torchvision/d;/^xgboost/d;/^requests/d;/^tensorflow/d;/^keras/d;/^kornia/d;/^librosa/d;/^tqdm/d;/^timm/d;/^catboost/d;/^scikit-learn/d' requirements_test.txt)
5454
pip install scipy==1.5.4
5555
pip install matplotlib==3.3.4
5656
pip install pandas==1.1.5
@@ -75,6 +75,7 @@ jobs:
7575
pip install librosa==0.9.2
7676
pip install tqdm==4.64.1
7777
pip install catboost==1.1.1
78+
pip install scikit-learn==0.24.2
7879
pip list
7980
- name: Run ${{ matrix.name }} Tests
8081
run: pytest --cov-report=xml --cov=art --cov-append -q -vv tests/estimators/speech_recognition/test_tensorflow_lingvo.py --framework=${{ matrix.framework }} --durations=0

.github/workflows/ci-scikit-learn.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,14 @@ jobs:
2828
fail-fast: false
2929
matrix:
3030
include:
31-
- name: scikit-learn 1.1.3 (Python 3.9)
32-
framework: scikitlearn
33-
scikit-learn: 1.1.3
34-
python: 3.9
35-
- name: scikit-learn 1.2.2 (Python 3.10)
36-
framework: scikitlearn
37-
scikit-learn: 1.2.2
38-
python: '3.10'
3931
- name: scikit-learn 1.3.2 (Python 3.10)
4032
framework: scikitlearn
4133
scikit-learn: 1.3.2
4234
python: '3.10'
35+
- name: scikit-learn 1.4.0 (Python 3.10)
36+
framework: scikitlearn
37+
scikit-learn: 1.4.0
38+
python: '3.10'
4339

4440
name: ${{ matrix.name }}
4541
steps:

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

Lines changed: 2 additions & 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 '/^pandas/d;/^scipy/d;/^matplotlib/d;/^xgboost/d;/^tensorflow/d;/^keras/d;/^jax/d;/^torch/d;/^Pillow/d;/^h5py/d' requirements_test.txt)
51+
pip install -q -r <(sed '/^pandas/d;/^scipy/d;/^matplotlib/d;/^xgboost/d;/^tensorflow/d;/^keras/d;/^jax/d;/^torch/d;/^Pillow/d;/^h5py/d;/^scikit-learn/d' requirements_test.txt)
5252
pip install pandas==1.3.5
5353
pip install scipy==1.7.2
5454
pip install matplotlib==3.5.3
@@ -62,6 +62,7 @@ jobs:
6262
pip install torchvision==0.14.1+cpu
6363
pip install Pillow==9.5.0
6464
pip install h5py==3.8.0
65+
pip install scikit-learn==1.0.2
6566
pip list
6667
- name: Run Tests
6768
run: ./run_tests.sh ${{ matrix.framework }}

.github/workflows/dockerhub.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ jobs:
3131

3232
- name: Extract metadata (tags, labels) for Docker
3333
id: meta
34-
uses: docker/metadata-action@9dc751fe249ad99385a2583ee0d084c400eee04e
34+
uses: docker/metadata-action@dbef88086f6cef02e264edb7dbf63250c17cef6c
3535
with:
3636
images: adversarialrobustnesstoolbox/releases
3737
tags: |
38-
type=raw,value={{branch}}-1.17.0-{{sha}}
38+
type=raw,value={{branch}}-1.17.1-{{sha}}
3939
type=semver,pattern={{version}}
4040
4141
- name: Build and push Docker image

art/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from art import preprocessing
1313

1414
# Semantic Version
15-
__version__ = "1.17.0"
15+
__version__ = "1.17.1"
1616

1717
# pylint: disable=C0103
1818

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
# The short X.Y version
2828
version = "1.17"
2929
# The full version, including alpha/beta/rc tags
30-
release = "1.17.0"
30+
release = "1.17.1"
3131

3232

3333
# -- General configuration ---------------------------------------------------

notebooks/README.md

Lines changed: 11 additions & 0 deletions

notebooks/hugging_face_evasion.ipynb

Lines changed: 764 additions & 0 deletions
Large diffs are not rendered by default.

notebooks/hugging_face_poisoning.ipynb

Lines changed: 682 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)