mobile-env: RLlib resource error in demo notebook
Dear Stefan Schneider:
I have a question regarding the Co-lab document you uploaded on GitHub, the last section “Multi-agent RL with Raylib.” When I ran “analysis = ray.tune.run(“PPO”, config=config, local_dir=“results_rllib”, stop={“timesteps_total”: 30000}, checkpoint_at_end=True)”, I had a warning of:
"2023-04-28 16:05:59,264 WARNING insufficient_resources_manager.py:128 – Ignore this message if the cluster is autoscaling. You asked for 3.0 cpu and 0 gpu per trial, but the cluster only has 1.0 cpu and 0 gpu. Stop the tuning job and adjust the resources requested per trial (possibly via resources_per_trial or via num_workers for rllib) and/or add more resources to your Ray runtime. "
I am wondering why? I thought because of the default settings of CPU and GPU. I tried to fix it by adding num_workers = 0 inside the config{}, and it has a error of cannot find the env: mobile-small-ma-v0.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 15 (8 by maintainers)
I just pushed a fix for this error. Should be fixed in mobile-env v2.0.1.
@stwerner97 Maybe you can help with the remaining questions if you have time and want to? Eg, the custom SINR definition? 😃
I also started looking into the RLlib resource issue. It seems like this is somewhat related to the newer versions of RLlib and needs some more work. I’ll look more into this in the next weeks if I get around to it.
Hi @stefanbschneider, I could also take a look, but wouldn’t make the PR before the weekend if that’s okay 😊
@stefanbschneider sounds good! 😄
@R0B1NNN1 I opened a separate issue for your question regarding the custom SINR. Then it’s easier to address separately.
@stwerner97 Thanks for offering your help! I have some work in progress. I’ll push it to a separate branch and let you know, so we don’t do any duplicate work. 😃
Either you wait until I fix and release a corrected version. Then you can install/update to the version with the fix. This is the easier option, which I would recommend if you are not in a hurry.
Or, if you do not want to wait, you can check out the code from GitHub and edit it and install it locally. This is some more effort for you.
Hi @stefanbschneider ,thanks for replying, I am trying to fix it as well. May I ask if I want to use multi agent RL, Raylib is a good choice isn’t it? Regarding to the DeepCoMP, by combining Raylib and mobile-env, we can do the same as DeepCoMP, am I correct?
And also, when I was trying to fix it, it shows me the error of " AttributeError: ‘MComSmall’ object has no attribute ‘done’ ", I am wondering what does it mean.
Thanks for replying in advance.