-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Refactor] Make all leaves in tensorclass part of
_tensordict
, exce…
…pt for NonTensorData (#841)
- Loading branch information
Showing
5 changed files
with
199 additions
and
140 deletions.
There are no files selected for viewing
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
Oops, something went wrong.
5c34868
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possible performance regression was detected for benchmark 'CPU Benchmark Results'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold
2
.benchmarks/tensorclass/test_tensorclass_speed.py::test_tc_first_layer_tensor
120326.58019806597
iter/sec (stddev: 4.4986387165725007e-7
)1373832.594290356
iter/sec (stddev: 4.8530099191791996e-8
)11.42
benchmarks/tensorclass/test_tensorclass_speed.py::test_tc_first_layer_nontensor
120210.26347896754
iter/sec (stddev: 4.5650937546949285e-7
)1361545.4841384036
iter/sec (stddev: 5.995081721941169e-8
)11.33
benchmarks/tensorclass/test_tensorclass_speed.py::test_tc_second_layer_nontensor
108153.82005496862
iter/sec (stddev: 5.150928083308207e-7
)581376.6788713622
iter/sec (stddev: 1.8062761970691373e-7
)5.38
benchmarks/tensorclass/test_torch_functions.py::test_unbind
68.29561176745676
iter/sec (stddev: 0.020064073685849282
)187.90133432174042
iter/sec (stddev: 0.00008771959415108646
)2.75
benchmarks/tensorclass/test_torch_functions.py::test_split
3618.8562636464767
iter/sec (stddev: 0.000020585293066090808
)8582.488348172195
iter/sec (stddev: 0.000006168920741504216
)2.37
This comment was automatically generated by workflow using github-action-benchmark.
CC: @vmoens
5c34868
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possible performance regression was detected for benchmark 'GPU Benchmark Results'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold
2
.benchmarks/common/common_ops_test.py::test_membership_stacked_nested_last
103333.64591645026
iter/sec (stddev: 6.220006522992922e-7
)328181.3367510252
iter/sec (stddev: 3.1744912231902153e-7
)3.18
benchmarks/common/common_ops_test.py::test_membership_stacked_nested_leaf_last
103609.51088710976
iter/sec (stddev: 5.99423427460808e-7
)324154.23471058556
iter/sec (stddev: 3.2223949422480034e-7
)3.13
benchmarks/tensorclass/test_tensorclass_speed.py::test_tc_init
18003.98459803785
iter/sec (stddev: 0.00000301726293045441
)38710.2270438557
iter/sec (stddev: 0.000004482695150123839
)2.15
benchmarks/tensorclass/test_tensorclass_speed.py::test_tc_first_layer_tensor
271011.4141052725
iter/sec (stddev: 3.6895030942722313e-7
)2771555.8518061205
iter/sec (stddev: 6.661000960912629e-8
)10.23
benchmarks/tensorclass/test_tensorclass_speed.py::test_tc_first_layer_nontensor
268910.2192190714
iter/sec (stddev: 7.191341820439208e-7
)2572563.2223312114
iter/sec (stddev: 8.882903972538797e-8
)9.57
benchmarks/tensorclass/test_tensorclass_speed.py::test_tc_second_layer_nontensor
233347.68865283718
iter/sec (stddev: 3.575173074145315e-7
)1182043.1014238065
iter/sec (stddev: 2.7427378493623303e-7
)5.07
benchmarks/tensorclass/test_torch_functions.py::test_split
323.51706261163264
iter/sec (stddev: 0.00005106988903723365
)10524.689363859243
iter/sec (stddev: 0.000004529742492512983
)32.53
This comment was automatically generated by workflow using github-action-benchmark.
CC: @vmoens