Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
b094075c
"src/git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "b024ebb96501b410ff21c8158cd075ceb3856404"
Unverified
Commit
b094075c
authored
Feb 01, 2023
by
Andrey Talman
Committed by
GitHub
Feb 01, 2023
Browse files
Deprecate CUDA 11.6 from CI, move to 11.7 (#7163)
parent
82c51c48
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
12 deletions
+13
-12
.circleci/config.yml
.circleci/config.yml
+1
-1
.circleci/config.yml.in
.circleci/config.yml.in
+1
-1
.circleci/unittest/windows/scripts/install.sh
.circleci/unittest/windows/scripts/install.sh
+2
-1
.github/workflows/prototype-tests-linux-gpu.yml
.github/workflows/prototype-tests-linux-gpu.yml
+7
-7
.github/workflows/test-linux-gpu.yml
.github/workflows/test-linux-gpu.yml
+2
-2
No files found.
.circleci/config.yml
View file @
b094075c
...
@@ -855,7 +855,7 @@ jobs:
...
@@ -855,7 +855,7 @@ jobs:
executor
:
executor
:
name
:
windows-gpu
name
:
windows-gpu
environment
:
environment
:
CUDA_VERSION
:
"
11.
6
"
CUDA_VERSION
:
"
11.
7
"
PYTHON_VERSION
:
<< parameters.python_version >>
PYTHON_VERSION
:
<< parameters.python_version >>
steps
:
steps
:
-
checkout
-
checkout
...
...
.circleci/config.yml.in
View file @
b094075c
...
@@ -855,7 +855,7 @@ jobs:
...
@@ -855,7 +855,7 @@ jobs:
executor:
executor:
name: windows-gpu
name: windows-gpu
environment:
environment:
CUDA_VERSION: "11.
6
"
CUDA_VERSION: "11.
7
"
PYTHON_VERSION: << parameters.python_version >>
PYTHON_VERSION: << parameters.python_version >>
steps:
steps:
- checkout
- checkout
...
...
.circleci/unittest/windows/scripts/install.sh
View file @
b094075c
#!/usr/bin/env bash
#!/usr/bin/env bash
unset
PYTORCH_VERSION
unset
PYTORCH_VERSION
...
@@ -24,7 +25,7 @@ else
...
@@ -24,7 +25,7 @@ else
fi
fi
cuda_toolkit_pckg
=
"cudatoolkit"
cuda_toolkit_pckg
=
"cudatoolkit"
if
[[
$CUDA_VERSION
==
11.6
||
$CUDA_VERSION
==
11.7
]]
;
then
if
[[
$CUDA_VERSION
==
11.6
||
$CUDA_VERSION
==
11.7
||
$CUDA_VERSION
==
11.8
]]
;
then
cuda_toolkit_pckg
=
"pytorch-cuda"
cuda_toolkit_pckg
=
"pytorch-cuda"
fi
fi
...
...
.github/workflows/prototype-tests-linux-gpu.yml
View file @
b094075c
...
@@ -17,7 +17,7 @@ jobs:
...
@@ -17,7 +17,7 @@ jobs:
include
:
include
:
-
python-version
:
"
3.8"
-
python-version
:
"
3.8"
gpu-arch-type
:
cuda
gpu-arch-type
:
cuda
gpu-arch-version
:
"
11.
6
"
gpu-arch-version
:
"
11.
7
"
runner
:
linux.4xlarge.nvidia.gpu
runner
:
linux.4xlarge.nvidia.gpu
fail-fast
:
false
fail-fast
:
false
uses
:
pytorch/test-infra/.github/workflows/linux_job.yml@main
uses
:
pytorch/test-infra/.github/workflows/linux_job.yml@main
...
@@ -40,7 +40,7 @@ jobs:
...
@@ -40,7 +40,7 @@ jobs:
PYTORCH_CHANNEL=pytorch-"${POSTFIX}"
PYTORCH_CHANNEL=pytorch-"${POSTFIX}"
echo "${PYTORCH_CHANNEL}"
echo "${PYTORCH_CHANNEL}"
echo '::endgroup::'
echo '::endgroup::'
echo '::group::Set PyTorch conda mutex'
echo '::group::Set PyTorch conda mutex'
if [[ ${{ matrix.gpu-arch-type }} = 'cuda' ]]; then
if [[ ${{ matrix.gpu-arch-type }} = 'cuda' ]]; then
PYTORCH_MUTEX="pytorch-cuda=${{ matrix.gpu-arch-version }}"
PYTORCH_MUTEX="pytorch-cuda=${{ matrix.gpu-arch-version }}"
...
@@ -49,7 +49,7 @@ jobs:
...
@@ -49,7 +49,7 @@ jobs:
fi
fi
echo "${PYTORCH_MUTEX}"
echo "${PYTORCH_MUTEX}"
echo '::endgroup::'
echo '::endgroup::'
echo '::group::Create conda environment'
echo '::group::Create conda environment'
conda create --prefix $PWD/ci \
conda create --prefix $PWD/ci \
--quiet --yes \
--quiet --yes \
...
@@ -69,21 +69,21 @@ jobs:
...
@@ -69,21 +69,21 @@ jobs:
python3 -c "import torch; exit(not torch.cuda.is_available())"
python3 -c "import torch; exit(not torch.cuda.is_available())"
fi
fi
echo '::endgroup::'
echo '::endgroup::'
echo '::group::Install TorchVision'
echo '::group::Install TorchVision'
python setup.py develop
python setup.py develop
echo '::endgroup::'
echo '::endgroup::'
echo '::group::Collect PyTorch environment information'
echo '::group::Collect PyTorch environment information'
python -m torch.utils.collect_env
python -m torch.utils.collect_env
echo '::endgroup::'
echo '::endgroup::'
echo '::group::Install testing utilities'
echo '::group::Install testing utilities'
pip install --progress-bar=off pytest pytest-mock pytest-cov
pip install --progress-bar=off pytest pytest-mock pytest-cov
echo '::endgroup::'
echo '::endgroup::'
echo '::group::Run prototype tests'
echo '::group::Run prototype tests'
# We don't want to run the prototype datasets tests. Since the positional glob into `pytest`, i.e.
# We don't want to run the prototype datasets tests. Since the positional glob into `pytest`, i.e.
# `test/test_prototype*.py` takes the highest priority, neither `--ignore` nor `--ignore-glob` can help us here.
# `test/test_prototype*.py` takes the highest priority, neither `--ignore` nor `--ignore-glob` can help us here.
rm test/test_prototype_datasets*.py
rm test/test_prototype_datasets*.py
pytest \
pytest \
...
...
.github/workflows/test-linux-gpu.yml
View file @
b094075c
...
@@ -17,7 +17,7 @@ jobs:
...
@@ -17,7 +17,7 @@ jobs:
strategy
:
strategy
:
matrix
:
matrix
:
python_version
:
[
"
3.8"
]
python_version
:
[
"
3.8"
]
cuda_arch_version
:
[
"
11.
6
"
]
cuda_arch_version
:
[
"
11.
7
"
]
fail-fast
:
false
fail-fast
:
false
uses
:
pytorch/test-infra/.github/workflows/linux_job.yml@main
uses
:
pytorch/test-infra/.github/workflows/linux_job.yml@main
with
:
with
:
...
@@ -45,7 +45,7 @@ jobs:
...
@@ -45,7 +45,7 @@ jobs:
# Create Conda Env
# Create Conda Env
conda create -yp ci_env python="${PYTHON_VERSION}" numpy libpng jpeg scipy
conda create -yp ci_env python="${PYTHON_VERSION}" numpy libpng jpeg scipy
conda activate /work/ci_env
conda activate /work/ci_env
# Install PyTorch, Torchvision, and testing libraries
# Install PyTorch, Torchvision, and testing libraries
set -ex
set -ex
conda install \
conda install \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment