-
Notifications
You must be signed in to change notification settings - Fork 0
/
profiler-report.txt
6484 lines (5629 loc) · 417 KB
/
profiler-report.txt
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]ROIClassificationTask.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:139(__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:54(profile)
1 0.000 0.000 0.000 0.000 advanced.py:66(stop)
1 0.000 0.000 0.000 0.000 module.py:1171(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: [LightningDataModule]ROIClassificationDataModule.prepare_data
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:139(__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:54(profile)
1 0.000 0.000 0.000 0.000 advanced.py:66(stop)
1 0.000 0.000 0.000 0.000 roi_classification.py:156(prepare_data)
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]ROIClassificationTask.prepare_data
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:139(__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:54(profile)
1 0.000 0.000 0.000 0.000 advanced.py:66(stop)
1 0.000 0.000 0.000 0.000 hooks.py:286(prepare_data)
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: [LightningDataModule]ROIClassificationDataModule.setup
31 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 roi_classification.py:159(setup)
4 0.000 0.000 0.000 0.000 enums.py:20(__eq__)
1 0.000 0.000 0.000 0.000 contextlib.py:139(__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:54(profile)
4 0.000 0.000 0.000 0.000 types.py:176(__get__)
1 0.000 0.000 0.000 0.000 advanced.py:66(stop)
4 0.000 0.000 0.000 0.000 {built-in method builtins.isinstance}
8 0.000 0.000 0.000 0.000 {method 'lower' of 'str' objects}
4 0.000 0.000 0.000 0.000 enum.py:801(value)
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: [Callback]MetricsLoggingCallback.setup
10 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:139(__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:54(profile)
1 0.000 0.000 0.000 0.000 advanced.py:66(stop)
1 0.000 0.000 0.000 0.000 trainer.py:1753(lightning_module)
1 0.000 0.000 0.000 0.000 trainer.py:1699(strategy)
1 0.000 0.000 0.000 0.000 {method 'get' of 'dict' objects}
1 0.000 0.000 0.000 0.000 strategy.py:352(lightning_module)
1 0.000 0.000 0.000 0.000 callback.py:59(setup)
1 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}
Profile stats for: [Callback]TQDMProgressBar.setup
13 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:139(__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:54(profile)
1 0.000 0.000 0.000 0.000 base.py:220(setup)
1 0.000 0.000 0.000 0.000 advanced.py:66(stop)
1 0.000 0.000 0.000 0.000 trainer.py:1831(is_global_zero)
1 0.000 0.000 0.000 0.000 trainer.py:1753(lightning_module)
2 0.000 0.000 0.000 0.000 trainer.py:1699(strategy)
1 0.000 0.000 0.000 0.000 single_device.py:76(is_global_zero)
1 0.000 0.000 0.000 0.000 {method 'get' of 'dict' objects}
1 0.000 0.000 0.000 0.000 strategy.py:352(lightning_module)
1 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}
Profile stats for: [Callback]ModelSummary.setup
10 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:139(__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:54(profile)
1 0.000 0.000 0.000 0.000 advanced.py:66(stop)
1 0.000 0.000 0.000 0.000 trainer.py:1753(lightning_module)
1 0.000 0.000 0.000 0.000 trainer.py:1699(strategy)
1 0.000 0.000 0.000 0.000 strategy.py:352(lightning_module)
1 0.000 0.000 0.000 0.000 {method 'get' of 'dict' objects}
1 0.000 0.000 0.000 0.000 callback.py:59(setup)
1 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}
Profile stats for: [Callback]GradientAccumulationScheduler.setup
10 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:139(__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:54(profile)
1 0.000 0.000 0.000 0.000 advanced.py:66(stop)
1 0.000 0.000 0.000 0.000 trainer.py:1753(lightning_module)
1 0.000 0.000 0.000 0.000 trainer.py:1699(strategy)
1 0.000 0.000 0.000 0.000 callback.py:59(setup)
1 0.000 0.000 0.000 0.000 strategy.py:352(lightning_module)
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: [Callback]ModelCheckpoint{'monitor': 'f1', 'mode': 'max', 'every_n_train_steps': 0, 'every_n_epochs': 1, 'train_time_interval': None, 'save_on_train_epoch_end': None}.setup
230 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 model_checkpoint.py:258(setup)
1 0.000 0.000 0.000 0.000 model_checkpoint.py:602(__warn_if_dir_not_empty)
1 0.000 0.000 0.000 0.000 rank_zero.py:18(wrapped_fn)
1 0.000 0.000 0.000 0.000 rank_zero.py:58(rank_zero_warn)
1 0.000 0.000 0.000 0.000 rank_zero.py:54(_warn)
1 0.000 0.000 0.000 0.000 {built-in method _warnings.warn}
1 0.000 0.000 0.000 0.000 warnings.py:96(_showwarnmsg)
1 0.000 0.000 0.000 0.000 warnings.py:20(_showwarnmsg_impl)
1 0.000 0.000 0.000 0.000 warnings.py:117(_formatwarnmsg)
1 0.000 0.000 0.000 0.000 warnings.py:35(_formatwarnmsg_impl)
1 0.000 0.000 0.000 0.000 linecache.py:26(getline)
1 0.000 0.000 0.000 0.000 linecache.py:36(getlines)
1 0.000 0.000 0.000 0.000 linecache.py:80(updatecache)
1 0.000 0.000 0.000 0.000 {method 'readlines' of '_io._IOBase' objects}
1 0.000 0.000 0.000 0.000 local.py:56(ls)
1 0.000 0.000 0.000 0.000 tokenize.py:390(open)
1 0.000 0.000 0.000 0.000 local.py:62(<listcomp>)
21 0.000 0.000 0.000 0.000 posixpath.py:71(join)
1 0.000 0.000 0.000 0.000 {built-in method posix.listdir}
1 0.000 0.000 0.000 0.000 spec.py:638(isdir)
1 0.000 0.000 0.000 0.000 tokenize.py:297(detect_encoding)
1 0.000 0.000 0.000 0.000 local.py:68(info)
1 0.000 0.000 0.000 0.000 {method 'write' of '_io.TextIOWrapper' objects}
1 0.000 0.000 0.000 0.000 {built-in method io.open}
6 0.000 0.000 0.000 0.000 codecs.py:319(decode)
2 0.000 0.000 0.000 0.000 {built-in method posix.stat}
2 0.000 0.000 0.000 0.000 local.py:191(_strip_protocol)
2 0.000 0.000 0.000 0.000 tokenize.py:321(read_or_stop)
21 0.000 0.000 0.000 0.000 posixpath.py:41(_get_sep)
2 0.000 0.000 0.000 0.000 tokenize.py:327(find_cookie)
1 0.000 0.000 0.000 0.000 contextlib.py:139(__exit__)
6 0.000 0.000 0.000 0.000 {built-in method _codecs.utf_8_decode}
2 0.000 0.000 0.000 0.000 {method 'readline' of '_io.BufferedReader' objects}
1 0.000 0.000 0.000 0.000 {method '__exit__' of '_io._IOBase' objects}
1 0.000 0.000 0.000 0.000 enums.py:20(__eq__)
1 0.000 0.000 0.000 0.000 {built-in method builtins.next}
26 0.000 0.000 0.000 0.000 {method 'startswith' of 'str' objects}
1 0.000 0.000 0.000 0.000 profiler.py:54(profile)
1 0.000 0.000 0.000 0.000 advanced.py:66(stop)
27 0.000 0.000 0.000 0.000 {built-in method builtins.isinstance}
22 0.000 0.000 0.000 0.000 {method 'endswith' of 'str' objects}
1 0.000 0.000 0.000 0.000 warnings.py:403(__init__)
2 0.000 0.000 0.000 0.000 local.py:209(make_path_posix)
3 0.000 0.000 0.000 0.000 {method 'match' of 're.Pattern' objects}
1 0.000 0.000 0.000 0.000 codecs.py:309(__init__)
21 0.000 0.000 0.000 0.000 {built-in method posix.fspath}
5 0.000 0.000 0.000 0.000 {built-in method builtins.getattr}
1 0.000 0.000 0.000 0.000 types.py:176(__get__)
2 0.000 0.000 0.000 0.000 utils.py:290(stringify_path)
1 0.000 0.000 0.000 0.000 {method 'seek' of '_io.BufferedReader' objects}
1 0.000 0.000 0.000 0.000 model_checkpoint.py:562(__resolve_ckpt_dir)
1 0.000 0.000 0.000 0.000 trainer.py:1831(is_global_zero)
1 0.000 0.000 0.000 0.000 codecs.py:260(__init__)
1 0.000 0.000 0.000 0.000 trainer.py:1753(lightning_module)
1 0.000 0.000 0.000 0.000 {method 'startswith' of 'bytes' objects}
2 0.000 0.000 0.000 0.000 {method 'decode' of 'bytes' objects}
3 0.000 0.000 0.000 0.000 trainer.py:1699(strategy)
2 0.000 0.000 0.000 0.000 {built-in method builtins.len}
1 0.000 0.000 0.000 0.000 {method 'strip' of 'str' objects}
2 0.000 0.000 0.000 0.000 {method 'rstrip' of 'str' objects}
1 0.000 0.000 0.000 0.000 enum.py:801(value)
2 0.000 0.000 0.000 0.000 {method 'lower' of 'str' 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 {method 'get' of 'dict' objects}
1 0.000 0.000 0.000 0.000 {built-in method _stat.S_ISLNK}
1 0.000 0.000 0.000 0.000 single_device.py:76(is_global_zero)
1 0.000 0.000 0.000 0.000 strategy.py:352(lightning_module)
1 0.000 0.000 0.000 0.000 {built-in method _stat.S_ISDIR}
1 0.000 0.000 0.000 0.000 single_device.py:83(broadcast)
Profile stats for: [LightningModule]ROIClassificationTask.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:139(__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:54(profile)
1 0.000 0.000 0.000 0.000 advanced.py:66(stop)
1 0.000 0.000 0.000 0.000 hooks.py:341(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]ROIClassificationTask.configure_sharded_model
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:139(__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:54(profile)
1 0.000 0.000 0.000 0.000 advanced.py:66(stop)
1 0.000 0.000 0.000 0.000 hooks.py:259(configure_sharded_model)
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]ROIClassificationTask.configure_optimizers
1401 function calls (1155 primitive calls) in 0.001 seconds
Ordered by: cumulative time
ncalls tottime percall cumtime percall filename:lineno(function)
1 0.000 0.000 0.001 0.001 roi_classification_task.py:99(configure_optimizers)
1 0.000 0.000 0.000 0.000 sgd.py:91(__init__)
1 0.000 0.000 0.000 0.000 optimizer.py:33(__init__)
35 0.000 0.000 0.000 0.000 module.py:1621(parameters)
35 0.000 0.000 0.000 0.000 module.py:1645(named_parameters)
35 0.000 0.000 0.000 0.000 module.py:1608(_named_members)
4 0.000 0.000 0.000 0.000 dictconfig.py:341(__getattr__)
4 0.000 0.000 0.000 0.000 dictconfig.py:438(_get_impl)
294/48 0.000 0.000 0.000 0.000 module.py:1775(named_modules)
4 0.000 0.000 0.000 0.000 basecontainer.py:86(_resolve_with_default)
1 0.000 0.000 0.000 0.000 optimizer.py:270(add_param_group)
136 0.000 0.000 0.000 0.000 _tensor.py:731(__hash__)
4 0.000 0.000 0.000 0.000 basecontainer.py:64(_get_child)
4 0.000 0.000 0.000 0.000 dictconfig.py:455(_get_node)
4 0.000 0.000 0.000 0.000 _utils.py:747(_get_value)
113 0.000 0.000 0.000 0.000 {built-in method builtins.isinstance}
8 0.000 0.000 0.000 0.000 _utils.py:507(_is_missing_value)
4 0.000 0.000 0.000 0.000 base.py:706(_maybe_resolve_interpolation)
81 0.000 0.000 0.000 0.000 {method 'add' of 'set' objects}
4 0.000 0.000 0.000 0.000 _utils.py:540(get_value_kind)
4 0.000 0.000 0.000 0.000 dictconfig.py:149(_validate_get)
1 0.000 0.000 0.000 0.000 optimizer.py:103(_hook_for_profile)
47 0.000 0.000 0.000 0.000 module.py:1666(<lambda>)
28 0.000 0.000 0.000 0.000 abc.py:117(__instancecheck__)
6 0.000 0.000 0.000 0.000 _utils.py:566(_is_interpolation)
1 0.000 0.000 0.000 0.000 optimizer.py:106(profile_hook_step)
136 0.000 0.000 0.000 0.000 {built-in method torch._C._has_torch_function_unary}
14 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:1053(_handle_fromlist)
4 0.000 0.000 0.000 0.000 dictconfig.py:144(_is_typed)
28 0.000 0.000 0.000 0.000 {built-in method _abc._abc_instancecheck}
136 0.000 0.000 0.000 0.000 {built-in method builtins.id}
4 0.000 0.000 0.000 0.000 dictconfig.py:274(_validate_and_normalize_key)
1 0.000 0.000 0.000 0.000 functools.py:35(update_wrapper)
4 0.000 0.000 0.000 0.000 base.py:189(_get_flag)
94 0.000 0.000 0.000 0.000 {method 'items' of 'collections.OrderedDict' objects}
4 0.000 0.000 0.000 0.000 _utils.py:677(is_dict)
1 0.000 0.000 0.000 0.000 contextlib.py:139(__exit__)
8 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:404(parent)
1 0.000 0.000 0.000 0.000 {built-in method torch._C._log_api_usage_once}
4 0.000 0.000 0.000 0.000 dictconfig.py:277(_s_validate_and_normalize_key)
4 0.000 0.000 0.000 0.000 _utils.py:626(is_primitive_dict)
2 0.000 0.000 0.000 0.000 hparams_mixin.py:132(hparams)
1 0.000 0.000 0.000 0.000 {built-in method builtins.next}
10 0.000 0.000 0.000 0.000 _utils.py:515(_is_missing_literal)
1 0.000 0.000 0.000 0.000 profiler.py:54(profile)
1 0.000 0.000 0.000 0.000 advanced.py:66(stop)
16 0.000 0.000 0.000 0.000 {built-in method builtins.hasattr}
4 0.000 0.000 0.000 0.000 _utils.py:463(get_type_of)
8 0.000 0.000 0.000 0.000 {built-in method builtins.getattr}
8 0.000 0.000 0.000 0.000 basecontainer.py:705(_value)
9 0.000 0.000 0.000 0.000 {method 'get' of 'dict' objects}
1 0.000 0.000 0.000 0.000 functools.py:65(wraps)
7 0.000 0.000 0.000 0.000 {method 'setdefault' of 'dict' objects}
8 0.000 0.000 0.000 0.000 {method 'rpartition' of 'str' objects}
1 0.000 0.000 0.000 0.000 {method 'format' of 'str' objects}
8 0.000 0.000 0.000 0.000 nodes.py:31(_value)
3 0.000 0.000 0.000 0.000 {built-in method builtins.len}
5 0.000 0.000 0.000 0.000 {built-in method builtins.setattr}
1 0.000 0.000 0.000 0.000 {method 'items' of 'dict' objects}
1 0.000 0.000 0.000 0.000 {method 'update' 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 {method 'append' of 'list' objects}
1 0.000 0.000 0.000 0.000 {method 'isdisjoint' of 'set' objects}
Profile stats for: [Callback]MetricsLoggingCallback.on_fit_start
10 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:139(__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:54(profile)
1 0.000 0.000 0.000 0.000 advanced.py:66(stop)
1 0.000 0.000 0.000 0.000 trainer.py:1753(lightning_module)
1 0.000 0.000 0.000 0.000 trainer.py:1699(strategy)
1 0.000 0.000 0.000 0.000 callback.py:65(on_fit_start)
1 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}
1 0.000 0.000 0.000 0.000 strategy.py:352(lightning_module)
1 0.000 0.000 0.000 0.000 {method 'get' of 'dict' objects}
Profile stats for: [Callback]TQDMProgressBar.on_fit_start
10 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:139(__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:54(profile)
1 0.000 0.000 0.000 0.000 advanced.py:66(stop)
1 0.000 0.000 0.000 0.000 trainer.py:1753(lightning_module)
1 0.000 0.000 0.000 0.000 trainer.py:1699(strategy)
1 0.000 0.000 0.000 0.000 strategy.py:352(lightning_module)
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 callback.py:65(on_fit_start)
Profile stats for: [Callback]ModelSummary.on_fit_start
4884 function calls (3812 primitive calls) in 0.002 seconds
Ordered by: cumulative time
ncalls tottime percall cumtime percall filename:lineno(function)
1 0.000 0.000 0.002 0.002 model_summary.py:55(on_fit_start)
6 0.000 0.000 0.002 0.000 {built-in method builtins.sum}
141 0.000 0.000 0.001 0.000 module.py:1621(parameters)
141 0.000 0.000 0.001 0.000 module.py:1645(named_parameters)
141 0.000 0.000 0.001 0.000 module.py:1608(_named_members)
1 0.000 0.000 0.001 0.001 model_summary.py:281(_get_summary_data)
1 0.000 0.000 0.001 0.001 model_summary.py:224(param_nums)
1 0.000 0.000 0.001 0.001 model_summary.py:226(<listcomp>)
2 0.000 0.000 0.001 0.000 model_summary.py:120(num_parameters)
36 0.000 0.000 0.001 0.000 model_summary.py:123(<genexpr>)
2 0.000 0.000 0.001 0.000 model_summary.py:228(total_parameters)
70 0.000 0.000 0.001 0.000 model_summary.py:230(<genexpr>)
1128/192 0.000 0.000 0.000 0.000 module.py:1775(named_modules)
1 0.000 0.000 0.000 0.000 model_summary.py:232(trainable_parameters)
35 0.000 0.000 0.000 0.000 model_summary.py:234(<genexpr>)
34 0.000 0.000 0.000 0.000 <__array_function__ internals>:177(prod)
136 0.000 0.000 0.000 0.000 model_summary.py:407(_is_lazy_weight_tensor)
34 0.000 0.000 0.000 0.000 {built-in method numpy.core._multiarray_umath.implement_array_function}
1 0.000 0.000 0.000 0.000 model_summary.py:238(model_size)
34 0.000 0.000 0.000 0.000 fromnumeric.py:2927(prod)
34 0.000 0.000 0.000 0.000 fromnumeric.py:69(_wrapreduction)
279/143 0.000 0.000 0.000 0.000 {built-in method builtins.isinstance}
34 0.000 0.000 0.000 0.000 {method 'reduce' of 'numpy.ufunc' objects}
136 0.000 0.000 0.000 0.000 parameter.py:9(__instancecheck__)
272 0.000 0.000 0.000 0.000 _tensor.py:731(__hash__)
1 0.000 0.000 0.000 0.000 model_summary.py:75(summarize)
325 0.000 0.000 0.000 0.000 {method 'add' of 'set' objects}
1 0.000 0.000 0.000 0.000 __init__.py:1467(info)
1 0.000 0.000 0.000 0.000 model_summary.py:322(_format_summary_table)
1 0.000 0.000 0.000 0.000 __init__.py:1600(_log)
187 0.000 0.000 0.000 0.000 module.py:1666(<lambda>)
5 0.000 0.000 0.000 0.000 model_summary.py:370(get_human_readable_count)
1 0.000 0.000 0.000 0.000 model_summary.py:68(_summary)
1 0.000 0.000 0.000 0.000 model_summary.py:419(summarize)
1 0.000 0.000 0.000 0.000 model_summary.py:182(__init__)
1 0.000 0.000 0.000 0.000 model_summary.py:243(summarize)
272 0.000 0.000 0.000 0.000 {built-in method torch._C._has_torch_function_unary}
1 0.000 0.000 0.000 0.000 __init__.py:1626(handle)
1 0.000 0.000 0.000 0.000 __init__.py:1680(callHandlers)
1 0.000 0.000 0.000 0.000 __init__.py:955(handle)
170 0.000 0.000 0.000 0.000 {built-in method builtins.getattr}
1 0.000 0.000 0.000 0.000 __init__.py:1585(makeRecord)
375 0.000 0.000 0.000 0.000 {method 'items' of 'collections.OrderedDict' objects}
272 0.000 0.000 0.000 0.000 {built-in method builtins.id}
1 0.000 0.000 0.000 0.000 __init__.py:283(__init__)
1 0.000 0.000 0.000 0.000 __init__.py:1088(emit)
102 0.000 0.000 0.000 0.000 {method 'numel' of 'torch._C._TensorBase' objects}
3 0.000 0.000 0.000 0.000 model_summary.py:244(<genexpr>)
2 0.000 0.000 0.000 0.000 model_summary.py:66(__init__)
136 0.000 0.000 0.000 0.000 {function _ParameterMeta.__instancecheck__ at 0x7f1799b004c0}
34 0.000 0.000 0.000 0.000 fromnumeric.py:70(<dictcomp>)
2 0.000 0.000 0.000 0.000 model_summary.py:76(_register_hook)
1 0.000 0.000 0.000 0.000 {method 'write' of '_io.TextIOWrapper' objects}
1 0.000 0.000 0.000 0.000 __init__.py:932(format)
1 0.000 0.000 0.000 0.000 __init__.py:1724(isEnabledFor)
8 0.000 0.000 0.000 0.000 {built-in method builtins.max}
1 0.000 0.000 0.000 0.000 __init__.py:665(format)
2 0.000 0.000 0.000 0.000 module.py:1081(register_forward_hook)
16 0.000 0.000 0.000 0.000 {method 'format' of 'str' objects}
1 0.000 0.000 0.000 0.000 __init__.py:1549(findCaller)
4 0.000 0.000 0.000 0.000 model_summary.py:99(detach_hook)
1 0.000 0.000 0.000 0.000 model_summary.py:195(named_modules)
1 0.000 0.000 0.000 0.000 model_summary.py:343(<listcomp>)
34 0.000 0.000 0.000 0.000 fromnumeric.py:2922(_prod_dispatcher)
1 0.000 0.000 0.000 0.000 contextlib.py:139(__exit__)
1 0.000 0.000 0.000 0.000 __init__.py:1077(flush)
12 0.000 0.000 0.000 0.000 model_summary.py:336(<genexpr>)
3 0.000 0.000 0.000 0.000 module.py:1728(named_children)
1 0.000 0.000 0.000 0.000 posixpath.py:117(splitext)
2 0.000 0.000 0.000 0.000 hooks.py:15(__init__)
2 0.000 0.000 0.000 0.000 model_summary.py:73(__del__)
34 0.000 0.000 0.000 0.000 typing.py:1737(cast)
1 0.000 0.000 0.000 0.000 {built-in method builtins.next}
1 0.000 0.000 0.000 0.000 posixpath.py:140(basename)
34 0.000 0.000 0.000 0.000 {method 'items' of 'dict' objects}
4 0.000 0.000 0.000 0.000 hooks.py:20(remove)
1 0.000 0.000 0.000 0.000 model_summary.py:212(layer_types)
1 0.000 0.000 0.000 0.000 model_summary.py:366(get_formatted_model_size)
1 0.000 0.000 0.000 0.000 profiler.py:54(profile)
1 0.000 0.000 0.000 0.000 __init__.py:643(usesTime)
1 0.000 0.000 0.000 0.000 model_summary.py:252(<listcomp>)
1 0.000 0.000 0.000 0.000 advanced.py:66(stop)
1 0.000 0.000 0.000 0.000 __init__.py:649(formatMessage)
1 0.000 0.000 0.000 0.000 model_summary.py:214(<listcomp>)
1 0.000 0.000 0.000 0.000 __init__.py:423(usesTime)
20 0.000 0.000 0.000 0.000 {built-in method builtins.len}
1 0.000 0.000 0.000 0.000 model_summary.py:208(layer_names)
1 0.000 0.000 0.000 0.000 genericpath.py:121(_splitext)
1 0.000 0.000 0.000 0.000 __init__.py:219(_acquireLock)
1 0.000 0.000 0.000 0.000 abc.py:117(__instancecheck__)
1 0.000 0.000 0.000 0.000 __init__.py:438(format)
1 0.000 0.000 0.000 0.000 __init__.py:160(<lambda>)
1 0.000 0.000 0.000 0.000 trainer.py:1831(is_global_zero)
5 0.000 0.000 0.000 0.000 {built-in method builtins.min}
2 0.000 0.000 0.000 0.000 __init__.py:912(acquire)
1 0.000 0.000 0.000 0.000 __init__.py:228(_releaseLock)
1 0.000 0.000 0.000 0.000 __init__.py:119(getLevelName)
1 0.000 0.000 0.000 0.000 posixpath.py:52(normcase)
1 0.000 0.000 0.000 0.000 __init__.py:431(_format)
12 0.000 0.000 0.000 0.000 {method 'append' of 'list' objects}
1 0.000 0.000 0.000 0.000 {built-in method posix.getpid}
3 0.000 0.000 0.000 0.000 {built-in method builtins.hasattr}
2 0.000 0.000 0.000 0.000 model_summary.py:115(layer_type)
2 0.000 0.000 0.000 0.000 __init__.py:919(release)
3 0.000 0.000 0.000 0.000 {method 'acquire' of '_thread.RLock' objects}
1 0.000 0.000 0.000 0.000 threading.py:1430(current_thread)
1 0.000 0.000 0.000 0.000 {built-in method _abc._abc_instancecheck}
3 0.000 0.000 0.000 0.000 {method 'rfind' of 'str' objects}
2 0.000 0.000 0.000 0.000 {method 'count' of 'str' objects}
3 0.000 0.000 0.000 0.000 {method 'join' of 'str' objects}
1 0.000 0.000 0.000 0.000 process.py:189(name)
2 0.000 0.000 0.000 0.000 __init__.py:806(filter)
3 0.000 0.000 0.000 0.000 {method 'get' of 'dict' objects}
1 0.000 0.000 0.000 0.000 trainer.py:1753(lightning_module)
3 0.000 0.000 0.000 0.000 trainer.py:1699(strategy)
1 0.000 0.000 0.000 0.000 posixpath.py:41(_get_sep)
1 0.000 0.000 0.000 0.000 __init__.py:1710(getEffectiveLevel)
3 0.000 0.000 0.000 0.000 {method 'release' of '_thread.RLock' objects}
1 0.000 0.000 0.000 0.000 __init__.py:359(getMessage)
2 0.000 0.000 0.000 0.000 module.py:191(example_input_array)
1 0.000 0.000 0.000 0.000 threading.py:1129(name)
1 0.000 0.000 0.000 0.000 {method 'keys' of 'collections.OrderedDict' objects}
1 0.000 0.000 0.000 0.000 {method 'flush' of '_io.TextIOWrapper' objects}
3 0.000 0.000 0.000 0.000 {method 'values' of 'collections.OrderedDict' objects}
1 0.000 0.000 0.000 0.000 {method 'find' of 'str' objects}
1 0.000 0.000 0.000 0.000 __init__.py:1307(disable)
1 0.000 0.000 0.000 0.000 process.py:37(current_process)
3 0.000 0.000 0.000 0.000 {built-in method posix.fspath}
2 0.000 0.000 0.000 0.000 {built-in method _thread.get_ident}
1 0.000 0.000 0.000 0.000 {built-in method sys._getframe}
1 0.000 0.000 0.000 0.000 single_device.py:76(is_global_zero)
1 0.000 0.000 0.000 0.000 {built-in method time.time}
1 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}
1 0.000 0.000 0.000 0.000 strategy.py:352(lightning_module)
Profile stats for: [Callback]GradientAccumulationScheduler.on_fit_start
10 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:139(__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:54(profile)
1 0.000 0.000 0.000 0.000 advanced.py:66(stop)
1 0.000 0.000 0.000 0.000 trainer.py:1753(lightning_module)
1 0.000 0.000 0.000 0.000 strategy.py:352(lightning_module)
1 0.000 0.000 0.000 0.000 trainer.py:1699(strategy)
1 0.000 0.000 0.000 0.000 {method 'get' of 'dict' objects}
1 0.000 0.000 0.000 0.000 callback.py:65(on_fit_start)
1 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}
Profile stats for: [Callback]ModelCheckpoint{'monitor': 'f1', 'mode': 'max', 'every_n_train_steps': 0, 'every_n_epochs': 1, 'train_time_interval': None, 'save_on_train_epoch_end': True}.on_fit_start
10 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:139(__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:54(profile)
1 0.000 0.000 0.000 0.000 advanced.py:66(stop)
1 0.000 0.000 0.000 0.000 trainer.py:1753(lightning_module)
1 0.000 0.000 0.000 0.000 trainer.py:1699(strategy)
1 0.000 0.000 0.000 0.000 strategy.py:352(lightning_module)
1 0.000 0.000 0.000 0.000 {method 'get' of 'dict' objects}
1 0.000 0.000 0.000 0.000 callback.py:65(on_fit_start)
1 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}
Profile stats for: [LightningModule]ROIClassificationTask.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:139(__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:54(profile)
1 0.000 0.000 0.000 0.000 advanced.py:66(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: [Callback]MetricsLoggingCallback.on_sanity_check_start
10 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:139(__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:54(profile)
1 0.000 0.000 0.000 0.000 trainer.py:1753(lightning_module)
1 0.000 0.000 0.000 0.000 advanced.py:66(stop)
1 0.000 0.000 0.000 0.000 trainer.py:1699(strategy)
1 0.000 0.000 0.000 0.000 {method 'get' of 'dict' objects}
1 0.000 0.000 0.000 0.000 strategy.py:352(lightning_module)
1 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}
1 0.000 0.000 0.000 0.000 callback.py:71(on_sanity_check_start)
Profile stats for: [Callback]TQDMProgressBar.on_sanity_check_start
352 function calls in 0.001 seconds
Ordered by: cumulative time
ncalls tottime percall cumtime percall filename:lineno(function)
1 0.000 0.000 0.001 0.001 tqdm_progress.py:243(on_sanity_check_start)
1 0.000 0.000 0.001 0.001 tqdm_progress.py:177(init_sanity_tqdm)
2 0.000 0.000 0.000 0.000 std.py:560(__new__)
1 0.000 0.000 0.000 0.000 _monitor.py:30(__init__)
2 0.000 0.000 0.000 0.000 tqdm_progress.py:36(__init__)
2 0.000 0.000 0.000 0.000 asyncio.py:23(__init__)
2 0.000 0.000 0.000 0.000 std.py:846(__init__)
1 0.000 0.000 0.000 0.000 threading.py:916(start)
1 0.000 0.000 0.000 0.000 threading.py:589(wait)
1 0.000 0.000 0.000 0.000 threading.py:288(wait)
2 0.000 0.000 0.000 0.000 std.py:657(get_lock)
1 0.000 0.000 0.000 0.000 std.py:92(__init__)
1 0.000 0.000 0.000 0.000 std.py:118(create_mp_lock)
1 0.000 0.000 0.000 0.000 context.py:70(RLock)
1 0.000 0.000 0.000 0.000 std.py:1339(refresh)
4 0.000 0.000 0.000 0.000 {method 'acquire' of '_thread.lock' objects}
1 0.000 0.000 0.000 0.000 synchronize.py:186(__init__)
1 0.000 0.000 0.000 0.000 std.py:1478(display)
1 0.000 0.000 0.000 0.000 synchronize.py:50(__init__)
1 0.000 0.000 0.000 0.000 {built-in method _thread.start_new_thread}
1 0.000 0.000 0.000 0.000 std.py:348(print_status)
1 0.000 0.000 0.000 0.000 std.py:1164(__str__)
2 0.000 0.000 0.000 0.000 utils.py:282(_screen_shape_linux)
1 0.000 0.000 0.000 0.000 utils.py:333(disp_len)
1 0.000 0.000 0.000 0.000 __init__.py:8(_make_name)
1 0.000 0.000 0.000 0.000 utils.py:329(_text_width)
3 0.000 0.000 0.000 0.000 {built-in method builtins.next}
1 0.000 0.000 0.000 0.000 threading.py:827(__init__)
1 0.000 0.000 0.000 0.000 {built-in method builtins.sum}
1 0.000 0.000 0.000 0.000 std.py:355(format_meter)
1 0.000 0.000 0.000 0.000 std.py:576(_get_free_pos)
1 0.000 0.000 0.000 0.000 tempfile.py:292(__next__)
1 0.000 0.000 0.000 0.000 threading.py:279(_is_owned)
36 0.000 0.000 0.000 0.000 utils.py:330(<genexpr>)
2 0.000 0.000 0.000 0.000 utils.py:162(__init__)
1 0.000 0.000 0.000 0.000 std.py:579(<setcomp>)
1 0.000 0.000 0.000 0.000 std.py:1460(format_dict)
2 0.000 0.000 0.000 0.000 {built-in method fcntl.ioctl}
3 0.000 0.000 0.000 0.000 _weakrefset.py:63(__iter__)
1 0.000 0.000 0.000 0.000 random.py:506(choices)
4 0.000 0.000 0.000 0.000 std.py:112(__enter__)
1 0.000 0.000 0.000 0.000 std.py:342(fp_write)
5 0.000 0.000 0.000 0.000 std.py:104(acquire)
2 0.000 0.000 0.000 0.000 threading.py:545(__init__)
5 0.000 0.000 0.000 0.000 std.py:108(release)
1 0.000 0.000 0.000 0.000 util.py:171(register_after_fork)
2 0.000 0.000 0.000 0.000 utils.py:143(inner)
4 0.000 0.000 0.000 0.000 std.py:115(__exit__)
35 0.000 0.000 0.000 0.000 {built-in method unicodedata.east_asian_width}
1 0.000 0.000 0.000 0.000 random.py:519(<listcomp>)
3 0.000 0.000 0.000 0.000 _weakrefset.py:86(add)
1 0.000 0.000 0.000 0.000 {method 'write' of '_io.TextIOWrapper' objects}
2 0.000 0.000 0.000 0.000 threading.py:236(__init__)
1 0.000 0.000 0.000 0.000 std.py:329(status_printer)
1 0.000 0.000 0.000 0.000 weakref.py:165(__setitem__)
1 0.000 0.000 0.000 0.000 std.py:288(format_interval)
1 0.000 0.000 0.000 0.000 _weakrefset.py:27(__exit__)
1 0.000 0.000 0.000 0.000 _weakrefset.py:111(remove)
2 0.000 0.000 0.000 0.000 {method 'remove' of 'set' objects}
1 0.000 0.000 0.000 0.000 utils.py:215(_supports_unicode)
4 0.000 0.000 0.000 0.000 utils.py:136(disable_on_exception)
11 0.000 0.000 0.000 0.000 {built-in method builtins.hasattr}
3 0.000 0.000 0.000 0.000 {method 'format' of 'str' objects}
2 0.000 0.000 0.000 0.000 utils.py:105(__init__)
5 0.000 0.000 0.000 0.000 {method 'acquire' of '_multiprocessing.SemLock' objects}
1 0.000 0.000 0.000 0.000 contextlib.py:139(__exit__)
4 0.000 0.000 0.000 0.000 {method 'add' of 'set' objects}
13 0.000 0.000 0.000 0.000 {built-in method builtins.getattr}
6 0.000 0.000 0.000 0.000 utils.py:101(wrapper_setattr)
1 0.000 0.000 0.000 0.000 threading.py:1430(current_thread)
1 0.000 0.000 0.000 0.000 _weakrefset.py:53(_commit_removals)
1 0.000 0.000 0.000 0.000 utils.py:74(__eq__)
4 0.000 0.000 0.000 0.000 utils.py:171(__eq__)
1 0.000 0.000 0.000 0.000 tempfile.py:281(rng)
1 0.000 0.000 0.000 0.000 profiler.py:54(profile)
1 0.000 0.000 0.000 0.000 threading.py:264(__enter__)
1 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:1053(_handle_fromlist)
1 0.000 0.000 0.000 0.000 threading.py:267(__exit__)
3 0.000 0.000 0.000 0.000 utils.py:88(__getattr__)
1 0.000 0.000 0.000 0.000 tqdm_progress.py:167(is_disabled)
1 0.000 0.000 0.000 0.000 advanced.py:66(stop)
1 0.000 0.000 0.000 0.000 utils.py:201(_is_utf)
1 0.000 0.000 0.000 0.000 <frozen importlib._bootstrap>:404(parent)
1 0.000 0.000 0.000 0.000 {built-in method utcfromtimestamp}
2 0.000 0.000 0.000 0.000 {built-in method posix.getpid}
6 0.000 0.000 0.000 0.000 {method 'acquire' of '_thread.RLock' objects}
1 0.000 0.000 0.000 0.000 weakref.py:348(__new__)
3 0.000 0.000 0.000 0.000 std.py:1171(__hash__)
3 0.000 0.000 0.000 0.000 std.py:228(__init__)
6 0.000 0.000 0.000 0.000 {method 'release' of '_thread.RLock' objects}
1 0.000 0.000 0.000 0.000 _weakrefset.py:21(__enter__)
1 0.000 0.000 0.000 0.000 tqdm_progress.py:163(is_enabled)
1 0.000 0.000 0.000 0.000 {method 'sub' of 're.Pattern' objects}
1 0.000 0.000 0.000 0.000 threading.py:1301(_make_invoke_excepthook)
2 0.000 0.000 0.000 0.000 std.py:1167(_comparable)
1 0.000 0.000 0.000 0.000 threading.py:276(_acquire_restore)
5 0.000 0.000 0.000 0.000 {method 'release' of '_multiprocessing.SemLock' objects}
1 0.000 0.000 0.000 0.000 synchronize.py:90(_make_methods)
1 0.000 0.000 0.000 0.000 threading.py:273(_release_save)
1 0.000 0.000 0.000 0.000 threading.py:1198(daemon)
3 0.000 0.000 0.000 0.000 {built-in method __new__ of type object at 0x55c8fd04b9a0}
1 0.000 0.000 0.000 0.000 weakref.py:353(__init__)
1 0.000 0.000 0.000 0.000 _weakrefset.py:17(__init__)
1 0.000 0.000 0.000 0.000 threading.py:782(_newname)
3 0.000 0.000 0.000 0.000 {method 'flush' of '_io.TextIOWrapper' objects}
4 0.000 0.000 0.000 0.000 {built-in method _weakref.proxy}
1 0.000 0.000 0.000 0.000 _monitor.py:94(report)
4 0.000 0.000 0.000 0.000 {built-in method builtins.id}
1 0.000 0.000 0.000 0.000 trainer.py:1753(lightning_module)
8 0.000 0.000 0.000 0.000 {built-in method math.floor}
3 0.000 0.000 0.000 0.000 {built-in method _thread.allocate_lock}
1 0.000 0.000 0.000 0.000 {built-in method builtins.max}
8 0.000 0.000 0.000 0.000 {method 'random' of '_random.Random' objects}
1 0.000 0.000 0.000 0.000 std.py:233(__call__)
1 0.000 0.000 0.000 0.000 tqdm_progress.py:159(process_position)
1 0.000 0.000 0.000 0.000 context.py:237(get_context)
1 0.000 0.000 0.000 0.000 {method 'difference' of 'set' objects}
1 0.000 0.000 0.000 0.000 std.py:100(<listcomp>)
1 0.000 0.000 0.000 0.000 tqdm_progress.py:121(main_progress_bar)
1 0.000 0.000 0.000 0.000 util.py:48(debug)
4 0.000 0.000 0.000 0.000 {built-in method builtins.abs}
1 0.000 0.000 0.000 0.000 utils.py:231(_screen_shape_wrapper)
1 0.000 0.000 0.000 0.000 tqdm_progress.py:131(val_progress_bar)
3 0.000 0.000 0.000 0.000 threading.py:553(is_set)
1 0.000 0.000 0.000 0.000 {method 'encode' of 'str' objects}
1 0.000 0.000 0.000 0.000 {built-in method builtins.min}
3 0.000 0.000 0.000 0.000 {method 'get' of 'dict' objects}
2 0.000 0.000 0.000 0.000 {built-in method builtins.len}
1 0.000 0.000 0.000 0.000 threading.py:1183(daemon)
1 0.000 0.000 0.000 0.000 {method 'pop' of 'list' objects}
1 0.000 0.000 0.000 0.000 context.py:197(get_start_method)
1 0.000 0.000 0.000 0.000 {method 'join' of 'str' objects}
1 0.000 0.000 0.000 0.000 {method 'rpartition' of 'str' objects}
2 0.000 0.000 0.000 0.000 {built-in method builtins.divmod}
1 0.000 0.000 0.000 0.000 base.py:60(sanity_check_description)
1 0.000 0.000 0.000 0.000 {built-in method atexit.register}
1 0.000 0.000 0.000 0.000 {method '__enter__' of '_thread.lock' objects}
1 0.000 0.000 0.000 0.000 {method '__exit__' of '_thread.RLock' objects}
1 0.000 0.000 0.000 0.000 tqdm_progress.py:155(refresh_rate)
1 0.000 0.000 0.000 0.000 trainer.py:1699(strategy)
1 0.000 0.000 0.000 0.000 {method '__exit__' of '_thread.lock' objects}
1 0.000 0.000 0.000 0.000 {built-in method _thread.get_ident}
1 0.000 0.000 0.000 0.000 {method 'append' of 'collections.deque' objects}
1 0.000 0.000 0.000 0.000 {method 'release' of '_thread.lock' 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 {built-in method time.time}
1 0.000 0.000 0.000 0.000 {built-in method builtins.isinstance}
1 0.000 0.000 0.000 0.000 strategy.py:352(lightning_module)
Profile stats for: [Callback]ModelSummary.on_sanity_check_start
10 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:139(__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:54(profile)
1 0.000 0.000 0.000 0.000 advanced.py:66(stop)
1 0.000 0.000 0.000 0.000 trainer.py:1753(lightning_module)
1 0.000 0.000 0.000 0.000 trainer.py:1699(strategy)
1 0.000 0.000 0.000 0.000 strategy.py:352(lightning_module)
1 0.000 0.000 0.000 0.000 callback.py:71(on_sanity_check_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: [Callback]GradientAccumulationScheduler.on_sanity_check_start
10 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:139(__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:54(profile)
1 0.000 0.000 0.000 0.000 advanced.py:66(stop)
1 0.000 0.000 0.000 0.000 trainer.py:1753(lightning_module)
1 0.000 0.000 0.000 0.000 trainer.py:1699(strategy)
1 0.000 0.000 0.000 0.000 callback.py:71(on_sanity_check_start)
1 0.000 0.000 0.000 0.000 {method 'get' of 'dict' objects}
1 0.000 0.000 0.000 0.000 strategy.py:352(lightning_module)
1 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}
Profile stats for: [Callback]ModelCheckpoint{'monitor': 'f1', 'mode': 'max', 'every_n_train_steps': 0, 'every_n_epochs': 1, 'train_time_interval': None, 'save_on_train_epoch_end': True}.on_sanity_check_start
10 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:139(__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:54(profile)
1 0.000 0.000 0.000 0.000 advanced.py:66(stop)
1 0.000 0.000 0.000 0.000 trainer.py:1753(lightning_module)
1 0.000 0.000 0.000 0.000 trainer.py:1699(strategy)
1 0.000 0.000 0.000 0.000 strategy.py:352(lightning_module)
1 0.000 0.000 0.000 0.000 callback.py:71(on_sanity_check_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]ROIClassificationTask.on_validation_model_eval
1616 function calls (1430 primitive calls) in 0.001 seconds
Ordered by: cumulative time
ncalls tottime percall cumtime percall filename:lineno(function)
2 0.000 0.000 0.001 0.000 hooks.py:146(on_validation_model_eval)
2 0.000 0.000 0.001 0.000 module.py:1842(eval)
94/2 0.000 0.000 0.001 0.000 module.py:1820(train)
94 0.000 0.000 0.000 0.000 module.py:1210(__setattr__)
186 0.000 0.000 0.000 0.000 module.py:1719(children)
186 0.000 0.000 0.000 0.000 module.py:1728(named_children)
376/282 0.000 0.000 0.000 0.000 {built-in method builtins.isinstance}
94 0.000 0.000 0.000 0.000 parameter.py:9(__instancecheck__)
284 0.000 0.000 0.000 0.000 {method 'get' of 'dict' objects}
2 0.000 0.000 0.000 0.000 contextlib.py:139(__exit__)
2 0.000 0.000 0.000 0.000 {built-in method builtins.next}
2 0.000 0.000 0.000 0.000 profiler.py:54(profile)
92 0.000 0.000 0.000 0.000 {method 'add' of 'set' objects}
94 0.000 0.000 0.000 0.000 {function _ParameterMeta.__instancecheck__ at 0x7f1799b004c0}
2 0.000 0.000 0.000 0.000 trainer.py:1794(model)
94 0.000 0.000 0.000 0.000 {method 'items' of 'collections.OrderedDict' objects}
2 0.000 0.000 0.000 0.000 advanced.py:66(stop)
2 0.000 0.000 0.000 0.000 module.py:176(trainer)
2 0.000 0.000 0.000 0.000 strategy.py:343(model)
2 0.000 0.000 0.000 0.000 trainer.py:1699(strategy)
2 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}
Profile stats for: [Callback]MetricsLoggingCallback.on_validation_start
20 function calls in 0.000 seconds
Ordered by: cumulative time
ncalls tottime percall cumtime percall filename:lineno(function)
2 0.000 0.000 0.000 0.000 contextlib.py:139(__exit__)
2 0.000 0.000 0.000 0.000 {built-in method builtins.next}
2 0.000 0.000 0.000 0.000 profiler.py:54(profile)
2 0.000 0.000 0.000 0.000 advanced.py:66(stop)
2 0.000 0.000 0.000 0.000 trainer.py:1753(lightning_module)
2 0.000 0.000 0.000 0.000 trainer.py:1699(strategy)
2 0.000 0.000 0.000 0.000 {method 'get' of 'dict' objects}
2 0.000 0.000 0.000 0.000 strategy.py:352(lightning_module)
2 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}
2 0.000 0.000 0.000 0.000 callback.py:176(on_validation_start)
Profile stats for: [Callback]TQDMProgressBar.on_validation_start
252 function calls in 0.000 seconds
Ordered by: cumulative time
ncalls tottime percall cumtime percall filename:lineno(function)
2 0.000 0.000 0.000 0.000 tqdm_progress.py:273(on_validation_start)
1 0.000 0.000 0.000 0.000 tqdm_progress.py:217(init_validation_tqdm)
1 0.000 0.000 0.000 0.000 tqdm_progress.py:36(__init__)
1 0.000 0.000 0.000 0.000 asyncio.py:23(__init__)
1 0.000 0.000 0.000 0.000 std.py:846(__init__)
1 0.000 0.000 0.000 0.000 std.py:1339(refresh)
1 0.000 0.000 0.000 0.000 std.py:1478(display)
1 0.000 0.000 0.000 0.000 std.py:1164(__str__)
1 0.000 0.000 0.000 0.000 std.py:560(__new__)
2 0.000 0.000 0.000 0.000 trainer.py:2038(sanity_checking)
1 0.000 0.000 0.000 0.000 std.py:348(print_status)
2 0.000 0.000 0.000 0.000 utils.py:282(_screen_shape_linux)
2 0.000 0.000 0.000 0.000 std.py:1455(moveto)
2 0.000 0.000 0.000 0.000 states.py:30(__getattribute__)
6 0.000 0.000 0.000 0.000 utils.py:143(inner)
1 0.000 0.000 0.000 0.000 std.py:355(format_meter)
1 0.000 0.000 0.000 0.000 utils.py:333(disp_len)
1 0.000 0.000 0.000 0.000 tqdm_progress.py:131(val_progress_bar)
1 0.000 0.000 0.000 0.000 utils.py:162(__init__)
1 0.000 0.000 0.000 0.000 utils.py:329(_text_width)
3 0.000 0.000 0.000 0.000 {method 'write' of '_io.TextIOWrapper' objects}
1 0.000 0.000 0.000 0.000 {built-in method builtins.sum}
2 0.000 0.000 0.000 0.000 {built-in method fcntl.ioctl}
4 0.000 0.000 0.000 0.000 enums.py:20(__eq__)
1 0.000 0.000 0.000 0.000 std.py:1460(format_dict)
31 0.000 0.000 0.000 0.000 utils.py:330(<genexpr>)
2 0.000 0.000 0.000 0.000 std.py:112(__enter__)
2 0.000 0.000 0.000 0.000 states.py:119(deprecate)
1 0.000 0.000 0.000 0.000 std.py:329(status_printer)
3 0.000 0.000 0.000 0.000 std.py:104(acquire)
2 0.000 0.000 0.000 0.000 utils.py:136(disable_on_exception)
3 0.000 0.000 0.000 0.000 std.py:108(release)
1 0.000 0.000 0.000 0.000 std.py:288(format_interval)
1 0.000 0.000 0.000 0.000 std.py:342(fp_write)
2 0.000 0.000 0.000 0.000 std.py:115(__exit__)
2 0.000 0.000 0.000 0.000 contextlib.py:139(__exit__)
8 0.000 0.000 0.000 0.000 types.py:176(__get__)
1 0.000 0.000 0.000 0.000 _weakrefset.py:86(add)
3 0.000 0.000 0.000 0.000 {method 'format' of 'str' objects}
2 0.000 0.000 0.000 0.000 {built-in method builtins.next}
1 0.000 0.000 0.000 0.000 utils.py:215(_supports_unicode)
2 0.000 0.000 0.000 0.000 profiler.py:54(profile)
1 0.000 0.000 0.000 0.000 std.py:1161(__del__)
5 0.000 0.000 0.000 0.000 {method 'flush' of '_io.TextIOWrapper' objects}
1 0.000 0.000 0.000 0.000 std.py:657(get_lock)
2 0.000 0.000 0.000 0.000 advanced.py:66(stop)
4 0.000 0.000 0.000 0.000 utils.py:171(__eq__)
30 0.000 0.000 0.000 0.000 {built-in method unicodedata.east_asian_width}
1 0.000 0.000 0.000 0.000 tqdm_progress.py:167(is_disabled)
12 0.000 0.000 0.000 0.000 {built-in method builtins.getattr}
5 0.000 0.000 0.000 0.000 {built-in method builtins.hasattr}
1 0.000 0.000 0.000 0.000 {method 'add' of 'set' objects}
1 0.000 0.000 0.000 0.000 utils.py:201(_is_utf)
3 0.000 0.000 0.000 0.000 utils.py:88(__getattr__)
1 0.000 0.000 0.000 0.000 utils.py:105(__init__)
1 0.000 0.000 0.000 0.000 _monitor.py:94(report)
2 0.000 0.000 0.000 0.000 trainer.py:1753(lightning_module)
2 0.000 0.000 0.000 0.000 {method 'startswith' of 'str' objects}
3 0.000 0.000 0.000 0.000 utils.py:101(wrapper_setattr)
1 0.000 0.000 0.000 0.000 {built-in method utcfromtimestamp}
1 0.000 0.000 0.000 0.000 tqdm_progress.py:163(is_enabled)
1 0.000 0.000 0.000 0.000 {method 'sub' of 're.Pattern' objects}
6 0.000 0.000 0.000 0.000 {built-in method builtins.isinstance}
1 0.000 0.000 0.000 0.000 std.py:1171(__hash__)
8 0.000 0.000 0.000 0.000 enum.py:801(value)
3 0.000 0.000 0.000 0.000 std.py:228(__init__)
2 0.000 0.000 0.000 0.000 utils.py:319(_term_move_up)
3 0.000 0.000 0.000 0.000 {method 'acquire' of '_thread.RLock' objects}
8 0.000 0.000 0.000 0.000 {method 'lower' of 'str' objects}
3 0.000 0.000 0.000 0.000 {method 'acquire' of '_multiprocessing.SemLock' objects}
1 0.000 0.000 0.000 0.000 std.py:233(__call__)
1 0.000 0.000 0.000 0.000 {method 'encode' of 'str' objects}
2 0.000 0.000 0.000 0.000 {built-in method _weakref.proxy}
3 0.000 0.000 0.000 0.000 {method 'release' of '_thread.RLock' objects}
1 0.000 0.000 0.000 0.000 base.py:54(trainer)
1 0.000 0.000 0.000 0.000 {built-in method __new__ of type object at 0x55c8fd04b9a0}
1 0.000 0.000 0.000 0.000 {built-in method builtins.max}
3 0.000 0.000 0.000 0.000 {method 'release' of '_multiprocessing.SemLock' objects}
1 0.000 0.000 0.000 0.000 std.py:1279(close)
2 0.000 0.000 0.000 0.000 {method 'get' of 'dict' objects}
1 0.000 0.000 0.000 0.000 base.py:68(validation_description)
1 0.000 0.000 0.000 0.000 utils.py:231(_screen_shape_wrapper)
1 0.000 0.000 0.000 0.000 tqdm_progress.py:159(process_position)
1 0.000 0.000 0.000 0.000 tqdm_progress.py:155(refresh_rate)
1 0.000 0.000 0.000 0.000 {built-in method builtins.id}
2 0.000 0.000 0.000 0.000 {built-in method builtins.divmod}
2 0.000 0.000 0.000 0.000 trainer.py:1699(strategy)
1 0.000 0.000 0.000 0.000 threading.py:553(is_set)
2 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}
1 0.000 0.000 0.000 0.000 {built-in method time.time}
2 0.000 0.000 0.000 0.000 strategy.py:352(lightning_module)
1 0.000 0.000 0.000 0.000 {built-in method builtins.abs}
Profile stats for: [Callback]ModelSummary.on_validation_start
20 function calls in 0.000 seconds
Ordered by: cumulative time
ncalls tottime percall cumtime percall filename:lineno(function)
2 0.000 0.000 0.000 0.000 contextlib.py:139(__exit__)
2 0.000 0.000 0.000 0.000 {built-in method builtins.next}
2 0.000 0.000 0.000 0.000 profiler.py:54(profile)
2 0.000 0.000 0.000 0.000 trainer.py:1753(lightning_module)
2 0.000 0.000 0.000 0.000 advanced.py:66(stop)
2 0.000 0.000 0.000 0.000 trainer.py:1699(strategy)
2 0.000 0.000 0.000 0.000 {method 'get' of 'dict' objects}
2 0.000 0.000 0.000 0.000 strategy.py:352(lightning_module)
2 0.000 0.000 0.000 0.000 callback.py:176(on_validation_start)
2 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}
Profile stats for: [Callback]GradientAccumulationScheduler.on_validation_start
20 function calls in 0.000 seconds
Ordered by: cumulative time
ncalls tottime percall cumtime percall filename:lineno(function)
2 0.000 0.000 0.000 0.000 contextlib.py:139(__exit__)
2 0.000 0.000 0.000 0.000 {built-in method builtins.next}
2 0.000 0.000 0.000 0.000 profiler.py:54(profile)
2 0.000 0.000 0.000 0.000 advanced.py:66(stop)
2 0.000 0.000 0.000 0.000 trainer.py:1753(lightning_module)
2 0.000 0.000 0.000 0.000 {method 'get' of 'dict' objects}
2 0.000 0.000 0.000 0.000 strategy.py:352(lightning_module)
2 0.000 0.000 0.000 0.000 trainer.py:1699(strategy)
2 0.000 0.000 0.000 0.000 callback.py:176(on_validation_start)
2 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}
Profile stats for: [Callback]ModelCheckpoint{'monitor': 'f1', 'mode': 'max', 'every_n_train_steps': 0, 'every_n_epochs': 1, 'train_time_interval': None, 'save_on_train_epoch_end': True}.on_validation_start
20 function calls in 0.000 seconds
Ordered by: cumulative time
ncalls tottime percall cumtime percall filename:lineno(function)
2 0.000 0.000 0.000 0.000 contextlib.py:139(__exit__)
2 0.000 0.000 0.000 0.000 {built-in method builtins.next}
2 0.000 0.000 0.000 0.000 profiler.py:54(profile)
2 0.000 0.000 0.000 0.000 advanced.py:66(stop)
2 0.000 0.000 0.000 0.000 trainer.py:1753(lightning_module)
2 0.000 0.000 0.000 0.000 trainer.py:1699(strategy)
2 0.000 0.000 0.000 0.000 {method 'get' of 'dict' objects}
2 0.000 0.000 0.000 0.000 strategy.py:352(lightning_module)