Skip to content

Commit

Permalink
Distributed embeddings failing to install because of PYTHONPATH Edit …
Browse files Browse the repository at this point in the history
…before hand (#326)

* add entrypoint to all containers

* remove -e for pip installs

* add keyring to fix bad key nvidia issue

* trying to move env call to see if it helps fix the install of distributed embeddings after sok install
  • Loading branch information
jperez999 authored May 18, 2022
1 parent 57650bd commit d241d54
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker/training/dockerfile.tf
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ RUN if [ "$HUGECTR_DEV_MODE" == "false" ]; then \
popd && \
rm -rf build-env; \
fi
ENV PYTHONPATH=$PYTHONPATH:/usr/lib/python3.8/site-packages/merlin_sok-1.1.3-py3.8-linux-x86_64.egg
# Install distributed-embeddings
ARG INSTALL_DISTRIBUTED_EMBEDDINGS=true
Expand All @@ -114,6 +113,9 @@ RUN if [ "$INSTALL_DISTRIBUTED_EMBEDDINGS" == "true" ]; then \
make pip_pkg && pip install artifacts/*.whl && make clean; \
fi
ENV PYTHONPATH=$PYTHONPATH:/usr/lib/python3.8/site-packages/merlin_sok-1.1.3-py3.8-linux-x86_64.egg
# Clean up
RUN rm -rf /repos
RUN rm -rf /usr/local/share/jupyter/lab/staging/node_modules/marked
Expand Down

0 comments on commit d241d54

Please sign in to comment.