'Can I shutdown Ray[RLlib] A3C model's Rolloutworker when inferencing?

Is there a way to shutdown or kill the rolloutworker of the Ray A3C model? I noticed that it's required to init a A3C trainer but not useful in the inference purpose. It comsumed a lot of cpu resource.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source