Limiting the cpu usage when training rl agent using Isaac Gym

I am using Isaac Gym simulator on a remote ubuntu server. I need to share this server with others so that I can only use the first 24 cpu cores. I am using python package psutil to assign the cpu_affinity, but it turns out this process does not work, the program still use all the cores of the server. Do any one has idea about this, thanks!

1 Like

Is this issue figured out?