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
6945201d
"src/git@developer.sourcefind.cn:one/TransferBench.git" did not exist on "ae843a6f9998eaef5d4e9604ae2127cc6cc3fecb"
Unverified
Commit
6945201d
authored
Sep 15, 2022
by
Andrey Talman
Committed by
GitHub
Sep 15, 2022
Browse files
Add conda install step for torchvision (#6590)
parent
fad476a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
.github/workflows/build-m1-binaries.yml
.github/workflows/build-m1-binaries.yml
+4
-1
No files found.
.github/workflows/build-m1-binaries.yml
View file @
6945201d
...
@@ -36,6 +36,8 @@ jobs:
...
@@ -36,6 +36,8 @@ jobs:
if
:
${{ (github.event_name == 'pull_request' && startsWith(github.base_ref, 'release')) || startsWith(github.ref, 'refs/heads/release') }}
if
:
${{ (github.event_name == 'pull_request' && startsWith(github.base_ref, 'release')) || startsWith(github.ref, 'refs/heads/release') }}
run
:
|
run
:
|
echo "CHANNEL=test" >> "$GITHUB_ENV"
echo "CHANNEL=test" >> "$GITHUB_ENV"
-
name
:
Setup miniconda
uses
:
pytorch/test-infra/.github/actions/setup-miniconda@main
-
name
:
Build TorchVision M1 wheel
-
name
:
Build TorchVision M1 wheel
shell
:
arch -arch arm64 bash {0}
shell
:
arch -arch arm64 bash {0}
env
:
env
:
...
@@ -109,12 +111,13 @@ jobs:
...
@@ -109,12 +111,13 @@ jobs:
if
:
${{ (github.event_name == 'pull_request' && startsWith(github.base_ref, 'release')) || startsWith(github.ref, 'refs/heads/release') }}
if
:
${{ (github.event_name == 'pull_request' && startsWith(github.base_ref, 'release')) || startsWith(github.ref, 'refs/heads/release') }}
run
:
|
run
:
|
echo "CHANNEL=test" >> "$GITHUB_ENV"
echo "CHANNEL=test" >> "$GITHUB_ENV"
-
name
:
Setup miniconda
uses
:
pytorch/test-infra/.github/actions/setup-miniconda@main
-
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
:
|
conda install -yq conda-build
conda install -yq conda-build
conda build purge-all
conda build purge-all
-
name
:
Build TorchVision M1 conda package
-
name
:
Build TorchVision M1 conda package
shell
:
arch -arch arm64 bash {0}
shell
:
arch -arch arm64 bash {0}
env
:
env
:
...
...
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