diff --git a/sims/Timeloop/Dockerfile b/sims/Timeloop/Dockerfile index 0ca5100b..701206ae 100644 --- a/sims/Timeloop/Dockerfile +++ b/sims/Timeloop/Dockerfile @@ -26,17 +26,17 @@ RUN chown -R 1000:root /home/workspace && chmod -R 775 /home/workspace RUN git clone --recursive https://github.com/srivatsankrishnan/oss-arch-gym.git RUN chown -R 1000:root /home/workspace && chmod -R 775 /home/workspace RUN cd oss-arch-gym -RUN echo which conda -RUN conda env create -f environment.yml -RUN apt-get update && apt-get -y install libgmp-dev gcc g++ +RUN echo "which conda" +# RUN conda env create -f environment.yml +# RUN apt-get update && apt-get -y install libgmp-dev gcc g++ -# Make RUN commands use the new environment: -RUN echo "conda activate oss-arch-gym" >> ~/.bashrc -SHELL ["conda", "run", "-n", "oss-arch-gym", "/bin/bash", "--login", "-c"] +# # Make RUN commands use the new environment: +# RUN echo "conda activate oss-arch-gym" >> ~/.bashrc +# SHELL ["conda", "run", "-n", "oss-arch-gym", "/bin/bash", "--login", "-c"] -RUN cd oss-arch-gym/acme && pip install .[jax,tf,testing,envs] && pip install envlogger[tfds] && cd ../ && pip install -e . && pip install absl-py && pip install scikit-optimize -ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/bin/conda/envs/oss-arch-gym/lib -RUN echo $LD_LIBRARY_PATH +# RUN cd oss-arch-gym/acme && pip install .[jax,tf,testing,envs] && pip install envlogger[tfds] && cd ../ && pip install -e . && pip install absl-py && pip install scikit-optimize +# ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/bin/conda/envs/oss-arch-gym/lib +# RUN echo $LD_LIBRARY_PATH -ENTRYPOINT ["conda", "run", "-n", "oss-arch-gym", "python", "/home/workspace/src/timeloop-examples/workspace/final-project/example_designs/eyeriss_like/arch-gym/sims/Timeloop/launch_gcp.py"] +# ENTRYPOINT ["conda", "run", "-n", "oss-arch-gym", "python", "/home/workspace/src/timeloop-examples/workspace/final-project/example_designs/eyeriss_like/arch-gym/sims/Timeloop/launch_gcp.py"]