Skip to content

Commit

Permalink
Pass GPU to docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobi823 authored Oct 4, 2022
1 parent bd69ec3 commit f4a4e39
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docker/2_predict.sh → docker/2_predict_with_gpu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ docker run \
-v "$INPUT_LOCAL_DIR":/data/input \
-v "$OUTPUT_LOCAL_DIR":/data/output \
-u $(id -u):$(id -g) \
--gpus all \
--name="lama-predict" \
--rm \
windj007/lama \
Expand Down

0 comments on commit f4a4e39

Please sign in to comment.