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
72e076eb
"git@developer.sourcefind.cn:OpenDAS/fastmoe.git" did not exist on "b0704f1d4748ccc4c56bdc367c20eae7a480ce3d"
Unverified
Commit
72e076eb
authored
Aug 15, 2022
by
Andrey Talman
Committed by
GitHub
Aug 15, 2022
Browse files
Fix anaconda upload step (#6422)
parent
e8f7600a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
.github/workflows/build-m1-binaries.yml
.github/workflows/build-m1-binaries.yml
+2
-7
No files found.
.github/workflows/build-m1-binaries.yml
View file @
72e076eb
...
@@ -42,9 +42,7 @@ jobs:
...
@@ -42,9 +42,7 @@ jobs:
ENV_NAME
:
conda-env-${{ github.run_id }}
ENV_NAME
:
conda-env-${{ github.run_id }}
PY_VERS
:
${{ matrix.py_vers }}
PY_VERS
:
${{ matrix.py_vers }}
run
:
|
run
:
|
. ~/miniconda3/etc/profile.d/conda.sh
# Needed for JPEG library detection as setup.py detects conda presence by running `shutil.which('conda')`
# Needed for JPEG library detection as setup.py detects conda presence by running `shutil.which('conda')`
export PATH=~/miniconda3/bin:$PATH
set -ex
set -ex
. packaging/pkg_helpers.bash
. packaging/pkg_helpers.bash
# if we are uploading to test channell, our version consist only of the base: 0.x.x - no date string or suffix added
# if we are uploading to test channell, our version consist only of the base: 0.x.x - no date string or suffix added
...
@@ -67,7 +65,6 @@ jobs:
...
@@ -67,7 +65,6 @@ jobs:
ENV_NAME
:
conda-test-env-${{ github.run_id }}
ENV_NAME
:
conda-test-env-${{ github.run_id }}
PY_VERS
:
${{ matrix.py_vers }}
PY_VERS
:
${{ matrix.py_vers }}
run
:
|
run
:
|
. ~/miniconda3/etc/profile.d/conda.sh
set -ex
set -ex
conda create -yp ${ENV_NAME} python=${PY_VERS} numpy
conda create -yp ${ENV_NAME} python=${PY_VERS} numpy
conda run -p ${ENV_NAME} python3 -mpip install torch --pre --extra-index-url=https://download.pytorch.org/whl/${CHANNEL}
conda run -p ${ENV_NAME} python3 -mpip install torch --pre --extra-index-url=https://download.pytorch.org/whl/${CHANNEL}
...
@@ -115,7 +112,6 @@ jobs:
...
@@ -115,7 +112,6 @@ jobs:
-
name
:
Install conda-build and purge previous artifacts
-
name
:
Install conda-build and purge previous artifacts
shell
:
arch -arch arm64 bash {0}
shell
:
arch -arch arm64 bash {0}
run
:
|
run
:
|
. ~/miniconda3/etc/profile.d/conda.sh
conda install -yq conda-build
conda install -yq conda-build
conda build purge-all
conda build purge-all
...
@@ -126,7 +122,6 @@ jobs:
...
@@ -126,7 +122,6 @@ jobs:
PYTHON_VERSION
:
${{ matrix.py_vers }}
PYTHON_VERSION
:
${{ matrix.py_vers }}
CU_VERSION
:
cpu
CU_VERSION
:
cpu
run
:
|
run
:
|
. ~/miniconda3/etc/profile.d/conda.sh
set -ex
set -ex
. packaging/pkg_helpers.bash
. packaging/pkg_helpers.bash
...
@@ -156,7 +151,7 @@ jobs:
...
@@ -156,7 +151,7 @@ jobs:
env
:
env
:
CONDA_PYTORCHBOT_TOKEN
:
${{ secrets.CONDA_PYTORCHBOT_TOKEN }}
CONDA_PYTORCHBOT_TOKEN
:
${{ secrets.CONDA_PYTORCHBOT_TOKEN }}
run
:
|
run
:
|
. ~/miniconda3/etc/profile.d/conda.sh
conda install -yq anaconda-client
conda install -yq anaconda-client
set -x
set -x
~/miniconda3/bin/anaconda -t "${CONDA_PYTORCHBOT_TOKEN}" upload ~/miniconda3/conda-bld/osx-arm64/*.tar.bz2 -u "pytorch-${CHANNEL}" --label main --no-progress --force
export ANACONDA_PATH=$(conda info --base)/bin
$ANACONDA_PATH/anaconda -t "${CONDA_PYTORCHBOT_TOKEN}" upload ~/miniconda3/conda-bld/osx-arm64/*.tar.bz2 -u "pytorch-${CHANNEL}" --label main --no-progress --force
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