Skip to content

Commit

Permalink
temp
Browse files Browse the repository at this point in the history
  • Loading branch information
a-saraf committed Dec 12, 2023
1 parent 5897169 commit 3276b57
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions sims/Timeloop/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
FROM nelliewu/accelergy-timeloop-infrastructure:latest AS builder
#
# Main image
#
FROM timeloopaccelergy/accelergy-timeloop-infrastructure:latest

RUN if ! id 1000; then useradd -m -u 1000 clouduser; fi

# Install the base utilities
RUN apt-get update -y \
&& apt-get install -y less \
Expand Down Expand Up @@ -40,8 +35,8 @@ RUN echo "conda activate arch-gym" >> ~/.bashrc
SHELL ["conda", "run", "-n", "arch-gym", "/bin/bash", "--login", "-c"]

RUN cd oss-arch-gym/acme && pip install .[tf,testing,envs,jax]
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/bin/conda/envs/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", "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/oss-arch-gym/sims/Timeloop/launch_gcp.py"]

0 comments on commit 3276b57

Please sign in to comment.