Parallel computing for Reinforcement Learning training on VM
古いコメントを表示
Hi,
I am writing to ask if there's a way to increase the number of vCPU assigned to a worker when using parallel training for Reinforcement Learning application?
I noticed that the number of vCPU used at 100% is the same as the number of workers (set using parpool(numworkers)). When testing my model and running simulations on my local computer, the computational load exceeds the processing power of 1 vCPU. It took approximately 3-4 cores (50% of a typical intel i7 CPU) to run the simulation and train the agent.
Therefore, I would like to increase the number of vCPU assigned to a worker. I've tried to set 'numthreads' to 4 per worker, but that doesn't seem to solve the problem.
I am using a Ubuntu 18.04 Virtual Machine to run Matlab 2021a.
Thank you!
2 件のコメント
Emmanouil Tzorakoleftherakis
2021 年 6 月 9 日
Any reason why you do not increase the number of workers instead?
Tech Logg Ding
2021 年 6 月 13 日
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Reinforcement Learning についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!