Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
a-saraf committed Oct 26, 2023
1 parent 4214d0d commit e64bd26
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion sims/Timeloop/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ RUN cd oss-arch-gym/acme && pip install .[jax,tf,testing,envs]
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/oss-arch-gym/sims/Timeloop/script/run_timeloop.sh"]
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"]

10 changes: 5 additions & 5 deletions sims/Timeloop/script/run_timeloop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ HOME="/home/workspace"

cd /home/workspace/src/timeloop-examples/workspace/final-project/example_designs/eyeriss_like

OUTPUT_DIR="./../output"
OUTPUT_DIR="./oss-arch-gym/sims/Timeloop/output"
LAYER_SHAPE="AlexNet/AlexNet_layer5.yaml"

# Invoke timeloop
echo " " | timeloop-mapper ./../arch/eyeriss_like.yaml \
./../arch/components/*.yaml \
./../mapper/mapper.yaml constraints/*.yaml \
echo " " | timeloop-mapper ./oss-arch-gym/sims/Timeloop/arch/eyeriss_like.yaml \
./oss-arch-gym/sims/Timeloop/arch/components/*.yaml \
./oss-arch-gym/sims/Timeloop/mapper/mapper.yaml constraints/*.yaml \
../../layer_shapes/$LAYER_SHAPE >$OUTPUT_DIR/timeloop_simulation_output.txt

mv timeloop-mapper.stats.txt ./../output
mv timeloop-mapper.stats.txt ./oss-arch-gym/sims/Timeloop/output

0 comments on commit e64bd26

Please sign in to comment.