File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed
Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -59,10 +59,10 @@ RUN source ~/anaconda3/bin/activate && \
5959COPY . .
6060
6161# Run git-lfs pull to get large files
62- RUN git lfs install && \
63- git lfs pull && \
64- git lfs fetch --all \
65- && git lfs checkout
62+ # RUN git lfs install && \
63+ # git lfs pull && \
64+ # git lfs fetch --all \
65+ # && git lfs checkout
6666
6767# if we are on a windows host, we need to remove the CRLF characters from all the files
6868# RUN find . -type f -exec sed -i 's/\r$//' {} +
Original file line number Diff line number Diff line change @@ -65,6 +65,9 @@ cd ./gpu-flopbench
6565
6666docker build --progress=plain -t 'gpu-flopbench' .
6767
68+ ## Alternative docker build if host machine is Apple Silicon (M1/2/3/4)
69+ docker build --platform=linux/amd64 -t 'gpu-flopbench' .
70+
6871docker run -ti --gpus all --name gpu-flopbench-container --runtime=nvidia -e NVIDIA_DRIVER_CAPABILITIES=compute,utility -e NVIDIA_VISIBLE_DEVICES=all gpu-flopbench
6972
7073docker exec -it gpu-flopbench-container /bin/bash
Original file line number Diff line number Diff line change @@ -70,3 +70,5 @@ cmake -DCMAKE_C_COMPILER=clang \
7070 -S../ -B./
7171
7272make -j20 all
73+
74+ ls -a * -cuda > builtCUDACodes.txt
You can’t perform that action at this time.
0 commit comments