File tree Expand file tree Collapse file tree 7 files changed +21
-10
lines changed
TensorFlow2/Recommendation/WideAndDeep
TensorFlow/Recommendation/WideAndDeep Expand file tree Collapse file tree 7 files changed +21
-10
lines changed Original file line number Diff line number Diff line change @@ -24,11 +24,12 @@ RUN apt-get update && apt-get install -y \
2424
2525WORKDIR /workspace
2626
27+ RUN pip install --no-cache-dir nvidia-pyindex
28+
2729COPY requirements.txt .
2830
2931RUN pip uninstall -y typing && \
30- pip install --no-cache-dir --ignore-installed -r requirements.txt && \
31- pip install --no-cache-dir -e git+https://github.com/NVIDIA/dllogger#egg=dllogger
32+ pip install --no-cache-dir --ignore-installed -r requirements.txt
3233
3334COPY . .
3435
Original file line number Diff line number Diff line change 1+ nvidia-dllogger == 0.1.0
12pandas == 1.3.4
23pynvml == 11.0.0
Original file line number Diff line number Diff line change @@ -39,10 +39,11 @@ ENV SPARK_HOME /usr/local/spark
3939ENV PYTHONPATH $SPARK_HOME/python:$SPARK_HOME/python/lib/py4j-0.10.7-src.zip
4040ENV SPARK_OPTS --driver-java-options=-Xms1024M --driver-java-options=-Xmx4096M --driver-java-options=-Dlog4j.logLevel=info
4141
42- RUN pip install pyspark==2.3.1
43- RUN pip install --no-deps tensorflow-transform==0.24.1 apache-beam==2.14 tensorflow-metadata==0.14.0 pydot dill
44- RUN pip install ipdb
45- RUN pip install -e git://github.com/NVIDIA/dllogger#egg=dllogger
42+ RUN pip install --no-cache-dir nvidia-pyindex
43+
44+ COPY requirements* ./
45+ RUN pip install --no-cache-dir -r requirements.txt
46+ RUN pip install --no-cache-dir --no-deps -r requirements-no-deps.txt
4647
4748WORKDIR /wd
4849COPY . .
Original file line number Diff line number Diff line change 1+ tensorflow-transform==0.24.1
2+ apache-beam==2.14
3+ tensorflow-metadata==0.14.0
4+ pydot
5+ dill
Original file line number Diff line number Diff line change 1+ nvidia-dllogger == 0.1.0
2+ ipdb == 0.13.9
3+ pyspark == 2.3.1
Original file line number Diff line number Diff line change @@ -20,10 +20,9 @@ ENV HOROVOD_CYCLE_TIME=0.1
2020ENV HOROVOD_FUSION_THRESHOLD=67108864
2121ENV HOROVOD_NUM_STREAMS=2
2222
23-
24- USER root
25-
26- RUN pip install --no-cache-dir -e git+https://github.com/NVIDIA/dllogger#egg=dllogger
23+ RUN pip install --no-cache-dir nvidia-pyindex
24+ ADD requirements.txt .
25+ RUN pip install --no-cache-dir -r requirements.txt
2726
2827WORKDIR /wd
2928
Original file line number Diff line number Diff line change 1+ nvidia-dllogger == 0.1.0
You can’t perform that action at this time.
0 commit comments