I think the problem is that each process has its own memeory. This means that in the process blender_process
the variable nvidia_cmd
is not set and will be always None. (nvidia_cmd
is only set inside the other process)
You need to share nvidia_cmd
between the precesses. E.g. Queue
.