-
Notifications
You must be signed in to change notification settings - Fork 79
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
[BugFix] @property setter in tensorclass #813
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
3 tasks
|
Name | Max | Mean | Ops | Ops on Repo HEAD
|
Change |
---|---|---|---|---|---|
test_plain_set_nested | 35.6460μs | 17.5355μs | 57.0272 KOps/s | 61.2162 KOps/s | |
test_plain_set_stack_nested | 36.8290μs | 17.8581μs | 55.9971 KOps/s | 59.9990 KOps/s | |
test_plain_set_nested_inplace | 66.2140μs | 19.9337μs | 50.1663 KOps/s | 53.9009 KOps/s | |
test_plain_set_stack_nested_inplace | 42.2580μs | 19.7901μs | 50.5304 KOps/s | 53.4158 KOps/s | |
test_items | 17.7630μs | 2.6292μs | 380.3462 KOps/s | 397.9028 KOps/s | |
test_items_nested | 0.4025ms | 0.2662ms | 3.7562 KOps/s | 3.7526 KOps/s | |
test_items_nested_locked | 0.9595ms | 0.2676ms | 3.7367 KOps/s | 3.7259 KOps/s | |
test_items_nested_leaf | 0.1195ms | 75.3614μs | 13.2694 KOps/s | 12.3267 KOps/s | |
test_items_stack_nested | 0.3405ms | 0.2668ms | 3.7481 KOps/s | 3.7301 KOps/s | |
test_items_stack_nested_leaf | 0.1284ms | 75.1893μs | 13.2998 KOps/s | 12.7415 KOps/s | |
test_items_stack_nested_locked | 0.4072ms | 0.2679ms | 3.7334 KOps/s | 3.7600 KOps/s | |
test_keys | 37.1690μs | 3.9962μs | 250.2401 KOps/s | 240.7873 KOps/s | |
test_keys_nested | 0.1926ms | 0.1370ms | 7.2984 KOps/s | 7.3010 KOps/s | |
test_keys_nested_locked | 0.7814ms | 0.1424ms | 7.0218 KOps/s | 6.9611 KOps/s | |
test_keys_nested_leaf | 0.2059ms | 0.1171ms | 8.5408 KOps/s | 8.4887 KOps/s | |
test_keys_stack_nested | 0.2604ms | 0.1371ms | 7.2944 KOps/s | 7.2353 KOps/s | |
test_keys_stack_nested_leaf | 0.4589ms | 0.1210ms | 8.2648 KOps/s | 8.5301 KOps/s | |
test_keys_stack_nested_locked | 0.2381ms | 0.1414ms | 7.0709 KOps/s | 6.9964 KOps/s | |
test_values | 7.9468μs | 1.1550μs | 865.7672 KOps/s | 861.6288 KOps/s | |
test_values_nested | 99.0450μs | 50.6855μs | 19.7295 KOps/s | 19.4507 KOps/s | |
test_values_nested_locked | 92.5330μs | 50.5720μs | 19.7738 KOps/s | 19.2674 KOps/s | |
test_values_nested_leaf | 0.3909ms | 46.1480μs | 21.6694 KOps/s | 21.5698 KOps/s | |
test_values_stack_nested | 0.1555ms | 52.7316μs | 18.9639 KOps/s | 19.4221 KOps/s | |
test_values_stack_nested_leaf | 90.2190μs | 45.7217μs | 21.8715 KOps/s | 21.7130 KOps/s | |
test_values_stack_nested_locked | 98.4040μs | 52.0267μs | 19.2209 KOps/s | 19.5573 KOps/s | |
test_membership | 34.2940μs | 1.3493μs | 741.1392 KOps/s | 738.1368 KOps/s | |
test_membership_nested | 26.7600μs | 3.3730μs | 296.4723 KOps/s | 291.2049 KOps/s | |
test_membership_nested_leaf | 41.5470μs | 3.3937μs | 294.6614 KOps/s | 257.0239 KOps/s | |
test_membership_stacked_nested | 20.7480μs | 3.4026μs | 293.8972 KOps/s | 294.3862 KOps/s | |
test_membership_stacked_nested_leaf | 16.1310μs | 3.4213μs | 292.2891 KOps/s | 294.4712 KOps/s | |
test_membership_nested_last | 40.2550μs | 4.2191μs | 237.0161 KOps/s | 235.7555 KOps/s | |
test_membership_nested_leaf_last | 23.5240μs | 4.1923μs | 238.5338 KOps/s | 234.9982 KOps/s | |
test_membership_stacked_nested_last | 48.6010μs | 4.1484μs | 241.0585 KOps/s | 237.5071 KOps/s | |
test_membership_stacked_nested_leaf_last | 30.7780μs | 4.1894μs | 238.7002 KOps/s | 238.2865 KOps/s | |
test_nested_getleaf | 55.3240μs | 10.7332μs | 93.1689 KOps/s | 91.3737 KOps/s | |
test_nested_get | 45.5050μs | 10.2532μs | 97.5308 KOps/s | 96.6927 KOps/s | |
test_stacked_getleaf | 46.8770μs | 10.7519μs | 93.0067 KOps/s | 92.7143 KOps/s | |
test_stacked_get | 37.0390μs | 10.1187μs | 98.8272 KOps/s | 98.7055 KOps/s | |
test_nested_getitemleaf | 55.7840μs | 11.3006μs | 88.4908 KOps/s | 88.2332 KOps/s | |
test_nested_getitem | 54.8320μs | 10.5250μs | 95.0121 KOps/s | 95.7667 KOps/s | |
test_stacked_getitemleaf | 46.8580μs | 11.2937μs | 88.5453 KOps/s | 88.7546 KOps/s | |
test_stacked_getitem | 31.3590μs | 10.3826μs | 96.3145 KOps/s | 96.4994 KOps/s | |
test_lock_nested | 52.7478ms | 0.3907ms | 2.5594 KOps/s | 2.9450 KOps/s | |
test_lock_stack_nested | 0.4546ms | 0.2998ms | 3.3351 KOps/s | 3.2020 KOps/s | |
test_unlock_nested | 0.8578ms | 0.3384ms | 2.9548 KOps/s | 2.8960 KOps/s | |
test_unlock_stack_nested | 0.4763ms | 0.3055ms | 3.2730 KOps/s | 3.1358 KOps/s | |
test_flatten_speed | 0.1969ms | 94.5448μs | 10.5770 KOps/s | 10.4612 KOps/s | |
test_unflatten_speed | 0.5925ms | 0.4080ms | 2.4511 KOps/s | 2.4002 KOps/s | |
test_common_ops | 1.4499ms | 0.7255ms | 1.3783 KOps/s | 1.4565 KOps/s | |
test_creation | 18.9460μs | 1.9499μs | 512.8460 KOps/s | 510.7475 KOps/s | |
test_creation_empty | 29.2650μs | 12.1697μs | 82.1716 KOps/s | 109.2293 KOps/s | |
test_creation_nested_1 | 45.0640μs | 14.8677μs | 67.2600 KOps/s | 82.6097 KOps/s | |
test_creation_nested_2 | 78.3270μs | 18.0304μs | 55.4618 KOps/s | 66.2095 KOps/s | |
test_clone | 0.1427ms | 13.3620μs | 74.8390 KOps/s | 74.5165 KOps/s | |
test_getitem[int] | 29.3850μs | 11.7635μs | 85.0087 KOps/s | 84.1031 KOps/s | |
test_getitem[slice_int] | 67.1950μs | 22.3654μs | 44.7120 KOps/s | 42.3289 KOps/s | |
test_getitem[range] | 80.7810μs | 59.8258μs | 16.7152 KOps/s | 16.4980 KOps/s | |
test_getitem[tuple] | 46.6970μs | 18.8781μs | 52.9715 KOps/s | 50.9475 KOps/s | |
test_getitem[list] | 0.1018ms | 41.4109μs | 24.1482 KOps/s | 23.7840 KOps/s | |
test_setitem_dim[int] | 77.2240μs | 36.8731μs | 27.1200 KOps/s | 28.4903 KOps/s | |
test_setitem_dim[slice_int] | 0.1164ms | 63.4569μs | 15.7587 KOps/s | 16.3108 KOps/s | |
test_setitem_dim[range] | 0.2965ms | 90.1699μs | 11.0902 KOps/s | 11.6973 KOps/s | |
test_setitem_dim[tuple] | 0.2285ms | 56.1945μs | 17.7953 KOps/s | 20.0175 KOps/s | |
test_setitem | 87.8840μs | 20.7486μs | 48.1960 KOps/s | 51.7455 KOps/s | |
test_set | 83.3360μs | 20.2959μs | 49.2710 KOps/s | 52.7364 KOps/s | |
test_set_shared | 1.6079ms | 0.1393ms | 7.1783 KOps/s | 6.8140 KOps/s | |
test_update | 94.5070μs | 23.1156μs | 43.2607 KOps/s | 49.1959 KOps/s | |
test_update_nested | 71.4230μs | 31.4325μs | 31.8142 KOps/s | 35.4260 KOps/s | |
test_update__nested | 88.0650μs | 24.8297μs | 40.2744 KOps/s | 39.4537 KOps/s | |
test_set_nested | 54.7520μs | 22.2065μs | 45.0319 KOps/s | 47.6024 KOps/s | |
test_set_nested_new | 89.9780μs | 26.2796μs | 38.0524 KOps/s | 39.5800 KOps/s | |
test_select | 0.9677ms | 41.7937μs | 23.9271 KOps/s | 24.5614 KOps/s | |
test_select_nested | 0.1886ms | 61.1715μs | 16.3475 KOps/s | 16.2987 KOps/s | |
test_exclude_nested | 0.1962ms | 0.1200ms | 8.3308 KOps/s | 8.3618 KOps/s | |
test_empty[True] | 0.7258ms | 0.3948ms | 2.5327 KOps/s | 2.5428 KOps/s | |
test_empty[False] | 11.2610μs | 1.1812μs | 846.5684 KOps/s | 868.2509 KOps/s | |
test_unbind_speed | 1.5306ms | 0.2541ms | 3.9353 KOps/s | 3.9177 KOps/s | |
test_unbind_speed_stack0 | 0.5542ms | 0.2450ms | 4.0822 KOps/s | 3.9542 KOps/s | |
test_unbind_speed_stack1 | 73.4477ms | 0.7161ms | 1.3965 KOps/s | 1.3407 KOps/s | |
test_split | 70.2363ms | 1.6174ms | 618.2747 Ops/s | 617.3576 Ops/s | |
test_chunk | 70.8624ms | 1.6242ms | 615.6790 Ops/s | 618.9093 Ops/s | |
test_creation[device0] | 4.7935ms | 87.7981μs | 11.3898 KOps/s | 11.7118 KOps/s | |
test_creation_from_tensor | 0.2573ms | 86.4565μs | 11.5665 KOps/s | 11.5129 KOps/s | |
test_add_one[memmap_tensor0] | 0.1039ms | 5.3302μs | 187.6096 KOps/s | 177.3137 KOps/s | |
test_contiguous[memmap_tensor0] | 12.2630μs | 0.6318μs | 1.5829 MOps/s | 1.6020 MOps/s | |
test_stack[memmap_tensor0] | 23.6040μs | 3.5523μs | 281.5113 KOps/s | 268.5116 KOps/s | |
test_memmaptd_index | 1.0248ms | 0.2589ms | 3.8625 KOps/s | 3.8651 KOps/s | |
test_memmaptd_index_astensor | 0.7409ms | 0.3328ms | 3.0046 KOps/s | 2.9842 KOps/s | |
test_memmaptd_index_op | 0.9975ms | 0.6324ms | 1.5813 KOps/s | 1.6982 KOps/s | |
test_serialize_model | 0.1773s | 0.1162s | 8.6091 Ops/s | 8.6258 Ops/s | |
test_serialize_model_pickle | 0.4484s | 0.3809s | 2.6253 Ops/s | 2.6110 Ops/s | |
test_serialize_weights | 0.1870s | 0.1115s | 8.9701 Ops/s | 9.7455 Ops/s | |
test_serialize_weights_returnearly | 0.1917s | 0.1347s | 7.4251 Ops/s | 7.1939 Ops/s | |
test_serialize_weights_pickle | 0.9460s | 0.5838s | 1.7128 Ops/s | 2.4313 Ops/s | |
test_serialize_weights_filesystem | 0.1657s | 0.1001s | 9.9942 Ops/s | 10.6653 Ops/s | |
test_serialize_model_filesystem | 0.1037s | 94.8298ms | 10.5452 Ops/s | 9.7556 Ops/s | |
test_reshape_pytree | 63.8290μs | 25.7731μs | 38.8002 KOps/s | 39.1548 KOps/s | |
test_reshape_td | 99.4060μs | 33.8598μs | 29.5335 KOps/s | 28.7390 KOps/s | |
test_view_pytree | 71.0230μs | 25.3229μs | 39.4900 KOps/s | 39.0898 KOps/s | |
test_view_td | 77.9860μs | 37.9416μs | 26.3563 KOps/s | 25.9990 KOps/s | |
test_unbind_pytree | 58.8800μs | 29.3189μs | 34.1077 KOps/s | 33.9232 KOps/s | |
test_unbind_td | 0.4049ms | 37.2526μs | 26.8437 KOps/s | 26.4073 KOps/s | |
test_split_pytree | 0.1220ms | 29.6711μs | 33.7028 KOps/s | 33.3189 KOps/s | |
test_split_td | 0.1198ms | 40.5762μs | 24.6450 KOps/s | 23.8995 KOps/s | |
test_add_pytree | 80.5500μs | 35.0435μs | 28.5360 KOps/s | 28.1894 KOps/s | |
test_add_td | 0.1166ms | 55.1104μs | 18.1454 KOps/s | 17.9244 KOps/s | |
test_distributed | 0.2130ms | 0.1050ms | 9.5218 KOps/s | 9.6153 KOps/s | |
test_tdmodule | 39.1130μs | 18.2634μs | 54.7542 KOps/s | 60.1773 KOps/s | |
test_tdmodule_dispatch | 61.4650μs | 36.2649μs | 27.5749 KOps/s | 30.1031 KOps/s | |
test_tdseq | 40.0850μs | 21.0499μs | 47.5061 KOps/s | 49.6215 KOps/s | |
test_tdseq_dispatch | 69.4790μs | 41.4751μs | 24.1109 KOps/s | 26.5225 KOps/s | |
test_instantiation_functorch | 1.5499ms | 1.3033ms | 767.2889 Ops/s | 743.6150 Ops/s | |
test_instantiation_td | 70.9631ms | 1.0876ms | 919.4745 Ops/s | 974.1939 Ops/s | |
test_exec_functorch | 0.3389ms | 0.1605ms | 6.2300 KOps/s | 6.1278 KOps/s | |
test_exec_functional_call | 0.2817ms | 0.1535ms | 6.5164 KOps/s | 6.5275 KOps/s | |
test_exec_td | 0.3797ms | 0.1513ms | 6.6115 KOps/s | 6.6130 KOps/s | |
test_exec_td_decorator | 0.7676ms | 0.2226ms | 4.4919 KOps/s | 4.4792 KOps/s | |
test_vmap_mlp_speed[True-True] | 0.6884ms | 0.4862ms | 2.0567 KOps/s | 2.0740 KOps/s | |
test_vmap_mlp_speed[True-False] | 0.7685ms | 0.4844ms | 2.0646 KOps/s | 2.0997 KOps/s | |
test_vmap_mlp_speed[False-True] | 0.6131ms | 0.3936ms | 2.5407 KOps/s | 2.5218 KOps/s | |
test_vmap_mlp_speed[False-False] | 0.6571ms | 0.3938ms | 2.5394 KOps/s | 2.5264 KOps/s | |
test_vmap_mlp_speed_decorator[True-True] | 0.9948ms | 0.5541ms | 1.8046 KOps/s | 1.8124 KOps/s | |
test_vmap_mlp_speed_decorator[True-False] | 0.7874ms | 0.5549ms | 1.8021 KOps/s | 1.8238 KOps/s | |
test_vmap_mlp_speed_decorator[False-True] | 0.7402ms | 0.4545ms | 2.2000 KOps/s | 2.2038 KOps/s | |
test_vmap_mlp_speed_decorator[False-False] | 0.6500ms | 0.4499ms | 2.2226 KOps/s | 2.1813 KOps/s | |
test_to_module_speed[True] | 2.5893ms | 1.6716ms | 598.2243 Ops/s | 588.2495 Ops/s | |
test_to_module_speed[False] | 2.2582ms | 1.6372ms | 610.8073 Ops/s | 602.2808 Ops/s | |
test_tc_init | 92.5420μs | 32.2572μs | 31.0008 KOps/s | 39.4998 KOps/s | |
test_tc_init_nested | 0.1512ms | 65.2912μs | 15.3160 KOps/s | 20.2271 KOps/s | |
test_tc_first_layer_tensor | 6.1229μs | 0.6891μs | 1.4513 MOps/s | 1.4285 MOps/s | |
test_tc_first_layer_nontensor | 6.0386μs | 0.6809μs | 1.4686 MOps/s | 1.4789 MOps/s | |
test_tc_second_layer_tensor | 28.6340μs | 1.8700μs | 534.7507 KOps/s | 524.2952 KOps/s | |
test_tc_second_layer_nontensor | 12.2157μs | 1.5219μs | 657.0630 KOps/s | 640.8967 KOps/s | |
test_unbind | 84.9658ms | 6.6166ms | 151.1346 Ops/s | 122.5568 Ops/s | |
test_full_like | 15.7438ms | 11.4401ms | 87.4114 Ops/s | 95.8302 Ops/s | |
test_zeros_like | 14.5494ms | 5.9280ms | 168.6910 Ops/s | 167.6097 Ops/s | |
test_ones_like | 12.3174ms | 6.2657ms | 159.5996 Ops/s | 154.4038 Ops/s | |
test_clone | 13.2233ms | 7.8943ms | 126.6729 Ops/s | 125.0596 Ops/s | |
test_squeeze | 82.7950μs | 14.6155μs | 68.4205 KOps/s | 69.1530 KOps/s | |
test_unsqueeze | 0.1616ms | 61.2264μs | 16.3328 KOps/s | 16.4523 KOps/s | |
test_split | 0.2060ms | 0.1126ms | 8.8809 KOps/s | 8.8368 KOps/s | |
test_permute | 0.2243ms | 0.1268ms | 7.8856 KOps/s | 7.8489 KOps/s | |
test_stack | 26.6700ms | 23.3081ms | 42.9036 Ops/s | 44.7198 Ops/s | |
test_cat | 27.0911ms | 23.1908ms | 43.1205 Ops/s | 44.4961 Ops/s |
|
Name | Max | Mean | Ops | Ops on Repo HEAD
|
Change |
---|---|---|---|---|---|
test_plain_set_nested | 0.1698ms | 13.8675μs | 72.1110 KOps/s | 76.7370 KOps/s | |
test_plain_set_stack_nested | 30.0800μs | 13.9057μs | 71.9129 KOps/s | 75.5158 KOps/s | |
test_plain_set_nested_inplace | 0.1778ms | 15.2799μs | 65.4454 KOps/s | 68.7787 KOps/s | |
test_plain_set_stack_nested_inplace | 0.1875ms | 15.2067μs | 65.7607 KOps/s | 68.6523 KOps/s | |
test_items | 0.2046ms | 4.7576μs | 210.1904 KOps/s | 206.8834 KOps/s | |
test_items_nested | 0.5216ms | 0.3373ms | 2.9650 KOps/s | 2.8991 KOps/s | |
test_items_nested_locked | 0.5154ms | 0.3399ms | 2.9423 KOps/s | 2.8641 KOps/s | |
test_items_nested_leaf | 0.2689ms | 82.6176μs | 12.1040 KOps/s | 11.8737 KOps/s | |
test_items_stack_nested | 0.4204ms | 0.3390ms | 2.9496 KOps/s | 2.8893 KOps/s | |
test_items_stack_nested_leaf | 0.1036ms | 81.7220μs | 12.2366 KOps/s | 12.0561 KOps/s | |
test_items_stack_nested_locked | 0.3647ms | 0.3399ms | 2.9416 KOps/s | 2.8704 KOps/s | |
test_keys | 21.4400μs | 4.3545μs | 229.6470 KOps/s | 224.1869 KOps/s | |
test_keys_nested | 96.5810μs | 66.3700μs | 15.0671 KOps/s | 14.8788 KOps/s | |
test_keys_nested_locked | 0.7921ms | 71.6381μs | 13.9591 KOps/s | 13.8743 KOps/s | |
test_keys_nested_leaf | 0.1142ms | 56.8870μs | 17.5787 KOps/s | 17.3647 KOps/s | |
test_keys_stack_nested | 89.6920μs | 65.8223μs | 15.1924 KOps/s | 14.8831 KOps/s | |
test_keys_stack_nested_leaf | 76.2210μs | 56.3775μs | 17.7376 KOps/s | 17.3747 KOps/s | |
test_keys_stack_nested_locked | 0.1012ms | 70.2269μs | 14.2395 KOps/s | 13.9307 KOps/s | |
test_values | 8.1967μs | 1.7979μs | 556.2086 KOps/s | 548.3943 KOps/s | |
test_values_nested | 0.1326ms | 35.0613μs | 28.5214 KOps/s | 28.1353 KOps/s | |
test_values_nested_locked | 57.6010μs | 36.6745μs | 27.2669 KOps/s | 26.6405 KOps/s | |
test_values_nested_leaf | 48.3210μs | 31.2842μs | 31.9650 KOps/s | 31.6217 KOps/s | |
test_values_stack_nested | 62.7900μs | 35.5143μs | 28.1577 KOps/s | 27.4600 KOps/s | |
test_values_stack_nested_leaf | 57.1410μs | 31.7343μs | 31.5116 KOps/s | 31.0082 KOps/s | |
test_values_stack_nested_locked | 67.8100μs | 37.3570μs | 26.7688 KOps/s | 25.8749 KOps/s | |
test_membership | 1.8660μs | 0.7214μs | 1.3862 MOps/s | 1.3492 MOps/s | |
test_membership_nested | 16.8210μs | 2.5717μs | 388.8406 KOps/s | 383.9165 KOps/s | |
test_membership_nested_leaf | 30.6900μs | 2.5922μs | 385.7726 KOps/s | 381.0589 KOps/s | |
test_membership_stacked_nested | 23.8700μs | 2.5464μs | 392.7097 KOps/s | 380.6398 KOps/s | |
test_membership_stacked_nested_leaf | 33.8200μs | 2.5641μs | 389.9936 KOps/s | 376.8973 KOps/s | |
test_membership_nested_last | 23.1200μs | 3.1088μs | 321.6684 KOps/s | 315.7023 KOps/s | |
test_membership_nested_leaf_last | 33.6800μs | 3.1068μs | 321.8718 KOps/s | 314.1654 KOps/s | |
test_membership_stacked_nested_last | 32.8100μs | 9.7495μs | 102.5689 KOps/s | 105.3571 KOps/s | |
test_membership_stacked_nested_leaf_last | 85.6710μs | 9.7857μs | 102.1899 KOps/s | 105.7386 KOps/s | |
test_nested_getleaf | 36.0800μs | 8.3711μs | 119.4583 KOps/s | 118.4948 KOps/s | |
test_nested_get | 22.7510μs | 7.8905μs | 126.7342 KOps/s | 125.2608 KOps/s | |
test_stacked_getleaf | 26.6600μs | 8.3834μs | 119.2838 KOps/s | 117.5023 KOps/s | |
test_stacked_get | 29.8000μs | 7.8973μs | 126.6263 KOps/s | 124.9478 KOps/s | |
test_nested_getitemleaf | 40.4900μs | 8.5760μs | 116.6048 KOps/s | 115.6717 KOps/s | |
test_nested_getitem | 29.8710μs | 8.0448μs | 124.3035 KOps/s | 122.8050 KOps/s | |
test_stacked_getitemleaf | 0.1412ms | 8.5910μs | 116.4010 KOps/s | 115.0800 KOps/s | |
test_stacked_getitem | 36.0700μs | 8.0603μs | 124.0643 KOps/s | 122.2307 KOps/s | |
test_lock_nested | 56.6207ms | 0.4053ms | 2.4675 KOps/s | 2.4537 KOps/s | |
test_lock_stack_nested | 0.4132ms | 0.3029ms | 3.3011 KOps/s | 3.3392 KOps/s | |
test_unlock_nested | 58.7667ms | 0.4134ms | 2.4187 KOps/s | 2.4367 KOps/s | |
test_unlock_stack_nested | 0.4711ms | 0.3101ms | 3.2252 KOps/s | 3.2555 KOps/s | |
test_flatten_speed | 0.1838ms | 0.1006ms | 9.9406 KOps/s | 9.7619 KOps/s | |
test_unflatten_speed | 0.3270ms | 0.2916ms | 3.4298 KOps/s | 3.3638 KOps/s | |
test_common_ops | 1.1427ms | 0.6318ms | 1.5828 KOps/s | 1.6757 KOps/s | |
test_creation | 15.4600μs | 1.6685μs | 599.3390 KOps/s | 596.3054 KOps/s | |
test_creation_empty | 0.2026ms | 10.7442μs | 93.0737 KOps/s | 107.6435 KOps/s | |
test_creation_nested_1 | 0.2085ms | 12.6566μs | 79.0104 KOps/s | 89.7793 KOps/s | |
test_creation_nested_2 | 32.3610μs | 14.8426μs | 67.3738 KOps/s | 75.2492 KOps/s | |
test_clone | 0.1186ms | 12.3687μs | 80.8495 KOps/s | 85.1984 KOps/s | |
test_getitem[int] | 36.9400μs | 11.3856μs | 87.8303 KOps/s | 91.6019 KOps/s | |
test_getitem[slice_int] | 79.7900μs | 20.8757μs | 47.9025 KOps/s | 47.2231 KOps/s | |
test_getitem[range] | 66.4510μs | 49.6624μs | 20.1360 KOps/s | 21.5523 KOps/s | |
test_getitem[tuple] | 0.1204ms | 19.4138μs | 51.5096 KOps/s | 53.2318 KOps/s | |
test_getitem[list] | 0.1770ms | 35.8072μs | 27.9273 KOps/s | 29.4134 KOps/s | |
test_setitem_dim[int] | 0.1353ms | 33.3729μs | 29.9644 KOps/s | 34.1099 KOps/s | |
test_setitem_dim[slice_int] | 76.4110μs | 54.2292μs | 18.4402 KOps/s | 19.8333 KOps/s | |
test_setitem_dim[range] | 94.7900μs | 73.1893μs | 13.6632 KOps/s | 14.8845 KOps/s | |
test_setitem_dim[tuple] | 0.1778ms | 48.5675μs | 20.5899 KOps/s | 23.0803 KOps/s | |
test_setitem | 0.1239ms | 18.6680μs | 53.5676 KOps/s | 59.3582 KOps/s | |
test_set | 69.5200μs | 18.1680μs | 55.0418 KOps/s | 61.7313 KOps/s | |
test_set_shared | 1.6274ms | 0.1004ms | 9.9627 KOps/s | 10.3306 KOps/s | |
test_update | 0.1361ms | 21.0340μs | 47.5421 KOps/s | 53.5715 KOps/s | |
test_update_nested | 56.5700μs | 26.3545μs | 37.9442 KOps/s | 41.6203 KOps/s | |
test_update__nested | 61.5400μs | 23.5987μs | 42.3751 KOps/s | 44.2028 KOps/s | |
test_set_nested | 0.1624ms | 19.2190μs | 52.0319 KOps/s | 57.6374 KOps/s | |
test_set_nested_new | 63.4610μs | 22.1259μs | 45.1959 KOps/s | 49.8137 KOps/s | |
test_select | 0.1562ms | 35.3164μs | 28.3154 KOps/s | 29.2408 KOps/s | |
test_select_nested | 0.7035ms | 55.2867μs | 18.0875 KOps/s | 18.2608 KOps/s | |
test_exclude_nested | 0.1564ms | 0.1122ms | 8.9119 KOps/s | 8.9608 KOps/s | |
test_empty[True] | 0.4157ms | 0.3515ms | 2.8449 KOps/s | 2.8866 KOps/s | |
test_empty[False] | 17.0642μs | 0.9426μs | 1.0609 MOps/s | 1.0909 MOps/s | |
test_to | 0.1033ms | 77.8496μs | 12.8453 KOps/s | 13.1792 KOps/s | |
test_to_nonblocking | 0.2231ms | 62.8712μs | 15.9055 KOps/s | 16.0866 KOps/s | |
test_unbind_speed | 0.4647ms | 0.2694ms | 3.7121 KOps/s | 3.7904 KOps/s | |
test_unbind_speed_stack0 | 0.4527ms | 0.2681ms | 3.7297 KOps/s | 3.8166 KOps/s | |
test_unbind_speed_stack1 | 73.6172ms | 0.8146ms | 1.2277 KOps/s | 1.1853 KOps/s | |
test_split | 73.6148ms | 1.6762ms | 596.5736 Ops/s | 591.3996 Ops/s | |
test_chunk | 1.7397ms | 1.5655ms | 638.7697 Ops/s | 641.6254 Ops/s | |
test_creation[device0] | 0.2429ms | 59.4591μs | 16.8183 KOps/s | 17.4109 KOps/s | |
test_creation_from_tensor | 0.2026ms | 56.1607μs | 17.8060 KOps/s | 18.2691 KOps/s | |
test_add_one[memmap_tensor0] | 77.8210μs | 7.5744μs | 132.0238 KOps/s | 143.1962 KOps/s | |
test_contiguous[memmap_tensor0] | 14.2500μs | 0.7116μs | 1.4053 MOps/s | 1.4015 MOps/s | |
test_stack[memmap_tensor0] | 21.6510μs | 4.7774μs | 209.3184 KOps/s | 213.9448 KOps/s | |
test_memmaptd_index | 1.1493ms | 0.2966ms | 3.3716 KOps/s | 3.4510 KOps/s | |
test_memmaptd_index_astensor | 0.6819ms | 0.3698ms | 2.7041 KOps/s | 2.7605 KOps/s | |
test_memmaptd_index_op | 1.2503ms | 0.7215ms | 1.3859 KOps/s | 1.4884 KOps/s | |
test_serialize_model | 0.1076s | 0.1035s | 9.6639 Ops/s | 9.1477 Ops/s | |
test_serialize_model_pickle | 1.3465s | 1.2358s | 0.8092 Ops/s | 0.8086 Ops/s | |
test_serialize_weights | 0.1834s | 0.1097s | 9.1181 Ops/s | 8.7351 Ops/s | |
test_serialize_weights_returnearly | 0.1234s | 95.3343ms | 10.4894 Ops/s | 10.0111 Ops/s | |
test_serialize_weights_pickle | 1.3524s | 1.2363s | 0.8089 Ops/s | 0.8007 Ops/s | |
test_reshape_pytree | 0.2178ms | 26.7525μs | 37.3797 KOps/s | 38.4011 KOps/s | |
test_reshape_td | 0.1050ms | 31.5913μs | 31.6543 KOps/s | 32.3482 KOps/s | |
test_view_pytree | 60.7010μs | 26.6331μs | 37.5473 KOps/s | 38.5697 KOps/s | |
test_view_td | 0.1746ms | 35.9727μs | 27.7989 KOps/s | 28.8600 KOps/s | |
test_unbind_pytree | 0.2051ms | 32.6742μs | 30.6052 KOps/s | 30.7064 KOps/s | |
test_unbind_td | 0.4581ms | 42.7137μs | 23.4117 KOps/s | 24.3156 KOps/s | |
test_split_pytree | 0.2206ms | 38.1407μs | 26.2187 KOps/s | 27.4268 KOps/s | |
test_split_td | 0.1306ms | 41.0962μs | 24.3331 KOps/s | 24.4668 KOps/s | |
test_add_pytree | 0.2438ms | 41.1924μs | 24.2763 KOps/s | 25.7618 KOps/s | |
test_add_td | 0.2152ms | 56.8696μs | 17.5841 KOps/s | 19.9899 KOps/s | |
test_distributed | 0.2438ms | 70.2530μs | 14.2343 KOps/s | 14.6726 KOps/s | |
test_tdmodule | 94.6510μs | 16.7536μs | 59.6888 KOps/s | 67.0134 KOps/s | |
test_tdmodule_dispatch | 0.1815ms | 32.6448μs | 30.6328 KOps/s | 33.5505 KOps/s | |
test_tdseq | 0.1200ms | 17.9779μs | 55.6240 KOps/s | 58.1684 KOps/s | |
test_tdseq_dispatch | 0.1350ms | 35.1878μs | 28.4189 KOps/s | 29.9440 KOps/s | |
test_instantiation_functorch | 1.6848ms | 1.5497ms | 645.2904 Ops/s | 662.5014 Ops/s | |
test_instantiation_td | 1.5225ms | 1.0588ms | 944.4362 Ops/s | 885.8142 Ops/s | |
test_exec_functorch | 0.2546ms | 0.1571ms | 6.3648 KOps/s | 6.5583 KOps/s | |
test_exec_functional_call | 0.2817ms | 0.1451ms | 6.8934 KOps/s | 7.0850 KOps/s | |
test_exec_td | 0.2199ms | 0.1440ms | 6.9436 KOps/s | 7.2399 KOps/s | |
test_exec_td_decorator | 0.7238ms | 0.2171ms | 4.6067 KOps/s | 4.6512 KOps/s | |
test_vmap_mlp_speed[True-True] | 0.8006ms | 0.6026ms | 1.6595 KOps/s | 1.6626 KOps/s | |
test_vmap_mlp_speed[True-False] | 0.8070ms | 0.6087ms | 1.6428 KOps/s | 1.6451 KOps/s | |
test_vmap_mlp_speed[False-True] | 0.7740ms | 0.5495ms | 1.8198 KOps/s | 1.9018 KOps/s | |
test_vmap_mlp_speed[False-False] | 0.7232ms | 0.5205ms | 1.9212 KOps/s | 1.9234 KOps/s | |
test_vmap_mlp_speed_decorator[True-True] | 0.9451ms | 0.6689ms | 1.4950 KOps/s | 1.4827 KOps/s | |
test_vmap_mlp_speed_decorator[True-False] | 0.9756ms | 0.6890ms | 1.4513 KOps/s | 1.5358 KOps/s | |
test_vmap_mlp_speed_decorator[False-True] | 0.7709ms | 0.5787ms | 1.7280 KOps/s | 1.7130 KOps/s | |
test_vmap_mlp_speed_decorator[False-False] | 0.7483ms | 0.5771ms | 1.7327 KOps/s | 1.7396 KOps/s | |
test_vmap_transformer_speed[True-True] | 8.0430ms | 7.7559ms | 128.9344 Ops/s | 128.0790 Ops/s | |
test_vmap_transformer_speed[True-False] | 8.5811ms | 8.1321ms | 122.9691 Ops/s | 130.6296 Ops/s | |
test_vmap_transformer_speed[False-True] | 8.3917ms | 7.8788ms | 126.9227 Ops/s | 126.4992 Ops/s | |
test_vmap_transformer_speed[False-False] | 8.2227ms | 7.7121ms | 129.6664 Ops/s | 131.2775 Ops/s | |
test_vmap_transformer_speed_decorator[True-True] | 19.6445ms | 18.8301ms | 53.1066 Ops/s | 53.4929 Ops/s | |
test_vmap_transformer_speed_decorator[True-False] | 19.2338ms | 18.8290ms | 53.1095 Ops/s | 53.3947 Ops/s | |
test_vmap_transformer_speed_decorator[False-True] | 19.6614ms | 18.7809ms | 53.2455 Ops/s | 53.6020 Ops/s | |
test_vmap_transformer_speed_decorator[False-False] | 19.5796ms | 18.6872ms | 53.5126 Ops/s | 53.8041 Ops/s | |
test_to_module_speed[True] | 1.6551ms | 1.5390ms | 649.7826 Ops/s | 646.4956 Ops/s | |
test_to_module_speed[False] | 1.6524ms | 1.5032ms | 665.2677 Ops/s | 662.4894 Ops/s | |
test_tc_init | 49.2510μs | 30.4568μs | 32.8334 KOps/s | 39.2308 KOps/s | |
test_tc_init_nested | 96.1810μs | 66.4970μs | 15.0383 KOps/s | 18.2263 KOps/s | |
test_tc_first_layer_tensor | 2.1418μs | 0.3581μs | 2.7927 MOps/s | 2.7925 MOps/s | |
test_tc_first_layer_nontensor | 1.5869μs | 0.3929μs | 2.5449 MOps/s | 2.5813 MOps/s | |
test_tc_second_layer_tensor | 17.7200μs | 1.0707μs | 933.9422 KOps/s | 1.0226 MOps/s | |
test_tc_second_layer_nontensor | 7.8168μs | 0.8249μs | 1.2123 MOps/s | 1.1943 MOps/s | |
test_unbind | 5.2927ms | 5.1349ms | 194.7453 Ops/s | 156.6066 Ops/s | |
test_full_like | 12.5767ms | 11.4093ms | 87.6480 Ops/s | 88.5167 Ops/s | |
test_zeros_like | 8.4110ms | 7.9256ms | 126.1736 Ops/s | 126.6221 Ops/s | |
test_ones_like | 8.4902ms | 7.9593ms | 125.6395 Ops/s | 125.6662 Ops/s | |
test_clone | 9.7995ms | 9.4006ms | 106.3765 Ops/s | 106.5459 Ops/s | |
test_squeeze | 0.1716ms | 11.4340μs | 87.4587 KOps/s | 89.1270 KOps/s | |
test_unsqueeze | 0.1817ms | 52.6674μs | 18.9871 KOps/s | 19.4484 KOps/s | |
test_split | 0.2166ms | 98.0221μs | 10.2018 KOps/s | 10.3415 KOps/s | |
test_permute | 0.2517ms | 0.1120ms | 8.9285 KOps/s | 8.8959 KOps/s | |
test_stack | 27.4819ms | 27.0700ms | 36.9413 Ops/s | 36.8974 Ops/s | |
test_cat | 27.7493ms | 27.0509ms | 36.9674 Ops/s | 37.0377 Ops/s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Something isn't working
CLA Signed
This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
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.
cc @dtsaras