Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker aarch #3323

Merged
merged 45 commits into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
500db43
adding graviton docker image
udaij12 Sep 12, 2024
4249135
testing multiplatform ci
udaij12 Sep 13, 2024
f62f158
testing multiplatform ci
udaij12 Sep 13, 2024
b2775eb
testing multiplatform ci
udaij12 Sep 13, 2024
45df794
adding new builder
udaij12 Sep 13, 2024
7619552
removing arm
udaij12 Sep 13, 2024
33cabbc
removing arm
udaij12 Sep 13, 2024
debdb7f
testing arm
udaij12 Sep 13, 2024
1a6d0aa
tests
udaij12 Sep 13, 2024
b8637a3
testing driver command
udaij12 Sep 13, 2024
3244d48
testing driver command
udaij12 Sep 13, 2024
528aff0
testing on newer instance
udaij12 Sep 14, 2024
d43e74e
testing on newer instance
udaij12 Sep 14, 2024
e54ee18
testing newer
udaij12 Sep 14, 2024
b79766d
rm command
udaij12 Sep 14, 2024
76e2a4c
changing platform
udaij12 Sep 15, 2024
61d523e
testing only amd
udaij12 Sep 15, 2024
ea4b4f9
testing both arch
udaij12 Sep 15, 2024
494cff9
testing both arch
udaij12 Sep 15, 2024
97d5c4c
testing both
udaij12 Sep 15, 2024
3a985ab
remove builder
udaij12 Sep 15, 2024
bee430b
remove builder
udaij12 Sep 15, 2024
2e619c2
adding amd
udaij12 Sep 15, 2024
a23b77d
building cache
udaij12 Sep 15, 2024
fead916
cache 3
udaij12 Sep 15, 2024
470b285
cache 4
udaij12 Sep 15, 2024
6bd6511
cache 4
udaij12 Sep 15, 2024
df0a0ef
final test
udaij12 Sep 15, 2024
473c05e
reverting temp changes
udaij12 Sep 15, 2024
06289de
Merge branch 'master' into docker_aarch
agunapal Sep 16, 2024
d6b0f63
testing official release
udaij12 Sep 16, 2024
8600b4c
Merge branch 'docker_aarch' of https://github.com/pytorch/serve into …
udaij12 Sep 16, 2024
e5edd18
testing official release
udaij12 Sep 16, 2024
ec9772f
testing official release
udaij12 Sep 16, 2024
9af2db5
adding kserve changes
udaij12 Sep 16, 2024
7faad18
Merge branch 'master' into docker_aarch
agunapal Sep 16, 2024
385ba55
kserve nightly
udaij12 Sep 16, 2024
6d6bd92
Merge branch 'docker_aarch' of https://github.com/pytorch/serve into …
udaij12 Sep 16, 2024
ebb0a6a
adding build context
udaij12 Sep 17, 2024
b2c917c
Merge branch 'master' into docker_aarch
udaij12 Sep 17, 2024
385ed7a
changing nightly push
udaij12 Sep 19, 2024
a45eb7c
Merge branch 'master' into docker_aarch
udaij12 Sep 19, 2024
a3079a4
remove push on official
udaij12 Sep 20, 2024
192785a
Merge branch 'docker_aarch' of https://github.com/pytorch/serve into …
udaij12 Sep 20, 2024
093c403
remove push on official
udaij12 Sep 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion kubernetes/kserve/build_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,5 @@ cp -r ../../third_party .
if [ "${MULTI}" == "true" ]; then
DOCKER_BUILDKIT=1 docker buildx build --file "$DOCKER_FILE" --build-arg BASE_IMAGE=$BASE_IMAGE --platform "${ARCH}" -t "$DOCKER_TAG" --push .
else
DOCKER_BUILDKIT=1 docker buildx build --file "$DOCKER_FILE" --build-arg BASE_IMAGE=$BASE_IMAGE -t "$DOCKER_TAG" --load .
DOCKER_BUILDKIT=1 docker buildx build --file "$DOCKER_FILE" --build-arg BASE_IMAGE=$BASE_IMAGE -t "$DOCKER_TAG" --push .
fi
5 changes: 0 additions & 5 deletions kubernetes/kserve/build_upload_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,6 @@
dry_run,
)

for image in [
f"{organization}/torchserve-kfs:{check_ts_version()}-gpu",
]:
try_and_handle(f"docker push {image}", dry_run)

# Cleanup built images
if args.cleanup:
try_and_handle(f"docker system prune --all --volumes -f", dry_run)
9 changes: 2 additions & 7 deletions kubernetes/kserve/docker_nightly.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,22 +43,17 @@
dry_run,
)

# Push Nightly images to official PyTorch Dockerhub account
try_and_handle(f"docker push {organization}/{gpu_version}", dry_run)

# Tag nightly images with latest
try_and_handle(
f"docker buildx imagetools create --tag {organization}/{project}:latest-cpu {organization}/{cpu_version}",
dry_run,
)

try_and_handle(
f"docker tag {organization}/{gpu_version} {organization}/{project}:latest-gpu",
f"docker buildx imagetools create --tag {organization}/{project}:latest-gpu {organization}/{gpu_version}",
dry_run,
)

# Push images with latest tag
try_and_handle(f"docker push {organization}/{project}:latest-gpu", dry_run)

# Cleanup built images
if args.cleanup:
try_and_handle(f"docker system prune --all --volumes -f", dry_run)
Loading