Darian
10/31/2023, 1:25 AMdocker run --gpus=all --entrypoint python <IMAGE URL> path/to/python/file.py
.
Yet when I try to run the same (GPU bound) python file using a prefect agent, the container is run without the --gpus=all
switch and lacks GPU support, which renders the code unusable.
We have tried running the prefect agent with 'NVIDIA_VISIBLE_DEVICES=all' as an enviroment variable both from the CLI and as a systemd service, to no avail. Note that this env. var. does not replace the need for '--gpus=all' switch.
Your help is truly appreciated🙏Robert Kowalski
11/16/2023, 8:57 AM