Skip to content
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

Fixed Speed Regression in Rearrangement Tasks #1085

Merged
merged 3 commits into from
Jan 19, 2023
Merged

Conversation

ASzot
Copy link
Contributor

@ASzot ASzot commented Jan 18, 2023

Motivation and Context

On the Rearrangement tasks, speed was up to 10x slower than expected. The core issue was unnecessary copying of episode files and writing to Hydra configs. Speedscope profile below shows the performance impact these config modifications had on a single environment.

How Has This Been Tested

Manually comparing training speeds.

Screen Shot 2023-01-18 at 2 39 34 PM

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Jan 18, 2023
@ASzot ASzot merged commit 1b1ec26 into main Jan 19, 2023
@ASzot ASzot deleted the rearrange_speed_fix branch January 19, 2023 14:57
arm_key = f"{agent_k}_{arm_key}"
grip_key = f"{agent_k}_{grip_key}"
base_key = f"{agent_k}_{base_key}"
arm_key = f"{agent_k}_arm_action"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Huh, was this really right? shouldn't it be

    arm_key = f"{agent_k}_{arm_action_name}"

@ykarmesh ykarmesh restored the rearrange_speed_fix branch January 20, 2023 23:25
dannymcy pushed a commit to dannymcy/habitat-lab that referenced this pull request Jul 8, 2024
* Fixes to speed

* Episode optional

* Fixed reconfigure call
HHYHRHY pushed a commit to SgtVincent/EMOS that referenced this pull request Aug 31, 2024
* Fixes to speed

* Episode optional

* Fixed reconfigure call
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Do not delete this pull request or issue due to inactivity.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants