RuntimeError: CUDA error: an illegal memory access was encountered

I get the error when I use more than a certain number of API :‘gym.create_actor’.
Not number of all actors.

GPU: RTX A6000
Driver Version: 460.67
CUDA Version: 11.2

I solved it.

It seems that it was because the box actors are placed in a collision state.
Or
It seems that it was because 5 or more box actors are placed in a collision state.

1 Like