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

chore: fix build step for triton deploy + wandb/distributed_test #32

Merged
merged 2 commits into from
Aug 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 5 additions & 0 deletions docker_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,10 +220,15 @@ def _get_image_paths_dir_and_subdir(repo: str):

image_formatted = image.replace("/", "_")

platforms = ["linux/amd64", "linux/arm64"]
if image == "distributed_test": # hack for amd-only distributed job
platforms = ["linux/amd64"]

build(
image=f"wandb/job_{image_formatted}",
context_path=os.path.join(repo, "jobs", image),
dockerfile=os.path.join(repo, "jobs", image, "Dockerfile"),
cache_from_image=f"wandb/{image_formatted}",
extra_write_tags=extra_write_tags,
platforms=platforms
)
1 change: 1 addition & 0 deletions jobs/deploy_to_nvidia_triton/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
FROM python:3.9-slim
RUN apt update && apt install gcc -y

RUN apt-get update && apt-get install -y --no-install-recommends build-essential
# RUN apt-get update && apt-get install -y --no-install-recommends apt-utils
# RUN apt-get -y install curl
# RUN apt-get install libgomp1
Expand Down