deprecate py 3.9 support, set min pytorch version (#1343) [skip ci]
Browse files- .github/workflows/lint.yml +1 -1
- .github/workflows/tests.yml +2 -2
- docker/Dockerfile +1 -1
- docker/Dockerfile-base +2 -2
- docker/Dockerfile-tests +1 -1
.github/workflows/lint.yml
CHANGED
@@ -17,6 +17,6 @@ jobs:
|
|
17 |
- uses: actions/checkout@v3
|
18 |
- uses: actions/setup-python@v4
|
19 |
with:
|
20 |
-
python-version: "3.
|
21 |
cache: 'pip' # caching pip dependencies
|
22 |
- uses: pre-commit/action@v3.0.0
|
|
|
17 |
- uses: actions/checkout@v3
|
18 |
- uses: actions/setup-python@v4
|
19 |
with:
|
20 |
+
python-version: "3.10"
|
21 |
cache: 'pip' # caching pip dependencies
|
22 |
- uses: pre-commit/action@v3.0.0
|
.github/workflows/tests.yml
CHANGED
@@ -23,7 +23,7 @@ jobs:
|
|
23 |
- uses: actions/checkout@v3
|
24 |
- uses: actions/setup-python@v4
|
25 |
with:
|
26 |
-
python-version: "3.
|
27 |
cache: 'pip' # caching pip dependencies
|
28 |
- uses: pre-commit/action@v3.0.0
|
29 |
|
@@ -33,7 +33,7 @@ jobs:
|
|
33 |
strategy:
|
34 |
fail-fast: false
|
35 |
matrix:
|
36 |
-
python_version: ["3.
|
37 |
timeout-minutes: 10
|
38 |
|
39 |
steps:
|
|
|
23 |
- uses: actions/checkout@v3
|
24 |
- uses: actions/setup-python@v4
|
25 |
with:
|
26 |
+
python-version: "3.10"
|
27 |
cache: 'pip' # caching pip dependencies
|
28 |
- uses: pre-commit/action@v3.0.0
|
29 |
|
|
|
33 |
strategy:
|
34 |
fail-fast: false
|
35 |
matrix:
|
36 |
+
python_version: ["3.10", "3.11"]
|
37 |
timeout-minutes: 10
|
38 |
|
39 |
steps:
|
docker/Dockerfile
CHANGED
@@ -6,7 +6,7 @@ ARG AXOLOTL_EXTRAS=""
|
|
6 |
ARG AXOLOTL_ARGS=""
|
7 |
ARG CUDA="118"
|
8 |
ENV BNB_CUDA_VERSION=$CUDA
|
9 |
-
ARG PYTORCH_VERSION="2.
|
10 |
|
11 |
ENV PYTORCH_VERSION=$PYTORCH_VERSION
|
12 |
|
|
|
6 |
ARG AXOLOTL_ARGS=""
|
7 |
ARG CUDA="118"
|
8 |
ENV BNB_CUDA_VERSION=$CUDA
|
9 |
+
ARG PYTORCH_VERSION="2.1.2"
|
10 |
|
11 |
ENV PYTORCH_VERSION=$PYTORCH_VERSION
|
12 |
|
docker/Dockerfile-base
CHANGED
@@ -7,8 +7,8 @@ FROM nvidia/cuda:$CUDA_VERSION-cudnn$CUDNN_VERSION-devel-ubuntu$UBUNTU_VERSION a
|
|
7 |
|
8 |
ENV PATH="/root/miniconda3/bin:${PATH}"
|
9 |
|
10 |
-
ARG PYTHON_VERSION="3.
|
11 |
-
ARG PYTORCH_VERSION="2.
|
12 |
ARG CUDA="118"
|
13 |
ARG TORCH_CUDA_ARCH_LIST="7.0 7.5 8.0 8.6 9.0+PTX"
|
14 |
|
|
|
7 |
|
8 |
ENV PATH="/root/miniconda3/bin:${PATH}"
|
9 |
|
10 |
+
ARG PYTHON_VERSION="3.10"
|
11 |
+
ARG PYTORCH_VERSION="2.1.2"
|
12 |
ARG CUDA="118"
|
13 |
ARG TORCH_CUDA_ARCH_LIST="7.0 7.5 8.0 8.6 9.0+PTX"
|
14 |
|
docker/Dockerfile-tests
CHANGED
@@ -6,7 +6,7 @@ ARG AXOLOTL_EXTRAS=""
|
|
6 |
ARG AXOLOTL_ARGS=""
|
7 |
ARG CUDA="118"
|
8 |
ENV BNB_CUDA_VERSION=$CUDA
|
9 |
-
ARG PYTORCH_VERSION="2.
|
10 |
ARG GITHUB_REF="main"
|
11 |
|
12 |
ENV PYTORCH_VERSION=$PYTORCH_VERSION
|
|
|
6 |
ARG AXOLOTL_ARGS=""
|
7 |
ARG CUDA="118"
|
8 |
ENV BNB_CUDA_VERSION=$CUDA
|
9 |
+
ARG PYTORCH_VERSION="2.1.2"
|
10 |
ARG GITHUB_REF="main"
|
11 |
|
12 |
ENV PYTORCH_VERSION=$PYTORCH_VERSION
|