wilicc / gpu-burn

Multi-GPU CUDA stress test
BSD 2-Clause "Simplified" License
1.37k stars 295 forks source link

Cannot interrupt the process with ctrl-c #106

Closed jmakov closed 2 months ago

jmakov commented 4 months ago

Running docker run --rm --gpus all -t gpu_burn ./gpu_burn -tc 3600 and pressing ctrl-c doesn't do anything. Would expect to exit the process. docker stop mycontainerID works though.

daniel-dona commented 2 months ago

Try passing "-i" to the docker run. That should make it interactive so stdin is passed to the command running inside the container, including Ctrl-C.