-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
world.apply_settings() slow in 0.9.11 synchronous mode #3867
Comments
I can confirm this. |
@bernatx could you follow up on this please? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
go away stale bot |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@bernatx Please follow up, Code example is given, should be quick to look into. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@bernatx Still an issue with 0.9.13, why is it so much slower? This is actually relevant for people doing reinforcement learning and applying settings after each episode: 1 second wait time after each episode can amount to much training time being wasted, especially at the begin of the training when episodes are very short! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hi,
I just upgraded to Carla 0.9.11 and now my code runs slow. (Ubuntu 20.04). After some digging I found that world.apply_settings() needs significantly more time than before.
Code example:
I tested it in opengl and vulkan mode, the error exists in both. (in vulkan the non-apply_settings() steps are a lot quicker, the apply_settings() steps need nearly identical time)
Output in 0.9.10 on my machine (time may vary a couple ms)
Output in 0.9.11 on my machine (time may vary a couple ms)
For completion's sake here is my hardware, but the behavior was also confirmed on another machine, so I do not think the hardware actually matters:
Thanks in advance for your help!
The text was updated successfully, but these errors were encountered: