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

Adjust Merlin library installs in the nightly images #839

Merged
merged 1 commit into from
Feb 23, 2023
Merged
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
33 changes: 22 additions & 11 deletions docker/dockerfile-nightly.merlin
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,33 @@ FROM ${FULL_IMAGE} as current
ARG CONTAINER

# Add Merlin Repo
RUN cd /Merlin && git checkout main && git pull origin main
RUN rm -rf /Merlin && git clone --depth 1 https://github.com/NVIDIA-Merlin/Merlin/ /Merlin && \
cd /Merlin/ && pip install . --no-deps

# Install Merlin Core main branch
RUN cd /core/ && git checkout main && git pull origin main && pip install . --no-deps
# Install Merlin Core
RUN rm -rf /core && git clone --depth 1 https://github.com/NVIDIA-Merlin/core.git /core/ && \
cd /core/ && pip install . --no-deps

# Install NVTabular main branch
RUN cd /nvtabular/ && git checkout main && git pull origin main && pip install . --no-deps
# Install Merlin Dataloader
RUN rm -rf /dataloader && git clone --depth 1 https://github.com/NVIDIA-Merlin/dataloader.git /dataloader/ && \
cd /dataloader/ && pip install . --no-deps

# Install Merlin Systems main branch
RUN cd /systems/ && git checkout main && git pull origin main && pip install . --no-deps
# Install NVTabular
ENV PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION='python'
RUN rm -rf /nvtabular && git clone --depth 1 https://github.com/NVIDIA-Merlin/NVTabular.git /nvtabular/ && \
cd /nvtabular/ && pip install . --no-deps

# Install Models main branch
RUN cd /models/ && git checkout main && git pull origin main && pip install . --no-deps
# Install Merlin Systems
RUN rm -rf /systems && git clone --depth 1 https://github.com/NVIDIA-Merlin/systems.git /systems/ && \
cd /systems/ && pip install . --no-deps

# Install Transformers4Rec main branch
RUN cd /transformers4rec/ && git checkout main && git pull origin main && pip install . --no-deps
# Install Models
RUN rm -rf /models && git clone --depth 1 https://github.com/NVIDIA-Merlin/Models.git /models/ && \
cd /models/ && pip install . --no-deps

# Install Transformers4Rec
RUN rm -rf /transformers4rec && git clone --depth 1 https://github.com/NVIDIA-Merlin/Transformers4Rec.git /transformers4rec && \
cd /transformers4rec/ && pip install . --no-deps


# -----------------------------------------------------------------------------
Expand Down