Reinforcement learning stuck on the cluster

1 回表示 (過去 30 日間)
Ahmad Momani
Ahmad Momani 2023 年 10 月 11 日
回答済み: Satwik 2024 年 8 月 29 日
I'm working on a reinforcement learning project with a complex environment that requires a significant amount of time to complete, which has led to a slow learning process. When running the code on my local machine using the parallel computing toolbox with three cores, it works perfectly fine. However, when I attempted to utilize my university's cluster to expedite the training process, I encountered issues. With a low number of workers (specifically, three cores), the training process gets stuck, as depicted in the first image below. On the other hand, when using a higher number of workers (e.g., 10 cores or more), the training process fails to initiate altogether, as shown in the second image below. I'm uncertain whether this problem stems from the cluster's configuration, a Matlab-related issue, or a limitation within the reinforcement learning toolbox. Any insights on potential resolutions would be greatly appreciated.
  4 件のコメント
Mike Croucher
Mike Croucher 2023 年 12 月 4 日
Did you get this resolved?
duoke
duoke 2024 年 5 月 1 日
Hello, is there a job submission for this anywhere, or do you just need to run the code normally with parallel pooling turned on?

サインインしてコメントする。

回答 (1 件)

Satwik
Satwik 2024 年 8 月 29 日
Hi,
One reason for the issue you are experiencing could be incorrect configuration of the cluster profile. You can verify that the cluster profile is set up correctly by following the steps outlined in this MATLAB answer provided by the MathWorks Support Team: https://www.mathworks.com/matlabcentral/answers/1590004-how-do-i-validate-my-parallel-cluster-profile-in-matlab.
  1. Open MATLAB and go to the ‘Home’ tab in the ribbon.
  2. In the ‘Environment’ group, click on the ‘Parallel’ dropdown.
  3. From the dropdown, select ‘Create and Manage Clusters...’.
  4. In the Cluster Profile Manager window that opens, you may see multiple Cluster Profiles on the left-hand side. Select the one you wish to validate.
  5. In the ribbon of the Cluster Profile Manager, click the ‘Validate’ button to initiate the validation process.
This will perform a five-stage validation process, displaying the results in real-time, and should help determine if the issue is related to the cluster configuration.

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by