[rllib] How to prevent from creating evaluation workers

I am working with DQN in rllib. I set to have only one local worker and use my custom evaluation function to evaluate.
In my custom evaluation function, I just want to use compute_action method of Trainer. So
for the sake of reducing memory usage, I want to prevent from creating evaluation (local) worker. I found that there is always a evaluation (local) worker.
How to do this?

1 Like