Skip to content

Commit

Permalink
minor conda
Browse files Browse the repository at this point in the history
  • Loading branch information
a-saraf committed Oct 25, 2023
1 parent b0f7f88 commit f6ae969
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sims/Timeloop/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ CMD 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
CMD conda run -n oss-arch-gym
RUN echo "conda activate arch-gym" >> ~/.bashrc
CMD conda run -n arch-gym
SHELL ["/bin/bash", "--login", "-c"]

RUN cd oss-arch-gym/acme && pip install .[jax,tf,testing,envs]
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/bin/conda/envs/oss-arch-gym/lib
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/bin/conda/envs/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", "arch-gym", "python", "/home/workspace/src/timeloop-examples/workspace/final-project/example_designs/eyeriss_like/arch-gym/sims/Timeloop/launch_gcp.py"]

0 comments on commit f6ae969

Please sign in to comment.