@@ -62,25 +62,26 @@ Additional note: we provide all the sampling and code-scraping data -- therefore
6262```
6363git clone https://github.com/Scientific-Computing-Lab/gpuFLOPBench.git ./gpu-flopbench
6464
65+ # we only really need the Dockerfile from the repo
6566cd ./gpu-flopbench
6667
67- # one of our code scrape files is 100MB, so we need to fetch it via Git LFS
68- git lfs install && git lfs pull && git lfs fetch --all && git lfs checkout
69-
68+ # this takes about 10-20 minutes
7069docker build --progress=plain -t 'gpu-flopbench' .
7170
7271## Alternative docker build if host machine is Apple Silicon (M1/2/3/4)
7372docker build --platform=linux/amd64 --progress=plain -t 'gpu-flopbench' .
7473
75- docker run -ti --gpus all --name gpu-flopbench-container --runtime=nvidia -e NVIDIA_DRIVER_CAPABILITIES=compute,utility -e NVIDIA_VISIBLE_DEVICES=all gpu-flopbench
74+ # please make sure that the Settings > Resources > Network > 'Enable Host Networking' option is enabled on Docker Desktop
75+ # this is so you can run and view Jupyter Notebooks
76+ docker run -ti --network=host --gpus all --name gpu-flopbench-container --runtime=nvidia -e NVIDIA_DRIVER_CAPABILITIES=compute,utility -e NVIDIA_VISIBLE_DEVICES=all gpu-flopbench
7677
7778## Alternative docker run if host machine is Apple Silicon (M1/2/3/4)
78- docker run -ti --name gpu-flopbench-container --platform=linux/amd64 gpu-flopbench
79+ docker run -ti --network=host -- name gpu-flopbench-container --platform=linux/amd64 gpu-flopbench
7980
8081docker exec -it gpu-flopbench-container /bin/bash
8182```
8283
83- Note: if you're on a ** Windows Docker Desktop** host, be sure to enable the following:
84+ Note: if you're on a ** Windows Docker Desktop** host, be sure to enable the following for GPU access :
8485```
8586NVIDIA Control Panel >> Desktop Tab >> Enable Developer Settings (make sure it's enabled)
8687
0 commit comments