When running the setup_docker.sh script, the use of newgrp before checking for the installation of NVIDIA-container-tools opens a new shell session and pauses execution of the original script unless the new shell session (created by newgrp) is exited, potentially hindering use of GPU in the docker as nvidia-container-tools are not being downloaded and installed at that time if the script is run for the first time. A solution would be to check for tidl_gpu_tools before calling newgrp at the end of the file and continuing with build_docker.sh and run_docker.sh in the newgrp shell session.
When running the setup_docker.sh script, the use of newgrp before checking for the installation of NVIDIA-container-tools opens a new shell session and pauses execution of the original script unless the new shell session (created by newgrp) is exited, potentially hindering use of GPU in the docker as nvidia-container-tools are not being downloaded and installed at that time if the script is run for the first time. A solution would be to check for tidl_gpu_tools before calling newgrp at the end of the file and continuing with build_docker.sh and run_docker.sh in the newgrp shell session.