Operating system: Ubuntu 22.04.3 LTS
Graphics card: GeForce RTX 4070 Ti SUPER
Driver: NVIDIA-SMI 550.54.15
CUDA Version: 12.4
python==3.11.9
bpy== 4.1.0
celery==5.3.4
I am developing a microservice for rendering 3D models. My service operates in conjunction with Celery, running in eventlen mode. It functions within a Docker container where one Celery worker is running. There are 2 such containers running on one server that are engaged in rendering. Rendering takes place on a graphics card using CUDA cores. The average rendering time is an hour and a half. Sometimes I encounter the error Error: Failed to create CUDA context (Not permitted) After studying the source code, I suspect this is related to a CUDA error 800, arising from the cudaLaunchCooperativeKernel kernel.
Can it be stated that multiple renders cannot be run on a single machine, even if they are in different Docker containers?
What causes this error? Any recommendations?