-
Notifications
You must be signed in to change notification settings - Fork 513
Expand file tree
/
Copy pathfit-advanced.txt
More file actions
4747 lines (4190 loc) · 310 KB
/
Copy pathfit-advanced.txt
File metadata and controls
4747 lines (4190 loc) · 310 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
FIT Profiler Report
Profile stats for: [LightningModule]TimeNet.configure_callbacks
7 function calls in 0.000 seconds
Ordered by: cumulative time
ncalls tottime percall cumtime percall filename:lineno(function)
1 0.000 0.000 0.000 0.000 contextlib.py:141(__exit__)
1 0.000 0.000 0.000 0.000 {built-in method builtins.next}
1 0.000 0.000 0.000 0.000 profiler.py:55(profile)
1 0.000 0.000 0.000 0.000 advanced.py:71(stop)
1 0.000 0.000 0.000 0.000 module.py:936(configure_callbacks)
1 0.000 0.000 0.000 0.000 {method 'get' of 'dict' objects}
1 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}
Profile stats for: [LightningModule]TimeNet.setup
7 function calls in 0.000 seconds
Ordered by: cumulative time
ncalls tottime percall cumtime percall filename:lineno(function)
1 0.000 0.000 0.000 0.000 contextlib.py:141(__exit__)
1 0.000 0.000 0.000 0.000 {built-in method builtins.next}
1 0.000 0.000 0.000 0.000 profiler.py:55(profile)
1 0.000 0.000 0.000 0.000 advanced.py:71(stop)
1 0.000 0.000 0.000 0.000 hooks.py:420(setup)
1 0.000 0.000 0.000 0.000 {method 'get' of 'dict' objects}
1 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}
Profile stats for: [LightningModule]TimeNet.configure_optimizers
1165 function calls (1119 primitive calls) in 0.029 seconds
Ordered by: cumulative time
ncalls tottime percall cumtime percall filename:lineno(function)
1 0.000 0.000 0.029 0.029 time_net.py:863(configure_optimizers)
1 0.000 0.000 0.029 0.029 trainer.py:1653(estimated_stepping_batches)
1 0.000 0.000 0.029 0.029 fit_loop.py:213(setup_data)
2 0.026 0.013 0.028 0.014 data.py:92(has_len_all_ranks)
2 0.003 0.001 0.003 0.001 {built-in method torch.tensor}
1 0.000 0.000 0.000 0.000 adamw.py:14(__init__)
1 0.000 0.000 0.000 0.000 optimizer.py:250(__init__)
1 0.000 0.000 0.000 0.000 _compile.py:20(inner)
1 0.000 0.000 0.000 0.000 decorators.py:36(disable)
1 0.000 0.000 0.000 0.000 eval_frame.py:351(__call__)
1 0.000 0.000 0.000 0.000 data_connector.py:313(_request_dataloader)
5 0.000 0.000 0.000 0.000 {built-in method builtins.next}
4 0.000 0.000 0.000 0.000 data.py:357(_replace_dunder_methods)
1 0.000 0.000 0.000 0.000 utilities.py:135(_select_data_fetcher)
2 0.000 0.000 0.000 0.000 contextlib.py:132(__enter__)
5/1 0.000 0.000 0.000 0.000 {built-in method builtins.iter}
1 0.000 0.000 0.000 0.000 fetchers.py:102(__iter__)
1 0.000 0.000 0.000 0.000 fetchers.py:49(__iter__)
1 0.000 0.000 0.000 0.000 signature_utils.py:18(is_param_in_hook_signature)
1 0.000 0.000 0.000 0.000 trace_rules.py:3377(check)
1 0.000 0.000 0.000 0.000 trace_rules.py:3342(check_verbose)
1 0.000 0.000 0.000 0.000 combined_loader.py:347(__iter__)
1 0.000 0.000 0.000 0.000 inspect.py:1336(getfullargspec)
1 0.000 0.000 0.000 0.000 data_connector.py:468(_process_dataloader)
1 0.000 0.000 0.000 0.000 combined_loader.py:90(__iter__)
1 0.000 0.000 0.000 0.000 combined_loader.py:41(__iter__)
1 0.000 0.000 0.000 0.000 combined_loader.py:43(<listcomp>)
1 0.000 0.000 0.000 0.000 dataloader.py:426(__iter__)
1 0.000 0.000 0.000 0.000 dataloader.py:382(_get_iterator)
1 0.000 0.000 0.000 0.000 dataloader.py:659(__init__)
1 0.000 0.000 0.000 0.000 trace_rules.py:3432(lookup_inner)
2/1 0.000 0.000 0.000 0.000 inspect.py:2428(_signature_from_callable)
1 0.000 0.000 0.000 0.000 dataloader.py:565(__init__)
1 0.000 0.000 0.000 0.000 trace_rules.py:3275(check_file)
2 0.000 0.000 0.000 0.000 inheritance.py:19(get_all_subclasses)
2 0.000 0.000 0.000 0.000 inheritance.py:8(get_all_subclasses_iterator)
1 0.000 0.000 0.000 0.000 trace_rules.py:3210(get_legacy_mod_inlinelist)
2 0.000 0.000 0.000 0.000 typing.py:349(inner)
1 0.000 0.000 0.000 0.000 lr_scheduler.py:1638(__init__)
84/63 0.000 0.000 0.000 0.000 {built-in method builtins.len}
1 0.000 0.000 0.000 0.000 inspect.py:936(getsourcefile)
92 0.000 0.000 0.000 0.000 {built-in method builtins.isinstance}
1 0.000 0.000 0.000 0.000 typing.py:1556(__getitem__)
1 0.000 0.000 0.000 0.000 inspect.py:2333(_signature_from_function)
1 0.000 0.000 0.000 0.000 data_connector.py:407(_worker_check)
9 0.000 0.000 0.000 0.000 functools.py:35(update_wrapper)
7/4 0.000 0.000 0.000 0.000 data.py:47(sized_len)
1 0.000 0.000 0.000 0.000 eval_frame.py:428(_fn)
1 0.000 0.000 0.000 0.000 typing.py:1565(copy_with)
1 0.000 0.000 0.000 0.000 lr_scheduler.py:35(__init__)
6 0.000 0.000 0.000 0.000 module.py:2207(parameters)
1 0.000 0.000 0.000 0.000 typing.py:1346(__init__)
6 0.000 0.000 0.000 0.000 module.py:2232(named_parameters)
5 0.000 0.000 0.000 0.000 dataloader.py:457(__len__)
1 0.000 0.000 0.000 0.000 {method 'random_' of 'torch._C.TensorBase' objects}
6 0.000 0.000 0.000 0.000 module.py:2193(_named_members)
111 0.000 0.000 0.000 0.000 {built-in method builtins.getattr}
1 0.000 0.000 0.000 0.000 <frozen genericpath>:16(exists)
11 0.000 0.000 0.000 0.000 <frozen abc>:117(__instancecheck__)
1 0.000 0.000 0.000 0.000 optimizer.py:417(_patch_step_function)
1 0.000 0.000 0.000 0.000 data_connector.py:175(_prepare_dataloader)
3 0.000 0.000 0.000 0.000 combined_loader.py:355(__len__)
2 0.000 0.000 0.000 0.000 rank_zero.py:36(wrapped_fn)
1 0.000 0.000 0.000 0.000 {built-in method posix.stat}
1 0.000 0.000 0.000 0.000 optimizer.py:863(add_param_group)
3 0.000 0.000 0.000 0.000 combined_loader.py:96(__len__)
20 0.000 0.000 0.000 0.000 trace_rules.py:3128(_module_dir)
11 0.000 0.000 0.000 0.000 {built-in method _abc._abc_instancecheck}
4 0.000 0.000 0.000 0.000 data.py:330(_wrap_attr_method)
1 0.000 0.000 0.000 0.000 lr_scheduler.py:87(_initial_step)
1 0.000 0.000 0.000 0.000 optimizer.py:371(profile_hook_step)
5 0.000 0.000 0.000 0.000 enums.py:81(__eq__)
3 0.000 0.000 0.000 0.000 contextlib.py:141(__exit__)
5 0.000 0.000 0.000 0.000 sampler.py:297(__len__)
3 0.000 0.000 0.000 0.000 inspect.py:2686(__init__)
1 0.000 0.000 0.000 0.000 typing_extensions.py:3029(_collect_parameters)
1 0.000 0.000 0.000 0.000 data_connector.py:167(_requires_distributed_sampler)
1 0.000 0.000 0.000 0.000 combined_loader.py:284(__init__)
2 0.000 0.000 0.000 0.000 package_importer.py:694(_patched_getfile)
1 0.000 0.000 0.000 0.000 fetchers.py:139(reset)
1 0.000 0.000 0.000 0.000 lr_scheduler.py:131(step)
29 0.000 0.000 0.000 0.000 {method 'add' of 'set' objects}
15 0.000 0.000 0.000 0.000 {built-in method builtins.hasattr}
1 0.000 0.000 0.000 0.000 fetchers.py:71(reset)
1 0.000 0.000 0.000 0.000 accelerator_connector.py:609(is_distributed)
1 0.000 0.000 0.000 0.000 rank_zero.py:66(rank_zero_info)
3 0.000 0.000 0.000 0.000 combined_loader.py:404(_get_iterables_lengths)
2 0.000 0.000 0.000 0.000 data.py:43(has_iterable_dataset)
1 0.000 0.000 0.000 0.000 _pytree.py:18(_tree_flatten)
53 0.000 0.000 0.000 0.000 {built-in method builtins.setattr}
1 0.000 0.000 0.000 0.000 rank_zero.py:60(_info)
1 0.000 0.000 0.000 0.000 trainer.py:1173(num_devices)
20 0.000 0.000 0.000 0.000 trace_rules.py:3119(_strip_init_py)
1 0.000 0.000 0.000 0.000 data.py:438(suggested_max_num_workers)
8/3 0.000 0.000 0.000 0.000 <frozen abc>:121(__subclasscheck__)
3 0.000 0.000 0.000 0.000 combined_loader.py:405(<listcomp>)
2 0.000 0.000 0.000 0.000 data.py:283(_wrap_init_method)
1 0.000 0.000 0.000 0.000 lr_scheduler.py:57(with_counter)
2 0.000 0.000 0.000 0.000 __init__.py:1734(isEnabledFor)
3 0.000 0.000 0.000 0.000 {built-in method builtins.any}
2 0.000 0.000 0.000 0.000 inspect.py:896(getfile)
1 0.000 0.000 0.000 0.000 data.py:245(_auto_add_worker_init_fn)
1 0.000 0.000 0.000 0.000 __init__.py:1467(debug)
1 0.000 0.000 0.000 0.000 trainer.py:1156(device_ids)
1 0.000 0.000 0.000 0.000 eval_frame.py:550(__init__)
5 0.000 0.000 0.000 0.000 sampler.py:170(__len__)
1 0.000 0.000 0.000 0.000 model_helpers.py:29(is_overridden)
1 0.000 0.000 0.000 0.000 dataloader.py:93(_get_distributed_settings)
8/3 0.000 0.000 0.000 0.000 {built-in method _abc._abc_subclasscheck}
1 0.000 0.000 0.000 0.000 {built-in method torch.empty}
7 0.000 0.000 0.000 0.000 typing.py:1290(__setattr__)
12/5 0.000 0.000 0.000 0.000 module.py:2369(named_modules)
1 0.000 0.000 0.000 0.000 data.py:453(_num_cpus_available)
1 0.000 0.000 0.000 0.000 inspect.py:2972(__init__)
1 0.000 0.000 0.000 0.000 <frozen _collections_abc>:771(get)
2 0.000 0.000 0.000 0.000 typing.py:1561(<genexpr>)
1 0.000 0.000 0.000 0.000 typing.py:1251(__init__)
6 0.000 0.000 0.000 0.000 {built-in method builtins.max}
5 0.000 0.000 0.000 0.000 sampler.py:145(num_samples)
11 0.000 0.000 0.000 0.000 enum.py:192(__get__)
1 0.000 0.000 0.000 0.000 platform.py:1119(python_version)
1 0.000 0.000 0.000 0.000 rank_zero.py:76(rank_zero_warn)
1 0.000 0.000 0.000 0.000 eval_frame.py:448(<listcomp>)
1 0.000 0.000 0.000 0.000 lr_scheduler.py:1775(get_lr)
1 0.000 0.000 0.000 0.000 eval_frame.py:290(__init__)
20 0.000 0.000 0.000 0.000 _tensor.py:1059(__hash__)
1 0.000 0.000 0.000 0.000 combined_loader.py:313(flattened)
2 0.000 0.000 0.000 0.000 trainer.py:1178(lightning_module)
2 0.000 0.000 0.000 0.000 contextlib.py:287(helper)
1 0.000 0.000 0.000 0.000 <frozen os>:674(__getitem__)
1 0.000 0.000 0.000 0.000 states.py:67(dataloader_prefix)
1 0.000 0.000 0.000 0.000 {built-in method posix.cpu_count}
31 0.000 0.000 0.000 0.000 {method 'endswith' of 'str' objects}
1 0.000 0.000 0.000 0.000 data_connector.py:439(_parse_num_batches)
1 0.000 0.000 0.000 0.000 rank_zero.py:72(_warn)
3 0.000 0.000 0.000 0.000 base.py:127(__instancecheck__)
1 0.000 0.000 0.000 0.000 {built-in method torch._C._log_api_usage_once}
1 0.000 0.000 0.000 0.000 fetchers.py:95(__init__)
1 0.000 0.000 0.000 0.000 eval_frame.py:141(change)
3 0.000 0.000 0.000 0.000 enum.py:685(__call__)
1 0.000 0.000 0.000 0.000 utils.py:862(getfile)
1 0.000 0.000 0.000 0.000 dataloader.py:74(create_fetcher)
1 0.000 0.000 0.000 0.000 _pytree.py:761(__init__)
1 0.000 0.000 0.000 0.000 _pytree.py:6(_is_leaf_or_primitive_container)
9 0.000 0.000 0.000 0.000 typing.py:1238(_is_dunder)
1 0.000 0.000 0.000 0.000 distributed_c10d.py:973(is_initialized)
1 0.000 0.000 0.000 0.000 typing_extensions.py:2954(_has_generic_or_protocol_as_origin)
1 0.000 0.000 0.000 0.000 typing.py:168(_type_check)
1 0.000 0.000 0.000 0.000 _pytree.py:811(tree_unflatten)
9 0.000 0.000 0.000 0.000 functools.py:65(wraps)
1 0.000 0.000 0.000 0.000 combined_loader.py:68(__init__)
6 0.000 0.000 0.000 0.000 dataloader.py:445(_index_sampler)
1 0.000 0.000 0.000 0.000 {built-in method _warnings.warn}
1 0.000 0.000 0.000 0.000 profiler.py:55(profile)
3 0.000 0.000 0.000 0.000 inspect.py:943(<genexpr>)
2 0.000 0.000 0.000 0.000 contextlib.py:104(__init__)
1 0.000 0.000 0.000 0.000 trace_rules.py:2840(is_aten_op_or_tensor_method)
1 0.000 0.000 0.000 0.000 <string>:1(<lambda>)
7 0.000 0.000 0.000 0.000 trace_rules.py:3279(<genexpr>)
1 0.000 0.000 0.000 0.000 _pytree.py:601(_get_node_type)
1 0.000 0.000 0.000 0.000 imports.py:47(_habana_available_and_importable)
1 0.000 0.000 0.000 0.000 overrides.py:10(is_overridden)
20 0.000 0.000 0.000 0.000 {method 'replace' of 'str' objects}
2 0.000 0.000 0.000 0.000 typing.py:1280(__getattr__)
6 0.000 0.000 0.000 0.000 combined_loader.py:100(<genexpr>)
2 0.000 0.000 0.000 0.000 lr_scheduler.py:1764(_annealing_cos)
1 0.000 0.000 0.000 0.000 combined_loader.py:329(limits)
2 0.000 0.000 0.000 0.000 inheritance.py:11(recurse)
9 0.000 0.000 0.000 0.000 trainer.py:1125(strategy)
1 0.000 0.000 0.000 0.000 advanced.py:71(stop)
1 0.000 0.000 0.000 0.000 __init__.py:1479(info)
1 0.000 0.000 0.000 0.000 inspect.py:167(get_annotations)
1 0.000 0.000 0.000 0.000 __init__.py:228(_acquireLock)
11 0.000 0.000 0.000 0.000 enum.py:1243(value)
3 0.000 0.000 0.000 0.000 eval_frame.py:265(innermost_fn)
4 0.000 0.000 0.000 0.000 module.py:2260(<lambda>)
1 0.000 0.000 0.000 0.000 typing_extensions.py:2976(_is_unpacked_typevartuple)
3 0.000 0.000 0.000 0.000 lr_scheduler.py:1755(_format_param)
14 0.000 0.000 0.000 0.000 {method 'get' of 'dict' objects}
1 0.000 0.000 0.000 0.000 typing.py:1201(args)
1 0.000 0.000 0.000 0.000 <frozen os>:756(encode)
1 0.000 0.000 0.000 0.000 context.py:253(get_start_method)
1 0.000 0.000 0.000 0.000 __init__.py:9(is_available)
15 0.000 0.000 0.000 0.000 {method 'startswith' of 'str' objects}
1 0.000 0.000 0.000 0.000 {method 'item' of 'torch._C.TensorBase' objects}
6 0.000 0.000 0.000 0.000 {built-in method builtins.delattr}
1 0.000 0.000 0.000 0.000 fetchers.py:29(__init__)
1 0.000 0.000 0.000 0.000 distributed_c10d.py:588(WORLD)
1 0.000 0.000 0.000 0.000 imports.py:196(__bool__)
1 0.000 0.000 0.000 0.000 _pytree.py:734(unflatten)
1 0.000 0.000 0.000 0.000 trainer.py:1480(max_steps)
1 0.000 0.000 0.000 0.000 combined_loader.py:29(__init__)
4 0.000 0.000 0.000 0.000 inspect.py:3019(<genexpr>)
21 0.000 0.000 0.000 0.000 {built-in method builtins.id}
12 0.000 0.000 0.000 0.000 {method 'setdefault' of 'dict' objects}
1 0.000 0.000 0.000 0.000 _pytree.py:764(__post_init__)
9 0.000 0.000 0.000 0.000 {method 'update' of 'dict' objects}
4 0.000 0.000 0.000 0.000 inspect.py:946(<genexpr>)
1 0.000 0.000 0.000 0.000 fit_loop.py:434(_load_combined_loader_states)
1 0.000 0.000 0.000 0.000 platform.py:1002(_sys_version)
1 0.000 0.000 0.000 0.000 fetch.py:8(__init__)
7 0.000 0.000 0.000 0.000 dataloader.py:441(_auto_collation)
1 0.000 0.000 0.000 0.000 typing_extensions.py:2916(_check_generic)
11 0.000 0.000 0.000 0.000 {method 'append' of 'list' objects}
4 0.000 0.000 0.000 0.000 inspect.py:378(isfunction)
1 0.000 0.000 0.000 0.000 __init__.py:237(_releaseLock)
1 0.000 0.000 0.000 0.000 _pytree.py:590(_is_namedtuple_instance)
1 0.000 0.000 0.000 0.000 data_connector.py:282(dataloader)
5 0.000 0.000 0.000 0.000 time_dataset.py:842(__len__)
3 0.000 0.000 0.000 0.000 {method 'isidentifier' of 'str' objects}
1 0.000 0.000 0.000 0.000 trainer.py:1467(current_epoch)
1 0.000 0.000 0.000 0.000 typing.py:1205(kwargs)
10 0.000 0.000 0.000 0.000 {method 'lower' of 'str' objects}
1 0.000 0.000 0.000 0.000 eval_frame.py:119(backend_cache_manager)
4 0.000 0.000 0.000 0.000 inspect.py:292(isclass)
1 0.000 0.000 0.000 0.000 utils.py:435(hashable)
2 0.000 0.000 0.000 0.000 inspect.py:456(istraceback)
2 0.000 0.000 0.000 0.000 inspect.py:283(ismodule)
3 0.000 0.000 0.000 0.000 single_device.py:71(root_device)
1 0.000 0.000 0.000 0.000 typing.py:2402(get_origin)
1 0.000 0.000 0.000 0.000 {method 'acquire' of '_thread.RLock' objects}
3 0.000 0.000 0.000 0.000 trainer.py:1472(max_epochs)
1 0.000 0.000 0.000 0.000 fit_loop.py:116(max_steps)
2 0.000 0.000 0.000 0.000 {built-in method math.cos}
1 0.000 0.000 0.000 0.000 {built-in method __new__ of type object at 0x101877ca8}
6 0.000 0.000 0.000 0.000 {built-in method builtins.callable}
3 0.000 0.000 0.000 0.000 {built-in method builtins.min}
3 0.000 0.000 0.000 0.000 {method '__contains__' of 'frozenset' objects}
1 0.000 0.000 0.000 0.000 __init__.py:1720(getEffectiveLevel)
2 0.000 0.000 0.000 0.000 inspect.py:466(isframe)
1 0.000 0.000 0.000 0.000 {built-in method math.ceil}
2 0.000 0.000 0.000 0.000 inspect.py:300(ismethod)
6 0.000 0.000 0.000 0.000 inspect.py:2739(name)
2 0.000 0.000 0.000 0.000 inspect.py:480(iscode)
3 0.000 0.000 0.000 0.000 enum.py:1091(__new__)
2 0.000 0.000 0.000 0.000 strategy.py:360(lightning_module)
8 0.000 0.000 0.000 0.000 {method 'items' of 'collections.OrderedDict' objects}
1 0.000 0.000 0.000 0.000 {method 'values' of 'mappingproxy' objects}
6 0.000 0.000 0.000 0.000 {function VariableTrackerMeta.__instancecheck__ at 0x15226da80}
2 0.000 0.000 0.000 0.000 {built-in method torch._C._dynamo.eval_frame.set_eval_frame}
1 0.000 0.000 0.000 0.000 typing.py:159(_type_convert)
1 0.000 0.000 0.000 0.000 {method 'encode' of 'str' objects}
2 0.000 0.000 0.000 0.000 typing.py:1351(<genexpr>)
4 0.000 0.000 0.000 0.000 combined_loader.py:308(flattened)
2 0.000 0.000 0.000 0.000 single_device.py:50(reduce)
2 0.000 0.000 0.000 0.000 {method '__subclasses__' of 'type' objects}
1 0.000 0.000 0.000 0.000 <frozen _collections_abc>:262(__subclasshook__)
1 0.000 0.000 0.000 0.000 <string>:2(__init__)
1 0.000 0.000 0.000 0.000 dataloader.py:389(multiprocessing_context)
1 0.000 0.000 0.000 0.000 module.py:215(trainer)
1 0.000 0.000 0.000 0.000 trainer.py:1133(global_rank)
1 0.000 0.000 0.000 0.000 {method 'items' of 'dict' objects}
1 0.000 0.000 0.000 0.000 imports.py:160(_check_available)
1 0.000 0.000 0.000 0.000 {built-in method sys._getframe}
3 0.000 0.000 0.000 0.000 inspect.py:2747(annotation)
1 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}
1 0.000 0.000 0.000 0.000 data_connector.py:375(_check_dataloader_iterable)
1 0.000 0.000 0.000 0.000 lr_scheduler.py:178(__init__)
1 0.000 0.000 0.000 0.000 lr_scheduler.py:181(__enter__)
1 0.000 0.000 0.000 0.000 eval_frame.py:149(revert)
1 0.000 0.000 0.000 0.000 trainer.py:1590(loggers)
1 0.000 0.000 0.000 0.000 loop.py:27(restarting)
3 0.000 0.000 0.000 0.000 inspect.py:2751(kind)
2 0.000 0.000 0.000 0.000 fetchers.py:38(combined_loader)
1 0.000 0.000 0.000 0.000 {method 'release' of '_thread.RLock' objects}
1 0.000 0.000 0.000 0.000 trainer.py:1493(train_dataloader)
3 0.000 0.000 0.000 0.000 inspect.py:2743(default)
1 0.000 0.000 0.000 0.000 typing.py:1150(__init__)
1 0.000 0.000 0.000 0.000 typing.py:1126(__init__)
1 0.000 0.000 0.000 0.000 __init__.py:1319(disable)
1 0.000 0.000 0.000 0.000 _pytree.py:650(is_leaf)
1 0.000 0.000 0.000 0.000 lr_scheduler.py:25(_check_verbose_deprecated_warning)
1 0.000 0.000 0.000 0.000 lr_scheduler.py:51(<listcomp>)
1 0.000 0.000 0.000 0.000 lr_scheduler.py:185(__exit__)
1 0.000 0.000 0.000 0.000 {method 'isdisjoint' of 'set' objects}
2 0.000 0.000 0.000 0.000 eval_frame.py:261(always_false)
1 0.000 0.000 0.000 0.000 inspect.py:3032(parameters)
1 0.000 0.000 0.000 0.000 inspect.py:3036(return_annotation)
1 0.000 0.000 0.000 0.000 distributed_c10d.py:460(default_pg)
1 0.000 0.000 0.000 0.000 lr_scheduler.py:167(<listcomp>)
1 0.000 0.000 0.000 0.000 eval_frame.py:257(nothing)
1 0.000 0.000 0.000 0.000 fetchers.py:46(setup)
1 0.000 0.000 0.000 0.000 strategy.py:439(process_dataloader)
1 0.000 0.000 0.000 0.000 single_device.py:86(barrier)
1 0.000 0.000 0.000 0.000 {built-in method builtins.hash}
1 0.000 0.000 0.000 0.000 trainer.py:1523(num_training_batches)
1 0.000 0.000 0.000 0.000 typing.py:2246(cast)
Profile stats for: [LightningModule]TimeNet.on_fit_start
7 function calls in 0.000 seconds
Ordered by: cumulative time
ncalls tottime percall cumtime percall filename:lineno(function)
1 0.000 0.000 0.000 0.000 contextlib.py:141(__exit__)
1 0.000 0.000 0.000 0.000 {built-in method builtins.next}
1 0.000 0.000 0.000 0.000 profiler.py:55(profile)
1 0.000 0.000 0.000 0.000 advanced.py:71(stop)
1 0.000 0.000 0.000 0.000 hooks.py:30(on_fit_start)
1 0.000 0.000 0.000 0.000 {method 'get' of 'dict' objects}
1 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}
Profile stats for: [LightningModule]TimeNet.on_train_start
7 function calls in 0.000 seconds
Ordered by: cumulative time
ncalls tottime percall cumtime percall filename:lineno(function)
1 0.000 0.000 0.000 0.000 contextlib.py:141(__exit__)
1 0.000 0.000 0.000 0.000 {built-in method builtins.next}
1 0.000 0.000 0.000 0.000 profiler.py:55(profile)
1 0.000 0.000 0.000 0.000 advanced.py:71(stop)
1 0.000 0.000 0.000 0.000 {method 'get' of 'dict' objects}
1 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}
1 0.000 0.000 0.000 0.000 hooks.py:44(on_train_start)
Profile stats for: [Strategy]SingleDeviceStrategy.on_train_start
7 function calls in 0.000 seconds
Ordered by: cumulative time
ncalls tottime percall cumtime percall filename:lineno(function)
1 0.000 0.000 0.000 0.000 contextlib.py:141(__exit__)
1 0.000 0.000 0.000 0.000 {built-in method builtins.next}
1 0.000 0.000 0.000 0.000 profiler.py:55(profile)
1 0.000 0.000 0.000 0.000 advanced.py:71(stop)
1 0.000 0.000 0.000 0.000 strategy.py:545(on_train_start)
1 0.000 0.000 0.000 0.000 {method 'get' of 'dict' objects}
1 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}
Profile stats for: [LightningModule]TimeNet.on_train_epoch_start
70 function calls in 0.000 seconds
Ordered by: cumulative time
ncalls tottime percall cumtime percall filename:lineno(function)
10 0.000 0.000 0.000 0.000 contextlib.py:141(__exit__)
10 0.000 0.000 0.000 0.000 {built-in method builtins.next}
10 0.000 0.000 0.000 0.000 profiler.py:55(profile)
10 0.000 0.000 0.000 0.000 advanced.py:71(stop)
10 0.000 0.000 0.000 0.000 {method 'get' of 'dict' objects}
10 0.000 0.000 0.000 0.000 hooks.py:211(on_train_epoch_start)
10 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}
Profile stats for: run_training_epoch
1290 function calls (1200 primitive calls) in 1.308 seconds
Ordered by: cumulative time
ncalls tottime percall cumtime percall filename:lineno(function)
10 0.000 0.000 1.308 0.131 training_epoch_loop.py:135(run)
10 0.000 0.000 1.307 0.131 training_epoch_loop.py:192(advance)
10 0.000 0.000 1.307 0.131 {built-in method builtins.next}
10 0.000 0.000 1.307 0.131 fetchers.py:119(__next__)
10 0.000 0.000 1.307 0.131 fetchers.py:55(__next__)
10 0.000 0.000 1.307 0.131 training_epoch_loop.py:186(_on_before_fetch)
10 0.000 0.000 1.307 0.131 advanced.py:65(start)
10 1.307 0.131 1.307 0.131 {method 'enable' of '_lsprof.Profiler' objects}
10 0.000 0.000 0.001 0.000 training_epoch_loop.py:176(on_run_start)
45/9 0.000 0.000 0.001 0.000 {built-in method builtins.iter}
9 0.000 0.000 0.001 0.000 fetchers.py:102(__iter__)
9 0.000 0.000 0.001 0.000 fetchers.py:49(__iter__)
9 0.000 0.000 0.000 0.000 combined_loader.py:347(__iter__)
9 0.000 0.000 0.000 0.000 combined_loader.py:90(__iter__)
9 0.000 0.000 0.000 0.000 combined_loader.py:41(__iter__)
9 0.000 0.000 0.000 0.000 combined_loader.py:43(<listcomp>)
9 0.000 0.000 0.000 0.000 dataloader.py:426(__iter__)
9 0.000 0.000 0.000 0.000 dataloader.py:382(_get_iterator)
9 0.000 0.000 0.000 0.000 dataloader.py:659(__init__)
9 0.000 0.000 0.000 0.000 dataloader.py:565(__init__)
10 0.000 0.000 0.000 0.000 training_epoch_loop.py:147(reset)
9 0.000 0.000 0.000 0.000 fetchers.py:139(reset)
9 0.000 0.000 0.000 0.000 fetchers.py:71(reset)
18/9 0.000 0.000 0.000 0.000 data.py:47(sized_len)
90/45 0.000 0.000 0.000 0.000 {built-in method builtins.len}
9 0.000 0.000 0.000 0.000 combined_loader.py:355(__len__)
9 0.000 0.000 0.000 0.000 combined_loader.py:96(__len__)
9 0.000 0.000 0.000 0.000 {method 'random_' of 'torch._C.TensorBase' objects}
198 0.000 0.000 0.000 0.000 {built-in method builtins.isinstance}
9 0.000 0.000 0.000 0.000 combined_loader.py:404(_get_iterables_lengths)
40 0.000 0.000 0.000 0.000 progress.py:172(reset_on_run)
9 0.000 0.000 0.000 0.000 combined_loader.py:405(<listcomp>)
10 0.000 0.000 0.000 0.000 loop.py:32(restarting)
9 0.000 0.000 0.000 0.000 dataloader.py:457(__len__)
10 0.000 0.000 0.000 0.000 progress.py:282(reset_on_run)
10 0.000 0.000 0.000 0.000 progress.py:204(reset_on_run)
10 0.000 0.000 0.000 0.000 training_epoch_loop.py:116(done)
37 0.000 0.000 0.000 0.000 <frozen abc>:117(__instancecheck__)
9 0.000 0.000 0.000 0.000 dataloader.py:74(create_fetcher)
10 0.000 0.000 0.000 0.000 training_epoch_loop.py:106(_is_training_done)
9 0.000 0.000 0.000 0.000 {built-in method torch.empty}
20 0.000 0.000 0.000 0.000 progress.py:114(reset)
37 0.000 0.000 0.000 0.000 {built-in method _abc._abc_instancecheck}
10 0.000 0.000 0.000 0.000 progress.py:249(reset_on_run)
9 0.000 0.000 0.000 0.000 sampler.py:297(__len__)
30 0.000 0.000 0.000 0.000 progress.py:87(reset)
9 0.000 0.000 0.000 0.000 dataloader.py:93(_get_distributed_settings)
9 0.000 0.000 0.000 0.000 combined_loader.py:68(__init__)
9 0.000 0.000 0.000 0.000 {built-in method builtins.max}
10 0.000 0.000 0.000 0.000 training_epoch_loop.py:99(global_step)
9 0.000 0.000 0.000 0.000 sampler.py:170(__len__)
50 0.000 0.000 0.000 0.000 progress.py:56(reset)
9 0.000 0.000 0.000 0.000 combined_loader.py:29(__init__)
9 0.000 0.000 0.000 0.000 distributed_c10d.py:973(is_initialized)
9 0.000 0.000 0.000 0.000 sampler.py:145(num_samples)
10 0.000 0.000 0.000 0.000 trainer.py:1178(lightning_module)
18 0.000 0.000 0.000 0.000 combined_loader.py:100(<genexpr>)
9 0.000 0.000 0.000 0.000 fetch.py:8(__init__)
18 0.000 0.000 0.000 0.000 dataloader.py:445(_index_sampler)
9 0.000 0.000 0.000 0.000 distributed_c10d.py:588(WORLD)
10 0.000 0.000 0.000 0.000 training_epoch_loop.py:331(_num_ready_batches_reached)
9 0.000 0.000 0.000 0.000 {method 'item' of 'torch._C.TensorBase' objects}
9 0.000 0.000 0.000 0.000 __init__.py:9(is_available)
18 0.000 0.000 0.000 0.000 fetchers.py:38(combined_loader)
27 0.000 0.000 0.000 0.000 dataloader.py:441(_auto_collation)
10 0.000 0.000 0.000 0.000 trainer.py:1467(current_epoch)
1 0.000 0.000 0.000 0.000 <frozen abc>:121(__subclasscheck__)
9 0.000 0.000 0.000 0.000 {built-in method builtins.min}
1 0.000 0.000 0.000 0.000 {built-in method _abc._abc_subclasscheck}
29 0.000 0.000 0.000 0.000 loop.py:27(restarting)
10 0.000 0.000 0.000 0.000 strategy.py:360(lightning_module)
10 0.000 0.000 0.000 0.000 {built-in method builtins.vars}
9 0.000 0.000 0.000 0.000 sampler.py:274(__iter__)
10 0.000 0.000 0.000 0.000 trainer.py:1125(strategy)
9 0.000 0.000 0.000 0.000 combined_loader.py:308(flattened)
9 0.000 0.000 0.000 0.000 time_dataset.py:842(__len__)
10 0.000 0.000 0.000 0.000 module.py:295(automatic_optimization)
10 0.000 0.000 0.000 0.000 utilities.py:113(_is_max_limit_reached)
9 0.000 0.000 0.000 0.000 distributed_c10d.py:460(default_pg)
10 0.000 0.000 0.000 0.000 trainer.py:1523(num_training_batches)
9 0.000 0.000 0.000 0.000 {built-in method builtins.hasattr}
1 0.000 0.000 0.000 0.000 <frozen _collections_abc>:283(__subclasshook__)
10 0.000 0.000 0.000 0.000 {method 'values' of 'dict' objects}
Profile stats for: [_TrainingEpochLoop].train_dataloader_next
242230 function calls (240666 primitive calls) in 0.239 seconds
Ordered by: cumulative time
ncalls tottime percall cumtime percall filename:lineno(function)
600/120 0.000 0.000 0.239 0.002 {built-in method builtins.next}
120 0.000 0.000 0.239 0.002 combined_loader.py:339(__next__)
120 0.000 0.000 0.239 0.002 combined_loader.py:72(__next__)
120 0.000 0.000 0.239 0.002 dataloader.py:626(__next__)
120 0.009 0.000 0.237 0.002 dataloader.py:673(_next_data)
120 0.000 0.000 0.225 0.002 fetch.py:46(fetch)
120 0.003 0.000 0.210 0.002 fetch.py:51(<listcomp>)
14620 0.010 0.000 0.208 0.000 time_dataset.py:845(__getitem__)
14620 0.011 0.000 0.198 0.000 time_dataset.py:171(__getitem__)
14620 0.023 0.000 0.178 0.000 time_dataset.py:297(tabularize_univariate_datetime_single_index)
14620 0.117 0.000 0.119 0.000 time_dataset.py:156(get_sample_seasonalities)
14620 0.017 0.000 0.030 0.000 time_dataset.py:709(get_sample_targets)
43860 0.018 0.000 0.018 0.000 {method 'unsqueeze' of 'torch._C.TensorBase' objects}
120 0.000 0.000 0.014 0.000 collate.py:255(default_collate)
1080/120 0.002 0.000 0.014 0.000 collate.py:108(collate)
120 0.000 0.000 0.010 0.000 collate.py:173(<listcomp>)
14620 0.009 0.000 0.009 0.000 time_dataset.py:226(sample_index_to_df_index)
360/240 0.000 0.000 0.007 0.000 collate.py:154(<dictcomp>)
480 0.001 0.000 0.004 0.000 collate.py:194(collate_tensor_fn)
480 0.004 0.000 0.004 0.000 {built-in method torch.stack}
120 0.000 0.000 0.003 0.000 dataloader.py:620(_next_index)
120 0.002 0.000 0.003 0.000 sampler.py:274(__iter__)
120 0.001 0.000 0.002 0.000 {built-in method builtins.all}
600 0.002 0.000 0.002 0.000 collate.py:154(<listcomp>)
14620 0.001 0.000 0.002 0.000 collate.py:168(<genexpr>)
360 0.001 0.000 0.002 0.000 copy.py:66(copy)
44134 0.001 0.000 0.001 0.000 {built-in method builtins.len}
14630 0.001 0.000 0.001 0.000 sampler.py:152(__iter__)
5539 0.001 0.000 0.001 0.000 {built-in method builtins.isinstance}
222 0.000 0.000 0.001 0.000 ipkernel.py:775(_clean_thread_parent_frames)
14620 0.001 0.000 0.001 0.000 {method 'items' of 'collections.OrderedDict' objects}
360 0.000 0.000 0.001 0.000 {method '__reduce_ex__' of 'object' objects}
120 0.000 0.000 0.001 0.000 profiler.py:604(__enter__)
120 0.000 0.000 0.001 0.000 _ops.py:846(__call__)
120 0.000 0.000 0.001 0.000 profiler.py:610(__exit__)
120 0.000 0.000 0.000 0.000 {built-in method torch._ops.profiler._record_function_enter_new}
360 0.000 0.000 0.000 0.000 copyreg.py:113(_slotnames)
1080 0.000 0.000 0.000 0.000 <frozen abc>:117(__instancecheck__)
111 0.000 0.000 0.000 0.000 ipkernel.py:790(<setcomp>)
1080 0.000 0.000 0.000 0.000 {built-in method _abc._abc_instancecheck}
20 0.000 0.000 0.000 0.000 {built-in method torch.randperm}
120 0.000 0.000 0.000 0.000 profiler.py:593(__init__)
20 0.000 0.000 0.000 0.000 {method 'tolist' of 'torch._C.TensorBase' objects}
120 0.000 0.000 0.000 0.000 _pytree.py:811(tree_unflatten)
111 0.000 0.000 0.000 0.000 threading.py:1494(enumerate)
120 0.000 0.000 0.000 0.000 _ops.py:591(__call__)
120 0.000 0.000 0.000 0.000 {built-in method torch._ops.profiler.}
360 0.000 0.000 0.000 0.000 copy.py:259(_reconstruct)
721 0.000 0.000 0.000 0.000 {built-in method builtins.getattr}
120 0.000 0.000 0.000 0.000 _pytree.py:734(unflatten)
777 0.000 0.000 0.000 0.000 threading.py:1161(ident)
121/120 0.000 0.000 0.000 0.000 typing.py:349(inner)
120 0.000 0.000 0.000 0.000 training_epoch_loop.py:189(_on_after_fetch)
601 0.000 0.000 0.000 0.000 {built-in method builtins.hasattr}
360 0.000 0.000 0.000 0.000 {method 'update' of 'collections.OrderedDict' objects}
123/122 0.000 0.000 0.000 0.000 <frozen abc>:121(__subclasscheck__)
2/1 0.000 0.000 0.000 0.000 typing.py:476(__getitem__)
1 0.000 0.000 0.000 0.000 typing.py:697(Optional)
123/122 0.000 0.000 0.000 0.000 {built-in method _abc._abc_subclasscheck}
120 0.000 0.000 0.000 0.000 advanced.py:71(stop)
842 0.000 0.000 0.000 0.000 {method 'get' of 'dict' objects}
3 0.000 0.000 0.000 0.000 typing.py:168(_type_check)
1 0.000 0.000 0.000 0.000 typing.py:653(Union)
1 0.000 0.000 0.000 0.000 _ops.py:800(__getattr__)
360 0.000 0.000 0.000 0.000 {method 'get' of 'mappingproxy' objects}
480 0.000 0.000 0.000 0.000 worker.py:89(get_worker_info)
3 0.000 0.000 0.000 0.000 typing.py:159(_type_convert)
1 0.000 0.000 0.000 0.000 typing.py:838(__init__)
444 0.000 0.000 0.000 0.000 {method 'keys' of 'dict' objects}
1 0.000 0.000 0.000 0.000 {built-in method builtins.compile}
360 0.000 0.000 0.000 0.000 {built-in method builtins.issubclass}
1 0.000 0.000 0.000 0.000 typing.py:1346(__init__)
120 0.000 0.000 0.000 0.000 _pytree.py:650(is_leaf)
10 0.000 0.000 0.000 0.000 {method 'manual_seed' of 'torch._C.Generator' objects}
120 0.000 0.000 0.000 0.000 <frozen _collections_abc>:315(__subclasshook__)
20 0.000 0.000 0.000 0.000 sampler.py:145(num_samples)
1 0.000 0.000 0.000 0.000 _ops.py:547(__init__)
222 0.000 0.000 0.000 0.000 {method 'values' of 'dict' objects}
111 0.000 0.000 0.000 0.000 {method '__exit__' of '_thread.RLock' objects}
120 0.000 0.000 0.000 0.000 {method '__exit__' of 'torch._C.DisableTorchFunctionSubclass' objects}
1 0.000 0.000 0.000 0.000 {built-in method torch._C._get_operation_overload}
10 0.000 0.000 0.000 0.000 {built-in method torch.empty}
10 0.000 0.000 0.000 0.000 {method 'random_' of 'torch._C.TensorBase' objects}
120 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}
1 0.000 0.000 0.000 0.000 typing_extensions.py:3029(_collect_parameters)
120 0.000 0.000 0.000 0.000 {built-in method builtins.iter}
7 0.000 0.000 0.000 0.000 typing.py:1290(__setattr__)
120 0.000 0.000 0.000 0.000 __init__.py:127(annotate)
1 0.000 0.000 0.000 0.000 typing.py:1251(__init__)
120 0.000 0.000 0.000 0.000 _jit_internal.py:1120(is_scripting)
120 0.000 0.000 0.000 0.000 collate.py:237(collate_str_fn)
3 0.000 0.000 0.000 0.000 typing.py:689(<genexpr>)
1 0.000 0.000 0.000 0.000 typing.py:311(_remove_dups_flatten)
7 0.000 0.000 0.000 0.000 typing.py:1238(_is_dunder)
17 0.000 0.000 0.000 0.000 typing.py:888(__eq__)
1 0.000 0.000 0.000 0.000 typing_extensions.py:2954(_has_generic_or_protocol_as_origin)
30 0.000 0.000 0.000 0.000 time_dataset.py:842(__len__)
10 0.000 0.000 0.000 0.000 {method 'item' of 'torch._C.TensorBase' objects}
1 0.000 0.000 0.000 0.000 {built-in method torch._C._get_schema}
1 0.000 0.000 0.000 0.000 typing_extensions.py:2976(_is_unpacked_typevartuple)
1 0.000 0.000 0.000 0.000 typing.py:297(_deduplicate)
2 0.000 0.000 0.000 0.000 typing.py:897(__hash__)
1 0.000 0.000 0.000 0.000 {method 'split' of 'str' objects}
8 0.000 0.000 0.000 0.000 {method 'startswith' of 'str' objects}
1 0.000 0.000 0.000 0.000 typing.py:2402(get_origin)
1 0.000 0.000 0.000 0.000 _ops.py:43(__init__)
1 0.000 0.000 0.000 0.000 {built-in method builtins.setattr}
2 0.000 0.000 0.000 0.000 <frozen _collections_abc>:409(__subclasshook__)
3 0.000 0.000 0.000 0.000 typing.py:1351(<genexpr>)
4 0.000 0.000 0.000 0.000 {method 'endswith' of 'str' objects}
1 0.000 0.000 0.000 0.000 typing.py:455(__repr__)
3 0.000 0.000 0.000 0.000 {method 'append' of 'list' objects}
1 0.000 0.000 0.000 0.000 <frozen _collections_abc>:283(__subclasshook__)
2 0.000 0.000 0.000 0.000 {built-in method builtins.hash}
1 0.000 0.000 0.000 0.000 {built-in method sys._getframe}
Profile stats for: [LightningModule]TimeNet.on_before_batch_transfer
840 function calls in 0.000 seconds
Ordered by: cumulative time
ncalls tottime percall cumtime percall filename:lineno(function)
120 0.000 0.000 0.000 0.000 contextlib.py:141(__exit__)
120 0.000 0.000 0.000 0.000 {built-in method builtins.next}
120 0.000 0.000 0.000 0.000 profiler.py:55(profile)
120 0.000 0.000 0.000 0.000 advanced.py:71(stop)
120 0.000 0.000 0.000 0.000 {method 'get' of 'dict' objects}
120 0.000 0.000 0.000 0.000 hooks.py:613(on_before_batch_transfer)
120 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}
Profile stats for: [Strategy]SingleDeviceStrategy.batch_to_device
3840 function calls (3720 primitive calls) in 0.222 seconds
Ordered by: cumulative time
ncalls tottime percall cumtime percall filename:lineno(function)
120 0.000 0.000 0.222 0.002 strategy.py:262(batch_to_device)
120 0.000 0.000 0.222 0.002 module.py:354(_apply_batch_transfer_handler)
120 0.000 0.000 0.222 0.002 module.py:336(_call_batch_hook)
120 0.000 0.000 0.221 0.002 call.py:137(_call_lightning_module_hook)
120 0.000 0.000 0.221 0.002 contextlib.py:132(__enter__)
120 0.000 0.000 0.221 0.002 {built-in method builtins.next}
120 0.000 0.000 0.221 0.002 profiler.py:55(profile)
120 0.000 0.000 0.221 0.002 advanced.py:65(start)
120 0.221 0.002 0.221 0.002 {method 'enable' of '_lsprof.Profiler' objects}
120 0.000 0.000 0.000 0.000 module.py:1711(__setattr__)
480/360 0.000 0.000 0.000 0.000 {built-in method builtins.isinstance}
120 0.000 0.000 0.000 0.000 contextlib.py:287(helper)
120 0.000 0.000 0.000 0.000 parameter.py:8(__instancecheck__)
120 0.000 0.000 0.000 0.000 contextlib.py:104(__init__)
120 0.000 0.000 0.000 0.000 trainer.py:1178(lightning_module)
120 0.000 0.000 0.000 0.000 __init__.py:1467(debug)
120 0.000 0.000 0.000 0.000 data_connector.py:349(get_instance)
240 0.000 0.000 0.000 0.000 strategy.py:360(lightning_module)
120 0.000 0.000 0.000 0.000 __init__.py:1734(isEnabledFor)
240 0.000 0.000 0.000 0.000 {built-in method builtins.getattr}
360 0.000 0.000 0.000 0.000 {method 'get' of 'dict' objects}
120 0.000 0.000 0.000 0.000 single_device.py:71(root_device)
120 0.000 0.000 0.000 0.000 trainer.py:1125(strategy)
120 0.000 0.000 0.000 0.000 {function _ParameterMeta.__instancecheck__ at 0x123a18860}
120 0.000 0.000 0.000 0.000 {built-in method builtins.callable}
Profile stats for: [LightningModule]TimeNet.transfer_batch_to_device
441640 function calls (365900 primitive calls) in 0.219 seconds
Ordered by: cumulative time
ncalls tottime percall cumtime percall filename:lineno(function)
120 0.000 0.000 0.219 0.002 hooks.py:564(transfer_batch_to_device)
120 0.000 0.000 0.219 0.002 apply_func.py:71(move_data_to_device)
120 0.000 0.000 0.219 0.002 apply_func.py:23(apply_to_collection)
15700/120 0.018 0.000 0.219 0.002 apply_func.py:84(_apply_to_collection_slow)
480 0.001 0.000 0.149 0.000 apply_func.py:91(batch_to)
480 0.148 0.000 0.148 0.000 {method 'to' of 'torch._C.TensorBase' objects}
151960/91800 0.011 0.000 0.040 0.000 {built-in method builtins.isinstance}
30080 0.006 0.000 0.029 0.000 typing.py:1297(__instancecheck__)
30080 0.008 0.000 0.023 0.000 typing.py:1572(__subclasscheck__)
30080 0.004 0.000 0.012 0.000 {built-in method builtins.issubclass}
14620 0.002 0.000 0.009 0.000 apply_func.py:17(is_dataclass_instance)
30084 0.003 0.000 0.008 0.000 <frozen abc>:121(__subclasscheck__)
14620 0.004 0.000 0.007 0.000 dataclasses.py:1256(is_dataclass)
30084 0.004 0.000 0.005 0.000 {built-in method _abc._abc_subclasscheck}
15940 0.002 0.000 0.003 0.000 <frozen abc>:117(__instancecheck__)
14860 0.002 0.000 0.003 0.000 apply_func.py:11(is_namedtuple)
14620 0.002 0.000 0.002 0.000 {built-in method builtins.hasattr}
15940 0.001 0.000 0.001 0.000 {built-in method _abc._abc_instancecheck}
14620 0.001 0.000 0.001 0.000 <frozen _collections_abc>:315(__subclasshook__)
15580 0.001 0.000 0.001 0.000 {method 'append' of 'list' objects}
120 0.000 0.000 0.000 0.000 contextlib.py:141(__exit__)
120 0.000 0.000 0.000 0.000 {built-in method builtins.next}
120 0.000 0.000 0.000 0.000 profiler.py:55(profile)
120 0.000 0.000 0.000 0.000 {built-in method builtins.all}
240 0.000 0.000 0.000 0.000 apply_func.py:65(<genexpr>)
120 0.000 0.000 0.000 0.000 advanced.py:71(stop)
360 0.000 0.000 0.000 0.000 {method 'items' of 'collections.OrderedDict' objects}
120 0.000 0.000 0.000 0.000 {method 'get' of 'dict' objects}
120 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}
4 0.000 0.000 0.000 0.000 apply_func.py:63(__subclasshook__)
4 0.000 0.000 0.000 0.000 {built-in method builtins.getattr}
4 0.000 0.000 0.000 0.000 {built-in method builtins.callable}
Profile stats for: [LightningModule]TimeNet.on_after_batch_transfer
840 function calls in 0.000 seconds
Ordered by: cumulative time
ncalls tottime percall cumtime percall filename:lineno(function)
120 0.000 0.000 0.000 0.000 contextlib.py:141(__exit__)
120 0.000 0.000 0.000 0.000 {built-in method builtins.next}
120 0.000 0.000 0.000 0.000 profiler.py:55(profile)
120 0.000 0.000 0.000 0.000 advanced.py:71(stop)
120 0.000 0.000 0.000 0.000 hooks.py:641(on_after_batch_transfer)
120 0.000 0.000 0.000 0.000 {method 'get' of 'dict' objects}
120 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}
Profile stats for: [LightningModule]TimeNet.on_train_batch_start
840 function calls in 0.000 seconds
Ordered by: cumulative time
ncalls tottime percall cumtime percall filename:lineno(function)
120 0.000 0.000 0.000 0.000 contextlib.py:141(__exit__)
120 0.000 0.000 0.000 0.000 {built-in method builtins.next}
120 0.000 0.000 0.000 0.000 profiler.py:55(profile)
120 0.000 0.000 0.000 0.000 advanced.py:71(stop)
120 0.000 0.000 0.000 0.000 hooks.py:68(on_train_batch_start)
120 0.000 0.000 0.000 0.000 {method 'get' of 'dict' objects}
120 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}
Profile stats for: [Strategy]SingleDeviceStrategy.on_train_batch_start
840 function calls in 0.000 seconds
Ordered by: cumulative time
ncalls tottime percall cumtime percall filename:lineno(function)
120 0.000 0.000 0.000 0.000 contextlib.py:141(__exit__)
120 0.000 0.000 0.000 0.000 {built-in method builtins.next}
120 0.000 0.000 0.000 0.000 profiler.py:55(profile)
120 0.000 0.000 0.000 0.000 advanced.py:71(stop)
120 0.000 0.000 0.000 0.000 {method 'get' of 'dict' objects}
120 0.000 0.000 0.000 0.000 strategy.py:577(on_train_batch_start)
120 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}
Profile stats for: run_training_batch
4560 function calls (4440 primitive calls) in 0.836 seconds
Ordered by: cumulative time
ncalls tottime percall cumtime percall filename:lineno(function)
120 0.000 0.000 0.836 0.007 manual.py:91(run)
120 0.000 0.000 0.836 0.007 manual.py:104(advance)
120 0.000 0.000 0.836 0.007 call.py:294(_call_strategy_hook)
120 0.000 0.000 0.835 0.007 contextlib.py:132(__enter__)
120 0.000 0.000 0.835 0.007 {built-in method builtins.next}
120 0.000 0.000 0.835 0.007 profiler.py:55(profile)
120 0.000 0.000 0.835 0.007 advanced.py:65(start)
120 0.835 0.007 0.835 0.007 {method 'enable' of '_lsprof.Profiler' objects}
120 0.000 0.000 0.000 0.000 module.py:1711(__setattr__)
360/240 0.000 0.000 0.000 0.000 {built-in method builtins.isinstance}
240 0.000 0.000 0.000 0.000 trainer.py:1178(lightning_module)
120 0.000 0.000 0.000 0.000 contextlib.py:287(helper)
120 0.000 0.000 0.000 0.000 manual.py:98(on_run_start)
120 0.000 0.000 0.000 0.000 parameter.py:8(__instancecheck__)
120 0.000 0.000 0.000 0.000 contextlib.py:104(__init__)
120 0.000 0.000 0.000 0.000 __init__.py:1467(debug)
600 0.000 0.000 0.000 0.000 trainer.py:1125(strategy)
360 0.000 0.000 0.000 0.000 {method 'get' of 'dict' objects}
120 0.000 0.000 0.000 0.000 __init__.py:1734(isEnabledFor)
240 0.000 0.000 0.000 0.000 {built-in method builtins.getattr}
120 0.000 0.000 0.000 0.000 module.py:295(automatic_optimization)
240 0.000 0.000 0.000 0.000 strategy.py:360(lightning_module)
120 0.000 0.000 0.000 0.000 contextlib.py:428(__init__)
120 0.000 0.000 0.000 0.000 {function _ParameterMeta.__instancecheck__ at 0x123a18860}
120 0.000 0.000 0.000 0.000 {method 'values' of 'collections.OrderedDict' objects}
120 0.000 0.000 0.000 0.000 {built-in method builtins.callable}
120 0.000 0.000 0.000 0.000 contextlib.py:431(__enter__)
Profile stats for: [Strategy]SingleDeviceStrategy.training_step
43680 function calls (43200 primitive calls) in 0.834 seconds
Ordered by: cumulative time
ncalls tottime percall cumtime percall filename:lineno(function)
120 0.000 0.000 0.834 0.007 strategy.py:379(training_step)
120 0.001 0.000 0.833 0.007 time_net.py:776(training_step)
120 0.000 0.000 0.384 0.003 module.py:1058(manual_backward)
120 0.000 0.000 0.384 0.003 strategy.py:191(backward)
120 0.000 0.000 0.384 0.003 precision.py:45(pre_backward)
120 0.000 0.000 0.383 0.003 call.py:137(_call_lightning_module_hook)
240 0.000 0.000 0.383 0.002 contextlib.py:132(__enter__)
240 0.000 0.000 0.382 0.002 {built-in method builtins.next}
120 0.000 0.000 0.382 0.003 profiler.py:55(profile)
120 0.000 0.000 0.382 0.003 advanced.py:65(start)
120 0.382 0.003 0.382 0.003 {method 'enable' of '_lsprof.Profiler' objects}
120 0.004 0.000 0.238 0.002 time_net.py:760(loss_func)
120 0.015 0.000 0.197 0.002 time_net.py:513(forward)
360 0.000 0.000 0.192 0.001 module.py:1528(_wrapped_call_impl)
360 0.001 0.000 0.192 0.001 module.py:1534(_call_impl)
120 0.017 0.000 0.144 0.001 piecewise_linear.py:53(forward)
120 0.076 0.001 0.076 0.001 {method 'mean' of 'torch._C.TensorBase' objects}
120 0.050 0.000 0.074 0.001 time_net.py:877(_get_time_based_sample_weight)
120 0.063 0.001 0.063 0.001 {built-in method torch.tensor}
120 0.027 0.000 0.045 0.000 piecewise_linear.py:230(compute_m_t)
120 0.006 0.000 0.035 0.000 fourier.py:66(forward)
240 0.015 0.000 0.029 0.000 fourier.py:114(compute_fourier)
480 0.028 0.000 0.028 0.000 {built-in method torch.sum}
120 0.028 0.000 0.028 0.000 {built-in method torch._C._nn.one_hot}
120 0.022 0.000 0.022 0.000 piecewise_linear.py:263(compute_trend)
240 0.020 0.000 0.020 0.000 {method 'sum' of 'torch._C.TensorBase' objects}
120 0.011 0.000 0.020 0.000 piecewise_linear.py:206(compute_k_t)
120 0.000 0.000 0.012 0.000 loss.py:938(forward)
120 0.000 0.000 0.012 0.000 functional.py:3229(smooth_l1_loss)
120 0.011 0.000 0.011 0.000 {built-in method torch.cat}
120 0.000 0.000 0.011 0.000 _compile.py:20(inner)
120 0.011 0.000 0.011 0.000 {built-in method torch._C._nn.smooth_l1_loss}
120 0.010 0.000 0.010 0.000 {built-in method torch.clamp}
120 0.000 0.000 0.008 0.000 decorators.py:36(disable)
120 0.007 0.000 0.007 0.000 {built-in method torch.ones_like}
120 0.001 0.000 0.007 0.000 eval_frame.py:351(__call__)
120 0.007 0.000 0.007 0.000 {built-in method torch.cos}
120 0.000 0.000 0.003 0.000 inspect.py:936(getsourcefile)
120 0.000 0.000 0.003 0.000 eval_frame.py:428(_fn)
120 0.001 0.000 0.003 0.000 optimizer.py:793(zero_grad)
480 0.002 0.000 0.002 0.000 module.py:1711(__setattr__)
120 0.000 0.000 0.002 0.000 trace_rules.py:3377(check)
120 0.000 0.000 0.002 0.000 trace_rules.py:3342(check_verbose)
480 0.002 0.000 0.002 0.000 {built-in method torch.zeros}
120 0.000 0.000 0.002 0.000 <frozen genericpath>:16(exists)
120 0.002 0.000 0.002 0.000 {built-in method posix.stat}
1560 0.002 0.000 0.002 0.000 {method 'unsqueeze' of 'torch._C.TensorBase' objects}
5040/4560 0.001 0.000 0.001 0.000 {built-in method builtins.isinstance}
240 0.000 0.000 0.001 0.000 package_importer.py:694(_patched_getfile)
600 0.001 0.000 0.001 0.000 {method 'permute' of 'torch._C.TensorBase' objects}
120 0.000 0.000 0.001 0.000 trace_rules.py:3432(lookup_inner)
120 0.000 0.000 0.001 0.000 call.py:185(_call_callback_hooks)
120 0.000 0.000 0.001 0.000 profiler.py:604(__enter__)
240 0.000 0.000 0.001 0.000 inspect.py:896(getfile)
120 0.000 0.000 0.001 0.000 _ops.py:846(__call__)
360 0.000 0.000 0.001 0.000 {built-in method builtins.any}
120 0.001 0.000 0.001 0.000 {built-in method torch._ops.profiler._record_function_enter_new}
1680 0.001 0.000 0.001 0.000 module.py:1696(__getattr__)
120 0.000 0.000 0.001 0.000 eval_frame.py:550(__init__)
120 0.000 0.000 0.001 0.000 trace_rules.py:3275(check_file)
120 0.000 0.000 0.000 0.000 functional.py:47(broadcast_tensors)
120 0.000 0.000 0.000 0.000 utils.py:862(getfile)
120 0.000 0.000 0.000 0.000 profiler.py:610(__exit__)
120 0.000 0.000 0.000 0.000 eval_frame.py:290(__init__)
2400 0.000 0.000 0.000 0.000 {built-in method builtins.getattr}
120 0.000 0.000 0.000 0.000 module.py:164(optimizers)
120 0.000 0.000 0.000 0.000 functools.py:35(update_wrapper)
480 0.000 0.000 0.000 0.000 parameter.py:8(__instancecheck__)
240 0.000 0.000 0.000 0.000 container.py:734(__getitem__)
840 0.000 0.000 0.000 0.000 trace_rules.py:3279(<genexpr>)
120 0.000 0.000 0.000 0.000 eval_frame.py:448(<listcomp>)
480 0.000 0.000 0.000 0.000 device_dtype_mixin.py:39(device)
240 0.000 0.000 0.000 0.000 contextlib.py:287(helper)
360 0.000 0.000 0.000 0.000 base.py:127(__instancecheck__)
240 0.000 0.000 0.000 0.000 {method 'detach' of 'torch._C.TensorBase' objects}
120 0.000 0.000 0.000 0.000 eval_frame.py:141(change)
120 0.000 0.000 0.000 0.000 _ops.py:591(__call__)
600 0.000 0.000 0.000 0.000 optimizer.py:169(__getattr__)
120 0.000 0.000 0.000 0.000 profiler.py:593(__init__)
360 0.000 0.000 0.000 0.000 inspect.py:943(<genexpr>)
120 0.000 0.000 0.000 0.000 {built-in method torch._ops.profiler.}
120 0.000 0.000 0.000 0.000 precision.py:167(train_step_context)
120 0.000 0.000 0.000 0.000 {built-in method torch.broadcast_tensors}
360 0.000 0.000 0.000 0.000 {built-in method torch._C._get_tracing_state}
360 0.000 0.000 0.000 0.000 eval_frame.py:265(innermost_fn)
240 0.000 0.000 0.000 0.000 contextlib.py:104(__init__)
600 0.000 0.000 0.000 0.000 {built-in method builtins.hasattr}
120 0.000 0.000 0.000 0.000 trace_rules.py:2840(is_aten_op_or_tensor_method)
120 0.000 0.000 0.000 0.000 {built-in method torch.unsqueeze}
1800 0.000 0.000 0.000 0.000 {method 'get' of 'dict' objects}
480 0.000 0.000 0.000 0.000 inspect.py:946(<genexpr>)
240 0.000 0.000 0.000 0.000 trainer.py:1178(lightning_module)
240 0.000 0.000 0.000 0.000 __init__.py:1467(debug)
120 0.000 0.000 0.000 0.000 eval_frame.py:119(backend_cache_manager)
480 0.000 0.000 0.000 0.000 trainer.py:1125(strategy)
600 0.000 0.000 0.000 0.000 {method 'endswith' of 'str' objects}
480 0.000 0.000 0.000 0.000 inspect.py:292(isclass)
240 0.000 0.000 0.000 0.000 container.py:725(_key_to_attr)
360 0.000 0.000 0.000 0.000 module.py:215(trainer)
720 0.000 0.000 0.000 0.000 {method 'startswith' of 'str' objects}
240 0.000 0.000 0.000 0.000 inspect.py:456(istraceback)
1200 0.000 0.000 0.000 0.000 {function _ParameterMeta.__instancecheck__ at 0x123a18860}
120 0.000 0.000 0.000 0.000 precision.py:68(forward_context)
240 0.000 0.000 0.000 0.000 inspect.py:378(isfunction)
240 0.000 0.000 0.000 0.000 inspect.py:283(ismodule)
600 0.000 0.000 0.000 0.000 {built-in method builtins.setattr}
720 0.000 0.000 0.000 0.000 {built-in method builtins.len}
120 0.000 0.000 0.000 0.000 _VF.py:26(__getattr__)
240 0.000 0.000 0.000 0.000 strategy.py:93(precision_plugin)
120 0.000 0.000 0.000 0.000 time_net.py:390(_compute_quantile_forecasts_from_diffs)
840 0.000 0.000 0.000 0.000 strategy.py:360(lightning_module)
240 0.000 0.000 0.000 0.000 inspect.py:466(isframe)
120 0.000 0.000 0.000 0.000 functools.py:65(wraps)
120 0.000 0.000 0.000 0.000 module.py:1361(_verify_is_manual_optimization)
240 0.000 0.000 0.000 0.000 inspect.py:300(ismethod)
120 0.000 0.000 0.000 0.000 utils.py:435(hashable)
240 0.000 0.000 0.000 0.000 {method 'size' of 'torch._C.TensorBase' objects}
240 0.000 0.000 0.000 0.000 inspect.py:480(iscode)
120 0.000 0.000 0.000 0.000 typing.py:349(inner)
120 0.000 0.000 0.000 0.000 <string>:2(__init__)
240 0.000 0.000 0.000 0.000 __init__.py:1734(isEnabledFor)
240 0.000 0.000 0.000 0.000 {built-in method torch._C._dynamo.eval_frame.set_eval_frame}
480 0.000 0.000 0.000 0.000 {method 'keys' of 'collections.OrderedDict' objects}
480 0.000 0.000 0.000 0.000 {built-in method builtins.callable}
240 0.000 0.000 0.000 0.000 strategy.py:351(model)
120 0.000 0.000 0.000 0.000 eval_frame.py:149(revert)
120 0.000 0.000 0.000 0.000 {method 'setdefault' of 'dict' objects}
120 0.000 0.000 0.000 0.000 _reduction.py:7(get_enum)
120 0.000 0.000 0.000 0.000 {method 'update' of 'dict' objects}
120 0.000 0.000 0.000 0.000 contextlib.py:751(__init__)
240 0.000 0.000 0.000 0.000 eval_frame.py:261(always_false)
120 0.000 0.000 0.000 0.000 module.py:295(automatic_optimization)
120 0.000 0.000 0.000 0.000 {built-in method torch._C._has_torch_function_variadic}
120 0.000 0.000 0.000 0.000 {method '__exit__' of 'torch._C.DisableTorchFunctionSubclass' objects}
120 0.000 0.000 0.000 0.000 {built-in method torch._C._has_torch_function}
120 0.000 0.000 0.000 0.000 strategy.py:345(pre_backward)
120 0.000 0.000 0.000 0.000 {built-in method builtins.id}
120 0.000 0.000 0.000 0.000 eval_frame.py:257(nothing)
120 0.000 0.000 0.000 0.000 _jit_internal.py:1120(is_scripting)
120 0.000 0.000 0.000 0.000 contextlib.py:754(__enter__)
120 0.000 0.000 0.000 0.000 {built-in method builtins.hash}
120 0.000 0.000 0.000 0.000 __init__.py:127(annotate)
120 0.000 0.000 0.000 0.000 {method 'items' of 'collections.OrderedDict' objects}
Profile stats for: [LightningModule]TimeNet.on_before_backward
840 function calls in 0.000 seconds
Ordered by: cumulative time
ncalls tottime percall cumtime percall filename:lineno(function)
120 0.000 0.000 0.000 0.000 contextlib.py:141(__exit__)
120 0.000 0.000 0.000 0.000 {built-in method builtins.next}
120 0.000 0.000 0.000 0.000 profiler.py:55(profile)
120 0.000 0.000 0.000 0.000 advanced.py:71(stop)
120 0.000 0.000 0.000 0.000 hooks.py:280(on_before_backward)
120 0.000 0.000 0.000 0.000 {method 'get' of 'dict' objects}
120 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}
Profile stats for: [LightningModule]TimeNet.on_after_backward
840 function calls in 0.000 seconds
Ordered by: cumulative time
ncalls tottime percall cumtime percall filename:lineno(function)
120 0.000 0.000 0.000 0.000 contextlib.py:141(__exit__)
120 0.000 0.000 0.000 0.000 {built-in method builtins.next}
120 0.000 0.000 0.000 0.000 profiler.py:55(profile)
120 0.000 0.000 0.000 0.000 advanced.py:71(stop)
120 0.000 0.000 0.000 0.000 {method 'get' of 'dict' objects}
120 0.000 0.000 0.000 0.000 hooks.py:289(on_after_backward)
120 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}
Profile stats for: optimizer_step
10320 function calls (9960 primitive calls) in 0.200 seconds
Ordered by: cumulative time
ncalls tottime percall cumtime percall filename:lineno(function)
120 0.000 0.000 0.200 0.002 strategy.py:219(optimizer_step)
120 0.000 0.000 0.200 0.002 precision.py:112(optimizer_step)
120 0.000 0.000 0.199 0.002 lr_scheduler.py:70(wrapper)
120 0.000 0.000 0.199 0.002 optimizer.py:374(wrapper)
120 0.000 0.000 0.198 0.002 optimizer.py:58(_use_grad)
120 0.000 0.000 0.198 0.002 adamw.py:152(step)
120 0.000 0.000 0.197 0.002 precision.py:95(_wrap_closure)
120 0.000 0.000 0.197 0.002 precision.py:83(_after_closure)
120 0.000 0.000 0.196 0.002 call.py:137(_call_lightning_module_hook)
120 0.000 0.000 0.196 0.002 contextlib.py:132(__enter__)
120 0.000 0.000 0.196 0.002 {built-in method builtins.next}
120 0.000 0.000 0.196 0.002 profiler.py:55(profile)
120 0.000 0.000 0.196 0.002 advanced.py:65(start)
120 0.196 0.002 0.196 0.002 {method 'enable' of '_lsprof.Profiler' objects}
120 0.000 0.000 0.001 0.000 call.py:185(_call_callback_hooks)
360 0.000 0.000 0.001 0.000 module.py:1711(__setattr__)
120 0.000 0.000 0.001 0.000 profiler.py:604(__enter__)
120 0.000 0.000 0.001 0.000 _ops.py:846(__call__)
120 0.000 0.000 0.000 0.000 {built-in method torch._ops.profiler._record_function_enter_new}
1200/840 0.000 0.000 0.000 0.000 {built-in method builtins.isinstance}
120 0.000 0.000 0.000 0.000 optimizer.py:327(_cuda_graph_capture_health_check)
360 0.000 0.000 0.000 0.000 parameter.py:8(__instancecheck__)
120 0.000 0.000 0.000 0.000 profiler.py:593(__init__)
120 0.000 0.000 0.000 0.000 _utils.py:851(is_compiling)
120 0.000 0.000 0.000 0.000 contextlib.py:287(helper)
240 0.000 0.000 0.000 0.000 trainer.py:1178(lightning_module)