-
Notifications
You must be signed in to change notification settings - Fork 328
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
[Minor] Update dreamer example tests #1668
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
facebook-github-bot
added
the
CLA Signed
This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
label
Nov 2, 2023
|
Name | Max | Mean | Ops | Ops on Repo HEAD
|
Change |
---|---|---|---|---|---|
test_single | 68.1343ms | 67.1704ms | 14.8875 Ops/s | 14.2423 Ops/s | |
test_sync | 38.7024ms | 36.9630ms | 27.0541 Ops/s | 26.9355 Ops/s | |
test_async | 65.2578ms | 36.2890ms | 27.5566 Ops/s | 26.4159 Ops/s | |
test_simple | 0.5103s | 0.4709s | 2.1236 Ops/s | 2.1177 Ops/s | |
test_transformed | 0.6870s | 0.6302s | 1.5867 Ops/s | 1.5460 Ops/s | |
test_serial | 1.4124s | 1.3597s | 0.7355 Ops/s | 0.7243 Ops/s | |
test_parallel | 1.3899s | 1.3399s | 0.7463 Ops/s | 0.7431 Ops/s | |
test_step_mdp_speed[True-True-True-True-True] | 0.1614ms | 33.9244μs | 29.4773 KOps/s | 28.7842 KOps/s | |
test_step_mdp_speed[True-True-True-True-False] | 52.7580μs | 19.3322μs | 51.7272 KOps/s | 51.4214 KOps/s | |
test_step_mdp_speed[True-True-True-False-True] | 78.9770μs | 23.9893μs | 41.6853 KOps/s | 42.8070 KOps/s | |
test_step_mdp_speed[True-True-True-False-False] | 77.4720μs | 13.0814μs | 76.4445 KOps/s | 75.8616 KOps/s | |
test_step_mdp_speed[True-True-False-True-True] | 85.8820μs | 35.2479μs | 28.3705 KOps/s | 27.8456 KOps/s | |
test_step_mdp_speed[True-True-False-True-False] | 53.9700μs | 20.9600μs | 47.7099 KOps/s | 47.7902 KOps/s | |
test_step_mdp_speed[True-True-False-False-True] | 65.6720μs | 25.8430μs | 38.6953 KOps/s | 38.5637 KOps/s | |
test_step_mdp_speed[True-True-False-False-False] | 62.5670μs | 14.9422μs | 66.9245 KOps/s | 67.1708 KOps/s | |
test_step_mdp_speed[True-False-True-True-True] | 80.5600μs | 37.5055μs | 26.6627 KOps/s | 26.8806 KOps/s | |
test_step_mdp_speed[True-False-True-True-False] | 82.9750μs | 22.6272μs | 44.1945 KOps/s | 44.6491 KOps/s | |
test_step_mdp_speed[True-False-True-False-True] | 57.2670μs | 25.5223μs | 39.1815 KOps/s | 38.4079 KOps/s | |
test_step_mdp_speed[True-False-True-False-False] | 56.0740μs | 14.8541μs | 67.3217 KOps/s | 67.8032 KOps/s | |
test_step_mdp_speed[True-False-False-True-True] | 0.1429ms | 38.6052μs | 25.9033 KOps/s | 26.2767 KOps/s | |
test_step_mdp_speed[True-False-False-True-False] | 50.4640μs | 23.6108μs | 42.3535 KOps/s | 40.1211 KOps/s | |
test_step_mdp_speed[True-False-False-False-True] | 67.1350μs | 26.8784μs | 37.2046 KOps/s | 37.1638 KOps/s | |
test_step_mdp_speed[True-False-False-False-False] | 37.8510μs | 16.2506μs | 61.5364 KOps/s | 62.5227 KOps/s | |
test_step_mdp_speed[False-True-True-True-True] | 67.8360μs | 37.2223μs | 26.8656 KOps/s | 26.7052 KOps/s | |
test_step_mdp_speed[False-True-True-True-False] | 59.6810μs | 22.5426μs | 44.3605 KOps/s | 44.5160 KOps/s | |
test_step_mdp_speed[False-True-True-False-True] | 70.4110μs | 28.0327μs | 35.6727 KOps/s | 34.8419 KOps/s | |
test_step_mdp_speed[False-True-True-False-False] | 48.5710μs | 16.3688μs | 61.0919 KOps/s | 61.1458 KOps/s | |
test_step_mdp_speed[False-True-False-True-True] | 99.5560μs | 38.4333μs | 26.0191 KOps/s | 25.6275 KOps/s | |
test_step_mdp_speed[False-True-False-True-False] | 74.7390μs | 23.8199μs | 41.9818 KOps/s | 41.6207 KOps/s | |
test_step_mdp_speed[False-True-False-False-True] | 76.9130μs | 30.2344μs | 33.0749 KOps/s | 33.8955 KOps/s | |
test_step_mdp_speed[False-True-False-False-False] | 67.9170μs | 17.8489μs | 56.0260 KOps/s | 56.5534 KOps/s | |
test_step_mdp_speed[False-False-True-True-True] | 97.5820μs | 40.2842μs | 24.8237 KOps/s | 24.4347 KOps/s | |
test_step_mdp_speed[False-False-True-True-False] | 58.0880μs | 25.1081μs | 39.8278 KOps/s | 39.4829 KOps/s | |
test_step_mdp_speed[False-False-True-False-True] | 81.3020μs | 29.6038μs | 33.7795 KOps/s | 33.5275 KOps/s | |
test_step_mdp_speed[False-False-True-False-False] | 55.0220μs | 17.5104μs | 57.1088 KOps/s | 56.6151 KOps/s | |
test_step_mdp_speed[False-False-False-True-True] | 82.0930μs | 41.0171μs | 24.3801 KOps/s | 24.4305 KOps/s | |
test_step_mdp_speed[False-False-False-True-False] | 52.2370μs | 26.3637μs | 37.9310 KOps/s | 37.6049 KOps/s | |
test_step_mdp_speed[False-False-False-False-True] | 74.3780μs | 30.9399μs | 32.3207 KOps/s | 32.1574 KOps/s | |
test_step_mdp_speed[False-False-False-False-False] | 43.7620μs | 18.8870μs | 52.9464 KOps/s | 51.2364 KOps/s | |
test_values[generalized_advantage_estimate-True-True] | 15.8029ms | 12.1233ms | 82.4858 Ops/s | 81.7074 Ops/s | |
test_values[vec_generalized_advantage_estimate-True-True] | 34.6524ms | 26.3549ms | 37.9436 Ops/s | 36.9197 Ops/s | |
test_values[td0_return_estimate-False-False] | 0.2477ms | 0.1882ms | 5.3135 KOps/s | 5.1396 KOps/s | |
test_values[td1_return_estimate-False-False] | 26.4743ms | 25.4421ms | 39.3049 Ops/s | 38.1764 Ops/s | |
test_values[vec_td1_return_estimate-False-False] | 34.5631ms | 26.7124ms | 37.4358 Ops/s | 36.6831 Ops/s | |
test_values[td_lambda_return_estimate-True-False] | 36.4329ms | 35.8628ms | 27.8840 Ops/s | 27.0932 Ops/s | |
test_values[vec_td_lambda_return_estimate-True-False] | 34.3363ms | 26.5062ms | 37.7270 Ops/s | 36.6054 Ops/s | |
test_gae_speed[generalized_advantage_estimate-False-1-512] | 8.1479ms | 8.0217ms | 124.6622 Ops/s | 119.3652 Ops/s | |
test_gae_speed[vec_generalized_advantage_estimate-True-1-512] | 10.0107ms | 1.9800ms | 505.0440 Ops/s | 522.3895 Ops/s | |
test_gae_speed[vec_generalized_advantage_estimate-False-1-512] | 0.4954ms | 0.4295ms | 2.3282 KOps/s | 2.2595 KOps/s | |
test_gae_speed[vec_generalized_advantage_estimate-True-32-512] | 0.1230s | 46.5649ms | 21.4754 Ops/s | 23.8323 Ops/s | |
test_gae_speed[vec_generalized_advantage_estimate-False-32-512] | 10.4617ms | 2.5057ms | 399.0844 Ops/s | 397.6577 Ops/s | |
test_dqn_speed | 10.0553ms | 1.8055ms | 553.8662 Ops/s | 543.3299 Ops/s | |
test_ddpg_speed | 11.2980ms | 3.1092ms | 321.6224 Ops/s | 311.3031 Ops/s | |
test_sac_speed | 16.6728ms | 8.9213ms | 112.0918 Ops/s | 104.5022 Ops/s | |
test_redq_speed | 27.1016ms | 18.3601ms | 54.4660 Ops/s | 55.8502 Ops/s | |
test_redq_deprec_speed | 23.8300ms | 15.3307ms | 65.2286 Ops/s | 64.8896 Ops/s | |
test_td3_speed | 10.1430ms | 9.0082ms | 111.0096 Ops/s | 109.5848 Ops/s | |
test_cql_speed | 44.2768ms | 37.3155ms | 26.7985 Ops/s | 24.6095 Ops/s | |
test_a2c_speed | 19.0861ms | 8.7952ms | 113.6984 Ops/s | 115.4421 Ops/s | |
test_ppo_speed | 16.9362ms | 8.8029ms | 113.5995 Ops/s | 113.1172 Ops/s | |
test_reinforce_speed | 15.6907ms | 7.5801ms | 131.9242 Ops/s | 130.2330 Ops/s | |
test_iql_speed | 42.6258ms | 33.5276ms | 29.8261 Ops/s | 29.2806 Ops/s | |
test_sample_rb[TensorDictReplayBuffer-ListStorage-RandomSampler-4000] | 2.8643ms | 1.9085ms | 523.9662 Ops/s | 535.3555 Ops/s | |
test_sample_rb[TensorDictReplayBuffer-LazyMemmapStorage-RandomSampler-10000] | 3.4036ms | 2.0085ms | 497.8821 Ops/s | 512.6223 Ops/s | |
test_sample_rb[TensorDictReplayBuffer-LazyTensorStorage-RandomSampler-10000] | 3.0939ms | 1.9682ms | 508.0774 Ops/s | 522.8338 Ops/s | |
test_sample_rb[TensorDictReplayBuffer-ListStorage-SamplerWithoutReplacement-4000] | 2.4151ms | 1.8715ms | 534.3211 Ops/s | 426.9636 Ops/s | |
test_sample_rb[TensorDictReplayBuffer-LazyMemmapStorage-SamplerWithoutReplacement-10000] | 2.7030ms | 1.9440ms | 514.3946 Ops/s | 522.3162 Ops/s | |
test_sample_rb[TensorDictReplayBuffer-LazyTensorStorage-SamplerWithoutReplacement-10000] | 3.2549ms | 1.9497ms | 512.9076 Ops/s | 521.6756 Ops/s | |
test_sample_rb[TensorDictPrioritizedReplayBuffer-ListStorage-None-4000] | 0.2348s | 2.3087ms | 433.1368 Ops/s | 540.7644 Ops/s | |
test_sample_rb[TensorDictPrioritizedReplayBuffer-LazyMemmapStorage-None-10000] | 2.8668ms | 1.9250ms | 519.4917 Ops/s | 454.9982 Ops/s | |
test_sample_rb[TensorDictPrioritizedReplayBuffer-LazyTensorStorage-None-10000] | 2.9987ms | 1.9153ms | 522.1243 Ops/s | 515.9667 Ops/s | |
test_iterate_rb[TensorDictReplayBuffer-ListStorage-RandomSampler-4000] | 2.4512ms | 1.8221ms | 548.8071 Ops/s | 535.3422 Ops/s | |
test_iterate_rb[TensorDictReplayBuffer-LazyMemmapStorage-RandomSampler-10000] | 0.1357s | 2.2478ms | 444.8866 Ops/s | 513.4154 Ops/s | |
test_iterate_rb[TensorDictReplayBuffer-LazyTensorStorage-RandomSampler-10000] | 2.9930ms | 1.9418ms | 514.9803 Ops/s | 509.5644 Ops/s | |
test_iterate_rb[TensorDictReplayBuffer-ListStorage-SamplerWithoutReplacement-4000] | 2.6885ms | 1.8534ms | 539.5471 Ops/s | 547.2381 Ops/s | |
test_iterate_rb[TensorDictReplayBuffer-LazyMemmapStorage-SamplerWithoutReplacement-10000] | 3.2913ms | 1.9237ms | 519.8418 Ops/s | 512.9072 Ops/s | |
test_iterate_rb[TensorDictReplayBuffer-LazyTensorStorage-SamplerWithoutReplacement-10000] | 2.8763ms | 1.9198ms | 520.8882 Ops/s | 516.7315 Ops/s | |
test_iterate_rb[TensorDictPrioritizedReplayBuffer-ListStorage-None-4000] | 2.1161ms | 1.8649ms | 536.2171 Ops/s | 546.1278 Ops/s | |
test_iterate_rb[TensorDictPrioritizedReplayBuffer-LazyMemmapStorage-None-10000] | 3.1002ms | 1.9538ms | 511.8152 Ops/s | 513.9401 Ops/s | |
test_iterate_rb[TensorDictPrioritizedReplayBuffer-LazyTensorStorage-None-10000] | 3.2797ms | 1.9143ms | 522.3736 Ops/s | 513.2401 Ops/s | |
test_populate_rb[TensorDictReplayBuffer-ListStorage-RandomSampler-400] | 0.2415s | 28.4793ms | 35.1132 Ops/s | 38.0297 Ops/s | |
test_populate_rb[TensorDictReplayBuffer-LazyMemmapStorage-RandomSampler-400] | 0.1214s | 23.8427ms | 41.9415 Ops/s | 38.6048 Ops/s | |
test_populate_rb[TensorDictReplayBuffer-LazyTensorStorage-RandomSampler-400] | 0.1267s | 26.3449ms | 37.9580 Ops/s | 42.4206 Ops/s | |
test_populate_rb[TensorDictReplayBuffer-ListStorage-SamplerWithoutReplacement-400] | 0.1401s | 24.3844ms | 41.0098 Ops/s | 39.6607 Ops/s | |
test_populate_rb[TensorDictReplayBuffer-LazyMemmapStorage-SamplerWithoutReplacement-400] | 0.1237s | 26.1347ms | 38.2633 Ops/s | 42.4635 Ops/s | |
test_populate_rb[TensorDictReplayBuffer-LazyTensorStorage-SamplerWithoutReplacement-400] | 0.1442s | 25.0765ms | 39.8779 Ops/s | 38.7897 Ops/s | |
test_populate_rb[TensorDictPrioritizedReplayBuffer-ListStorage-None-400] | 0.1317s | 26.3616ms | 37.9339 Ops/s | 38.2288 Ops/s | |
test_populate_rb[TensorDictPrioritizedReplayBuffer-LazyMemmapStorage-None-400] | 0.1314s | 24.2112ms | 41.3032 Ops/s | 46.4040 Ops/s | |
test_populate_rb[TensorDictPrioritizedReplayBuffer-LazyTensorStorage-None-400] | 0.1290s | 26.5946ms | 37.6016 Ops/s | 37.6309 Ops/s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
CLA Signed
This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
quality
code quality
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
A device argument is missing in dreamer's example and tests, which makes the code not runnable on machines without gpu.