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
cab01fc1
"...git@developer.sourcefind.cn:OpenDAS/torchaudio.git" did not exist on "f663cb2874f918e7663c0daa1d3a3ae8636349ad"
Unverified
Commit
cab01fc1
authored
Aug 10, 2023
by
Andrey Talman
Committed by
GitHub
Aug 10, 2023
Browse files
Adding aarch64 linux builds (#7815)
parent
db310636
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
54 additions
and
1 deletion
+54
-1
.github/workflows/build-wheels-aarch64-linux.yml
.github/workflows/build-wheels-aarch64-linux.yml
+53
-0
packaging/wheel/relocate.py
packaging/wheel/relocate.py
+1
-1
No files found.
.github/workflows/build-wheels-aarch64-linux.yml
0 → 100644
View file @
cab01fc1
name
:
Build Aarch64 Linux Wheels
on
:
pull_request
:
push
:
branches
:
-
nightly
-
main
-
release/*
tags
:
# NOTE: Binary build pipelines should only get triggered on release candidate builds
# Release candidate tags look like: v1.11.0-rc1
-
v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+
workflow_dispatch
:
jobs
:
generate-matrix
:
uses
:
pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
with
:
package-type
:
wheel
os
:
linux-aarch64
test-infra-repository
:
pytorch/test-infra
test-infra-ref
:
main
with-cuda
:
disable
build
:
needs
:
generate-matrix
strategy
:
fail-fast
:
false
matrix
:
include
:
-
repository
:
pytorch/vision
pre-script
:
packaging/pre_build_script.sh
post-script
:
packaging/post_build_script.sh
smoke-test-script
:
test/smoke_test.py
package-name
:
torchvision
name
:
${{ matrix.repository }}
uses
:
pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main
with
:
repository
:
${{ matrix.repository }}
ref
:
"
"
test-infra-repository
:
pytorch/test-infra
test-infra-ref
:
main
build-matrix
:
${{ needs.generate-matrix.outputs.matrix }}
pre-script
:
${{ matrix.pre-script }}
post-script
:
${{ matrix.post-script }}
package-name
:
${{ matrix.package-name }}
smoke-test-script
:
${{ matrix.smoke-test-script }}
trigger-event
:
${{ github.event_name }}
architecture
:
aarch64
setup-miniconda
:
false
secrets
:
AWS_PYTORCH_UPLOADER_ACCESS_KEY_ID
:
${{ secrets.AWS_PYTORCH_UPLOADER_ACCESS_KEY_ID }}
AWS_PYTORCH_UPLOADER_SECRET_ACCESS_KEY
:
${{ secrets.AWS_PYTORCH_UPLOADER_SECRET_ACCESS_KEY }}
packaging/wheel/relocate.py
View file @
cab01fc1
...
@@ -181,7 +181,7 @@ def relocate_elf_library(patchelf, output_dir, output_library, binary):
...
@@ -181,7 +181,7 @@ def relocate_elf_library(patchelf, output_dir, output_library, binary):
print
(
"Copying dependencies to wheel directory"
)
print
(
"Copying dependencies to wheel directory"
)
new_libraries_path
=
osp
.
join
(
output_dir
,
"torchvision.libs"
)
new_libraries_path
=
osp
.
join
(
output_dir
,
"torchvision.libs"
)
os
.
makedirs
(
new_libraries_path
)
os
.
makedirs
(
new_libraries_path
,
exist_ok
=
True
)
new_names
=
{
binary
:
binary_path
}
new_names
=
{
binary
:
binary_path
}
...
...
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