Skip to content

Instantly share code, notes, and snippets.

@emerali
Last active August 23, 2018 17:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save emerali/1a3b64693f794f14e79aed4baa3ed299 to your computer and use it in GitHub Desktop.
Save emerali/1a3b64693f794f14e79aed4baa3ed299 to your computer and use it in GitHub Desktop.
78395932 function calls in 561.900 seconds
Ordered by: internal time
ncalls tottime percall cumtime percall filename:lineno(function)
2400768 140.424 0.000 148.281 0.000 cplx.py:45(scalar_mult)
240000 67.627 0.000 490.938 0.002 complex_wavefunction.py:162(rotated_gradient)
1 37.587 37.587 561.894 561.894 wavefunction.py:409(fit)
1038000 20.889 0.000 20.889 0.000 {built-in method einsum}
1998444 20.587 0.000 20.587 0.000 {built-in method addmm}
960444 18.940 0.000 64.362 0.000 binary_rbm.py:76(effective_energy)
480216 18.934 0.000 102.100 0.000 complex_wavefunction.py:119(psi)
480000 17.922 0.000 78.514 0.000 cplx.py:265(scalar_divide)
3840768 13.341 0.000 13.341 0.000 {built-in method zeros_like}
1026000 13.313 0.000 87.600 0.000 binary_rbm.py:102(effective_energy_gradient)
35994 12.178 0.000 12.178 0.000 {method 'zero_' of 'torch._C._TensorBase' objects}
3900432 11.004 0.000 11.004 0.000 {method 'unsqueeze' of 'torch._C._TensorBase' objects}
1260000 9.797 0.000 14.127 0.000 {built-in method numpy.core.multiarray.array}
960444 9.570 0.000 9.570 0.000 {method 'sum' of 'torch._C._TensorBase' objects}
3114000 8.885 0.000 8.885 0.000 {method 'view' of 'torch._C._TensorBase' objects}
960444 7.933 0.000 7.933 0.000 {built-in method mv}
960601 7.920 0.000 7.920 0.000 {built-in method tensor}
480000 7.441 0.000 14.464 0.000 wavefunction.py:179(subspace_vector)
1459093 7.004 0.000 7.004 0.000 {built-in method zeros}
1986000 6.979 0.000 6.979 0.000 {built-in method cat}
1038000 6.666 0.000 6.666 0.000 {method 'sigmoid_' of 'torch._C._TensorBase' objects}
1032000 6.330 0.000 32.289 0.000 binary_rbm.py:154(prob_h_given_v)
1992444 5.979 0.000 5.979 0.000 {method 't' of 'torch._C._TensorBase' objects}
300000 5.018 0.000 503.503 0.002 complex_wavefunction.py:200(gradient)
1440000 4.837 0.000 4.837 0.000 {method 'round' of 'torch._C._TensorBase' objects}
6000 4.580 0.001 510.665 0.085 wavefunction.py:294(compute_batch_gradients)
960444 4.301 0.000 4.301 0.000 {built-in method torch._C._nn.softplus}
6943776 4.038 0.000 4.038 0.000 module.py:504(__getattr__)
1992841 3.951 0.000 3.951 0.000 {method 'to' of 'torch._C._TensorBase' objects}
1026000 3.855 0.000 18.202 0.000 convert_parameters.py:4(parameters_to_vector)
480216 3.468 0.000 31.805 0.000 complex_wavefunction.py:104(phase)
480000 3.257 0.000 3.257 0.000 {method 'reduce' of 'numpy.ufunc' objects}
960384 2.895 0.000 2.895 0.000 {built-in method numpy.core.multiarray.arange}
480216 2.859 0.000 42.448 0.000 wavefunction.py:93(amplitude)
720000 2.834 0.000 2.834 0.000 {method 'int' of 'torch._C._TensorBase' objects}
1020000 2.461 0.000 2.461 0.000 {method 'squeeze_' of 'torch._C._TensorBase' objects}
960300 2.265 0.000 2.265 0.000 {method 'numpy' of 'torch._C._TensorBase' objects}
480216 2.015 0.000 2.015 0.000 {method 'cos' of 'torch._C._TensorBase' objects}
240000 1.919 0.000 13.811 0.000 complex_wavefunction.py:150(init_gradient)
240000 1.884 0.000 1.884 0.000 {built-in method stack}
726000 1.845 0.000 1.845 0.000 {method 'clone' of 'torch._C._TensorBase' objects}
480228 1.845 0.000 1.845 0.000 {method 'exp' of 'torch._C._TensorBase' objects}
960000 1.834 0.000 9.366 0.000 cplx.py:23(make_complex)
480216 1.825 0.000 1.825 0.000 {method 'sin' of 'torch._C._TensorBase' objects}
480000 1.662 0.000 5.056 0.000 fromnumeric.py:64(_wrapreduction)
960444 1.658 0.000 15.873 0.000 functional.py:1010(linear)
3114000 1.571 0.000 1.571 0.000 convert_parameters.py:56(_check_param_device)
480240 1.480 0.000 1.480 0.000 {method 'sqrt' of 'torch._C._TensorBase' objects}
480216 1.393 0.000 1.393 0.000 {method 'squeeze' of 'torch._C._TensorBase' objects}
960300 1.101 0.000 1.101 0.000 {method 'cpu' of 'torch._C._TensorBase' objects}
480000 1.040 0.000 6.096 0.000 fromnumeric.py:2478(prod)
480192 1.001 0.000 1.001 0.000 {method 'astype' of 'numpy.ndarray' objects}
480216 0.983 0.000 43.431 0.000 complex_wavefunction.py:88(amplitude)
960300 0.966 0.000 4.332 0.000 tensor.py:395(__array__)
240000 0.951 0.000 0.951 0.000 complex_wavefunction.py:153(<listcomp>)
240000 0.717 0.000 3.151 0.000 complex_wavefunction.py:155(<listcomp>)
3025578 0.712 0.000 0.712 0.000 {method 'dim' of 'torch._C._TensorBase' objects}
997746 0.707 0.000 0.707 0.000 {method 'size' of 'torch._C._TensorBase' objects}
2413490 0.682 0.000 0.682 0.000 complex_wavefunction.py:80(device)
3078399 0.608 0.000 0.608 0.000 {method 'append' of 'list' objects}
1923330 0.470 0.000 0.472 0.000 {built-in method builtins.len}
300000 0.421 0.000 0.421 0.000 {built-in method numpy.core.multiarray.where}
1284229 0.372 0.000 0.372 0.000 complex_wavefunction.py:63(rbm_am)
504004 0.330 0.000 0.451 0.000 {built-in method builtins.getattr}
1212217 0.325 0.000 0.325 0.000 complex_wavefunction.py:71(rbm_ph)
12000 0.314 0.000 0.777 0.000 gradients_utils.py:25(vector_to_grads)
12000 0.139 0.000 0.139 0.000 {method 'bernoulli' of 'torch._C._TensorBase' objects}
480019 0.137 0.000 0.137 0.000 {method 'items' of 'dict' objects}
48008 0.123 0.000 0.197 0.000 module.py:740(named_parameters)
6000 0.114 0.000 12.302 0.002 optimizer.py:150(zero_grad)
36000 0.108 0.000 0.108 0.000 {method 'add_' of 'torch._C._TensorBase' objects}
6000 0.104 0.000 0.212 0.000 sgd.py:71(step)
252002 0.079 0.000 0.079 0.000 complex_wavefunction.py:59(networks)
6000 0.074 0.000 1.396 0.000 binary_rbm.py:218(gibbs_steps)
300 0.073 0.000 0.131 0.000 wavefunction.py:358(_shuffle_data)
12000 0.050 0.000 0.050 0.000 {method 'copy_' of 'torch._C._TensorBase' objects}
6000 0.036 0.000 0.188 0.000 binary_rbm.py:126(prob_v_given_h)
300 0.030 0.000 0.030 0.000 {built-in method randperm}
48008 0.028 0.000 0.225 0.000 module.py:721(parameters)
36000 0.025 0.000 0.025 0.000 {method 'numel' of 'torch._C._TensorBase' objects}
582 0.025 0.000 0.028 0.000 cplx.py:100(inner_prod)
6000 0.024 0.000 0.114 0.000 wavefunction.py:332(<listcomp>)
72018 0.022 0.000 0.033 0.000 tensor.py:384(__hash__)
6000 0.021 0.000 0.812 0.000 binary_rbm.py:200(sample_h_given_v)
48 0.018 0.000 0.101 0.002 training_statistics.py:52(rotate_psi)
36009 0.017 0.000 0.028 0.000 {method 'add' of 'set' objects}
12002 0.017 0.000 0.019 0.000 module.py:785(named_children)
6000 0.014 0.000 0.236 0.000 binary_rbm.py:182(sample_v_given_h)
6000 0.014 0.000 0.016 0.000 callback_list.py:77(on_batch_end)
72020 0.011 0.000 0.011 0.000 {built-in method builtins.id}
35994 0.010 0.000 0.010 0.000 {method 'detach_' of 'torch._C._TensorBase' objects}
300 0.008 0.000 0.008 0.000 wavefunction.py:390(<listcomp>)
6 0.008 0.001 0.140 0.023 training_statistics.py:111(KL)
300 0.007 0.000 0.007 0.000 wavefunction.py:395(<listcomp>)
6000 0.007 0.000 0.009 0.000 callback_list.py:73(on_batch_start)
24004 0.007 0.000 0.007 0.000 {method 'items' of 'collections.OrderedDict' objects}
1 0.006 0.006 561.899 561.899 complex_wavefunction.py:238(fit)
12035 0.005 0.000 0.005 0.000 {built-in method builtins.isinstance}
1 0.004 0.004 0.004 0.004 data.py:68(extract_refbasis_samples)
300 0.004 0.000 0.004 0.000 {built-in method randint}
6301 0.004 0.000 0.004 0.000 wavefunction.py:38(stop_training)
192 0.004 0.000 0.007 0.000 wavefunction.py:199(generate_hilbert_space)
82 0.003 0.000 0.003 0.000 {method 'acquire' of '_thread.lock' objects}
300 0.002 0.000 0.002 0.000 wavefunction.py:402(<listcomp>)
6 0.002 0.000 0.009 0.001 training_statistics.py:26(fidelity)
6000 0.002 0.000 0.002 0.000 callback.py:72(on_batch_end)
1122 0.002 0.000 0.002 0.000 tensor.py:368(__len__)
6000 0.001 0.000 0.001 0.000 callback.py:60(on_batch_start)
300 0.001 0.000 0.154 0.001 metric_evaluator.py:124(on_epoch_end)
582 0.001 0.000 0.029 0.000 cplx.py:295(norm_sqr)
288 0.001 0.000 0.001 0.000 {method 'log' of 'torch._C._TensorBase' objects}
48 0.001 0.000 0.001 0.000 socket.py:334(send)
300 0.001 0.000 0.001 0.000 callback_list.py:65(on_epoch_start)
12 0.001 0.000 0.001 0.000 {method 'logsumexp' of 'torch._C._TensorBase' objects}
300 0.000 0.000 0.154 0.001 callback_list.py:69(on_epoch_end)
492 0.000 0.000 0.000 0.000 {method 'item' of 'torch._C._TensorBase' objects}
6 0.000 0.000 0.000 0.000 unitaries.py:24(create_dict)
301 0.000 0.000 0.000 0.000 _tqdm.py:901(__iter__)
48 0.000 0.000 0.001 0.000 iostream.py:195(schedule)
12 0.000 0.000 0.004 0.000 {built-in method builtins.print}
24 0.000 0.000 0.001 0.000 iostream.py:366(write)
300 0.000 0.000 0.000 0.000 callback.py:40(on_epoch_start)
12 0.000 0.000 0.002 0.000 binary_rbm.py:248(partition)
54 0.000 0.000 0.000 0.000 threading.py:1104(is_alive)
1 0.000 0.000 561.900 561.900 {built-in method builtins.exec}
8 0.000 0.000 0.000 0.000 threading.py:215(__init__)
18 0.000 0.000 0.000 0.000 {method 'format' of 'str' objects}
1 0.000 0.000 0.000 0.000 {built-in method _thread.start_new_thread}
7 0.000 0.000 0.003 0.000 threading.py:263(wait)
6 0.000 0.000 0.003 0.001 iostream.py:327(flush)
12 0.000 0.000 0.000 0.000 {method '__format__' of 'float' objects}
12 0.000 0.000 0.002 0.000 complex_wavefunction.py:223(compute_normalization)
7 0.000 0.000 0.003 0.000 threading.py:533(wait)
48 0.000 0.000 0.000 0.000 iostream.py:93(_event_pipe)
24 0.000 0.000 0.000 0.000 iostream.py:313(_schedule_flush)
1 0.000 0.000 0.000 0.000 optimizer.py:167(add_param_group)
12 0.000 0.000 0.002 0.000 wavefunction.py:218(compute_normalization)
54 0.000 0.000 0.000 0.000 threading.py:1062(_wait_for_tstate_lock)
24 0.000 0.000 0.000 0.000 iostream.py:300(_is_master_process)
24 0.000 0.000 0.000 0.000 {built-in method posix.getpid}
12 0.000 0.000 0.000 0.000 tensor.py:335(__format__)
7 0.000 0.000 0.000 0.000 threading.py:239(__enter__)
8 0.000 0.000 0.000 0.000 threading.py:498(__init__)
1 0.000 0.000 0.000 0.000 threading.py:757(__init__)
1 0.000 0.000 0.001 0.001 _tqdm.py:401(__new__)
192 0.000 0.000 0.000 0.000 wavefunction.py:55(max_size)
1 0.000 0.000 0.000 0.000 {method 'acquire' of '_multiprocessing.SemLock' objects}
6 0.000 0.000 0.000 0.000 {method 'join' of 'str' objects}
18 0.000 0.000 0.000 0.000 metric_evaluator.py:137(<genexpr>)
1 0.000 0.000 0.000 0.000 _tqdm.py:424(_get_free_pos)
1 0.000 0.000 0.000 0.000 optimizer.py:25(__init__)
7 0.000 0.000 0.000 0.000 threading.py:242(__exit__)
56 0.000 0.000 0.000 0.000 threading.py:506(is_set)
1 0.000 0.000 0.000 0.000 _tqdm.py:641(__init__)
15 0.000 0.000 0.000 0.000 {built-in method _thread.allocate_lock}
55 0.000 0.000 0.000 0.000 {method 'append' of 'collections.deque' objects}
1 0.000 0.000 0.000 0.000 wavefunction.py:468(<listcomp>)
1 0.000 0.000 0.000 0.000 sgd.py:51(__init__)
1 0.000 0.000 561.899 561.899 <string>:2(<module>)
1 0.000 0.000 0.000 0.000 _tqdm.py:97(acquire)
1 0.000 0.000 0.001 0.001 _monitor.py:31(__init__)
1 0.000 0.000 0.000 0.000 {built-in method math.ceil}
1 0.000 0.000 0.000 0.000 threading.py:828(start)
2 0.000 0.000 0.000 0.000 _weakrefset.py:58(__iter__)
6 0.000 0.000 0.000 0.000 {method 'update' of 'dict' objects}
6 0.000 0.000 0.000 0.000 {method 'copy' of 'dict' objects}
1 0.000 0.000 0.000 0.000 callback_list.py:26(__init__)
1 0.000 0.000 0.000 0.000 _weakrefset.py:26(__exit__)
7 0.000 0.000 0.000 0.000 {method '__exit__' of '_thread.lock' objects}
7 0.000 0.000 0.000 0.000 threading.py:251(_acquire_restore)
7 0.000 0.000 0.000 0.000 threading.py:254(_is_owned)
7 0.000 0.000 0.000 0.000 threading.py:248(_release_save)
1 0.000 0.000 0.000 0.000 _weakrefset.py:36(__init__)
6 0.000 0.000 0.000 0.000 {built-in method _imp.lock_held}
1 0.000 0.000 0.000 0.000 _tqdm.py:101(release)
1 0.000 0.000 0.000 0.000 _utils.py:129(__eq__)
2 0.000 0.000 0.000 0.000 {method 'remove' of 'set' objects}
1 0.000 0.000 0.000 0.000 callback_list.py:57(on_train_start)
1 0.000 0.000 0.000 0.000 callback_list.py:61(on_train_end)
1 0.000 0.000 0.000 0.000 _tqdm.py:882(__del__)
1 0.000 0.000 0.000 0.000 threading.py:727(_newname)
1 0.000 0.000 0.000 0.000 threading.py:1230(current_thread)
5 0.000 0.000 0.000 0.000 {method 'setdefault' of 'dict' objects}
7 0.000 0.000 0.000 0.000 {method '__enter__' of '_thread.lock' objects}
6 0.000 0.000 0.000 0.000 unitaries.py:52(<dictcomp>)
1 0.000 0.000 0.000 0.000 _tqdm.py:105(__enter__)
1 0.000 0.000 0.000 0.000 threading.py:1136(daemon)
1 0.000 0.000 0.000 0.000 _weakrefset.py:16(__init__)
1 0.000 0.000 0.000 0.000 _weakrefset.py:20(__enter__)
2 0.000 0.000 0.000 0.000 _weakrefset.py:81(add)
1 0.000 0.000 0.000 0.000 {built-in method builtins.min}
1 0.000 0.000 0.000 0.000 {method 'acquire' of '_thread.RLock' objects}
1 0.000 0.000 0.000 0.000 {method 'release' of '_thread.RLock' objects}
7 0.000 0.000 0.000 0.000 {method 'release' of '_thread.lock' objects}
1 0.000 0.000 0.000 0.000 _tqdm.py:108(__exit__)
1 0.000 0.000 0.000 0.000 _tqdm.py:427(<genexpr>)
2 0.000 0.000 0.000 0.000 _tqdm.py:894(_comparable)
2 0.000 0.000 0.000 0.000 _tqdm.py:898(__hash__)
1 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}
1 0.000 0.000 0.000 0.000 threading.py:1120(daemon)
1 0.000 0.000 0.000 0.000 _weakrefset.py:52(_commit_removals)
1 0.000 0.000 0.000 0.000 _weakrefset.py:106(remove)
1 0.000 0.000 0.000 0.000 {method 'difference' of 'set' objects}
1 0.000 0.000 0.000 0.000 {method 'isdisjoint' of 'set' objects}
1 0.000 0.000 0.000 0.000 {built-in method __new__ of type object at 0x5637a0624660}
2 0.000 0.000 0.000 0.000 {built-in method builtins.abs}
1 0.000 0.000 0.000 0.000 {built-in method _thread.get_ident}
1 0.000 0.000 0.000 0.000 _tqdm.py:1076(close)
1 0.000 0.000 0.000 0.000 callback.py:24(on_train_start)
1 0.000 0.000 0.000 0.000 callback.py:32(on_train_end)
1 0.000 0.000 0.000 0.000 {method 'release' of '_multiprocessing.SemLock' objects}
72593835 function calls in 570.247 seconds
Ordered by: internal time
ncalls tottime percall cumtime percall filename:lineno(function)
2880768 155.966 0.000 166.604 0.000 cplx.py:70(scalar_mult)
1 53.020 53.020 570.235 570.235 quantum_reconstruction.py:96(fit)
300000 32.221 0.000 489.556 0.002 complex_wavefunction.py:131(gradient)
1920876 31.123 0.000 103.879 0.000 binary_rbm.py:90(effective_energy)
1038000 24.932 0.000 24.932 0.000 {built-in method einsum}
1938876 18.959 0.000 18.959 0.000 {built-in method addmm}
5034864 17.116 0.000 17.116 0.000 {method 'view' of 'torch._C._TensorBase' objects}
35994 16.954 0.000 16.954 0.000 {method 'zero_' of 'torch._C._TensorBase' objects}
480216 16.785 0.000 143.447 0.000 complex_wavefunction.py:111(psi)
480000 16.652 0.000 74.907 0.000 cplx.py:242(scalar_divide)
4320768 16.166 0.000 16.166 0.000 {built-in method zeros_like}
960000 14.689 0.000 19.530 0.000 cplx.py:41(make_complex)
1920876 14.474 0.000 14.474 0.000 {method 'sum' of 'torch._C._TensorBase' objects}
1020000 12.891 0.000 12.891 0.000 {method 'matmul' of 'torch._C._TensorBase' objects}
1920876 12.225 0.000 12.225 0.000 {built-in method mv}
1026000 12.007 0.000 93.426 0.000 binary_rbm.py:116(effective_energy_gradient)
2653290 10.264 0.000 10.264 0.000 {built-in method zeros}
2964876 9.972 0.000 9.972 0.000 {method 't' of 'torch._C._TensorBase' objects}
2958876 8.788 0.000 51.358 0.000 functional.py:1010(linear)
1920876 7.460 0.000 7.460 0.000 {built-in method torch._C._nn.softplus}
1038000 6.918 0.000 6.918 0.000 {built-in method sigmoid}
960432 5.807 0.000 59.224 0.000 complex_wavefunction.py:96(phase)
240198 5.324 0.000 6.066 0.000 complex_wavefunction.py:206(generate_Hilbert_space)
1032000 5.267 0.000 36.655 0.000 binary_rbm.py:153(prob_h_given_v)
960432 5.015 0.000 61.374 0.000 complex_wavefunction.py:80(amplitude)
6000 4.966 0.001 496.651 0.083 quantum_reconstruction.py:52(compute_batch_gradients)
1026000 4.668 0.000 4.668 0.000 {built-in method cat}
7838628 4.330 0.000 4.330 0.000 module.py:504(__getattr__)
1026000 3.752 0.000 20.173 0.000 convert_parameters.py:4(parameters_to_vector)
960444 3.217 0.000 3.217 0.000 {method 'exp' of 'torch._C._TensorBase' objects}
960456 2.680 0.000 2.680 0.000 {method 'sqrt' of 'torch._C._TensorBase' objects}
480409 2.423 0.000 2.423 0.000 {built-in method tensor}
480216 1.837 0.000 1.837 0.000 {method 'cos' of 'torch._C._TensorBase' objects}
480216 1.769 0.000 1.769 0.000 {method 'sin' of 'torch._C._TensorBase' objects}
12000 1.645 0.000 2.937 0.000 gradients_utils.py:23(vector_to_grads)
3078000 1.530 0.000 1.530 0.000 convert_parameters.py:56(_check_param_device)
2953746 1.356 0.000 1.356 0.000 {method 'size' of 'torch._C._TensorBase' objects}
4869460 1.070 0.000 1.071 0.000 {built-in method builtins.len}
2959698 0.767 0.000 0.767 0.000 {method 'dim' of 'torch._C._TensorBase' objects}
3918199 0.685 0.000 0.685 0.000 {method 'append' of 'list' objects}
36000 0.654 0.000 0.654 0.000 {built-in method prod}
486396 0.577 0.000 0.577 0.000 {method 'to' of 'torch._C._TensorBase' objects}
480432 0.187 0.000 0.187 0.000 {built-in method builtins.divmod}
48008 0.153 0.000 0.240 0.000 module.py:740(named_parameters)
12000 0.128 0.000 0.128 0.000 {method 'bernoulli' of 'torch._C._TensorBase' objects}
6000 0.113 0.000 17.077 0.003 optimizer.py:150(zero_grad)
6000 0.103 0.000 1.064 0.000 complex_wavefunction.py:193(sample)
6300 0.102 0.000 0.102 0.000 {built-in method randperm}
36000 0.098 0.000 0.098 0.000 {method 'add_' of 'torch._C._TensorBase' objects}
6000 0.087 0.000 0.185 0.000 sgd.py:71(step)
6000 0.036 0.000 0.204 0.000 binary_rbm.py:139(prob_v_given_h)
48008 0.032 0.000 0.272 0.000 module.py:721(parameters)
36000 0.029 0.000 0.029 0.000 gradients_utils.py:53(_check_param_device)
582 0.026 0.000 0.029 0.000 cplx.py:124(inner_prod)
72018 0.026 0.000 0.038 0.000 tensor.py:384(__hash__)
12002 0.022 0.000 0.025 0.000 module.py:785(named_children)
36009 0.018 0.000 0.030 0.000 {method 'add' of 'set' objects}
48 0.017 0.000 0.127 0.003 training_statistics.py:35(rotate_psi)
6000 0.014 0.000 0.722 0.000 binary_rbm.py:181(sample_h_given_v)
6000 0.013 0.000 0.015 0.000 callback_list.py:79(on_batch_end)
72020 0.012 0.000 0.012 0.000 {built-in method builtins.id}
1 0.012 0.012 570.247 570.247 <string>:2(<module>)
6000 0.011 0.000 0.240 0.000 binary_rbm.py:167(sample_v_given_h)
6000 0.011 0.000 0.011 0.000 complex_wavefunction.py:72(set_visible_layer)
6 0.010 0.002 0.170 0.028 training_statistics.py:72(KL)
35994 0.010 0.000 0.010 0.000 {method 'detach_' of 'torch._C._TensorBase' objects}
24004 0.008 0.000 0.008 0.000 {method 'items' of 'collections.OrderedDict' objects}
300 0.008 0.000 0.008 0.000 quantum_reconstruction.py:145(<listcomp>)
12002 0.007 0.000 0.007 0.000 {built-in method builtins.getattr}
6000 0.007 0.000 0.008 0.000 callback_list.py:75(on_batch_start)
12025 0.005 0.000 0.005 0.000 {built-in method builtins.isinstance}
6 0.002 0.000 0.012 0.002 training_statistics.py:25(fidelity)
300 0.002 0.000 0.002 0.000 quantum_reconstruction.py:150(<listcomp>)
300 0.002 0.000 0.184 0.001 metric_evaluator.py:80(on_epoch_end)
6000 0.002 0.000 0.002 0.000 callback.py:72(on_batch_end)
312 0.001 0.000 0.001 0.000 {method 'numpy' of 'torch._C._TensorBase' objects}
822 0.001 0.000 0.002 0.000 tensor.py:368(__len__)
288 0.001 0.000 0.001 0.000 {method 'log' of 'torch._C._TensorBase' objects}
582 0.001 0.000 0.030 0.000 cplx.py:272(norm)
6000 0.001 0.000 0.001 0.000 callback.py:60(on_batch_start)
312 0.001 0.000 0.003 0.000 tensor.py:395(__array__)
312 0.001 0.000 0.001 0.000 {method 'cpu' of 'torch._C._TensorBase' objects}
12 0.001 0.000 0.001 0.000 {method 'logsumexp' of 'torch._C._TensorBase' objects}
6 0.001 0.000 0.001 0.000 unitaries.py:23(create_dict)
300 0.001 0.000 0.185 0.001 callback_list.py:71(on_epoch_end)
7 0.001 0.000 0.001 0.000 {method 'acquire' of '_thread.lock' objects}
300 0.000 0.000 0.001 0.000 callback_list.py:67(on_epoch_start)
480 0.000 0.000 0.000 0.000 {method 'item' of 'torch._C._TensorBase' objects}
3 0.000 0.000 0.000 0.000 socket.py:334(send)
1 0.000 0.000 570.247 570.247 {built-in method builtins.exec}
12 0.000 0.000 0.002 0.000 binary_rbm.py:195(compute_partition_function)
301 0.000 0.000 0.000 0.000 _tqdm.py:901(__iter__)
1 0.000 0.000 0.000 0.000 {built-in method _thread.start_new_thread}
300 0.000 0.000 0.000 0.000 callback.py:40(on_epoch_start)
1 0.000 0.000 0.000 0.000 optimizer.py:167(add_param_group)
1 0.000 0.000 0.001 0.001 _tqdm.py:401(__new__)
12 0.000 0.000 0.000 0.000 {built-in method from_numpy}
12 0.000 0.000 0.002 0.000 complex_wavefunction.py:224(compute_normalization)
1 0.000 0.000 0.000 0.000 threading.py:757(__init__)
2 0.000 0.000 0.000 0.000 threading.py:215(__init__)
12 0.000 0.000 0.000 0.000 tensor.py:403(__array_wrap__)
1 0.000 0.000 0.000 0.000 _tqdm.py:424(_get_free_pos)
1 0.000 0.000 0.000 0.000 optimizer.py:25(__init__)
3 0.000 0.000 0.000 0.000 iostream.py:195(schedule)
1 0.000 0.000 0.000 0.000 threading.py:242(__exit__)
1 0.000 0.000 0.000 0.000 {method 'acquire' of '_multiprocessing.SemLock' objects}
1 0.000 0.000 0.000 0.000 {built-in method builtins.print}
1 0.000 0.000 0.001 0.001 threading.py:263(wait)
1 0.000 0.000 0.001 0.001 threading.py:828(start)
1 0.000 0.000 0.001 0.001 _monitor.py:31(__init__)
2 0.000 0.000 0.000 0.000 threading.py:498(__init__)
1 0.000 0.000 0.000 0.000 callback_list.py:26(__init__)
1 0.000 0.000 0.000 0.000 _tqdm.py:97(acquire)
1 0.000 0.000 0.000 0.000 sgd.py:51(__init__)
2 0.000 0.000 0.000 0.000 iostream.py:366(write)
1 0.000 0.000 0.000 0.000 _tqdm.py:641(__init__)
1 0.000 0.000 0.000 0.000 _tqdm.py:101(release)
1 0.000 0.000 0.000 0.000 {built-in method math.ceil}
1 0.000 0.000 0.001 0.001 threading.py:533(wait)
1 0.000 0.000 0.000 0.000 {method '__exit__' of '_thread.lock' objects}
2 0.000 0.000 0.000 0.000 iostream.py:300(_is_master_process)
3 0.000 0.000 0.000 0.000 threading.py:1104(is_alive)
2 0.000 0.000 0.000 0.000 _tqdm.py:894(_comparable)
1 0.000 0.000 0.000 0.000 _weakrefset.py:36(__init__)
2 0.000 0.000 0.000 0.000 _weakrefset.py:81(add)
1 0.000 0.000 0.000 0.000 threading.py:1230(current_thread)
2 0.000 0.000 0.000 0.000 _weakrefset.py:58(__iter__)
6 0.000 0.000 0.000 0.000 {method 'copy' of 'dict' objects}
2 0.000 0.000 0.000 0.000 {method 'remove' of 'set' objects}
3 0.000 0.000 0.000 0.000 iostream.py:93(_event_pipe)
1 0.000 0.000 0.000 0.000 _weakrefset.py:26(__exit__)
1 0.000 0.000 0.000 0.000 _tqdm.py:882(__del__)
2 0.000 0.000 0.000 0.000 iostream.py:313(_schedule_flush)
1 0.000 0.000 0.000 0.000 threading.py:239(__enter__)
1 0.000 0.000 0.000 0.000 callback_list.py:59(on_train_start)
1 0.000 0.000 0.000 0.000 threading.py:254(_is_owned)
1 0.000 0.000 0.000 0.000 threading.py:727(_newname)
3 0.000 0.000 0.000 0.000 threading.py:1062(_wait_for_tstate_lock)
1 0.000 0.000 0.000 0.000 _weakrefset.py:106(remove)
2 0.000 0.000 0.000 0.000 {built-in method posix.getpid}
1 0.000 0.000 0.000 0.000 _tqdm.py:105(__enter__)
1 0.000 0.000 0.000 0.000 _tqdm.py:427(<genexpr>)
1 0.000 0.000 0.000 0.000 threading.py:248(_release_save)
5 0.000 0.000 0.000 0.000 threading.py:506(is_set)
1 0.000 0.000 0.000 0.000 threading.py:1136(daemon)
1 0.000 0.000 0.000 0.000 _weakrefset.py:20(__enter__)
5 0.000 0.000 0.000 0.000 {method 'setdefault' of 'dict' objects}
7 0.000 0.000 0.000 0.000 {method 'items' of 'dict' objects}
3 0.000 0.000 0.000 0.000 {built-in method _thread.allocate_lock}
1 0.000 0.000 0.000 0.000 {method 'acquire' of '_thread.RLock' objects}
1 0.000 0.000 0.000 0.000 {method '__enter__' of '_thread.lock' objects}
2 0.000 0.000 0.000 0.000 {built-in method time.time}
1 0.000 0.000 0.000 0.000 _tqdm.py:108(__exit__)
2 0.000 0.000 0.000 0.000 _tqdm.py:898(__hash__)
1 0.000 0.000 0.000 0.000 threading.py:251(_acquire_restore)
1 0.000 0.000 0.000 0.000 threading.py:1120(daemon)
1 0.000 0.000 0.000 0.000 {method 'difference' of 'set' objects}
1 0.000 0.000 0.000 0.000 {built-in method __new__ of type object at 0x557de56f7660}
1 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 _thread.get_ident}
1 0.000 0.000 0.000 0.000 {method 'release' of '_thread.lock' objects}
1 0.000 0.000 0.000 0.000 callback.py:24(on_train_start)
1 0.000 0.000 0.000 0.000 _tqdm.py:1076(close)
1 0.000 0.000 0.000 0.000 _utils.py:129(__eq__)
1 0.000 0.000 0.000 0.000 {method 'release' of '_multiprocessing.SemLock' 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 _weakrefset.py:16(__init__)
1 0.000 0.000 0.000 0.000 _weakrefset.py:52(_commit_removals)
1 0.000 0.000 0.000 0.000 {method 'isdisjoint' of 'set' objects}
2 0.000 0.000 0.000 0.000 {built-in method builtins.abs}
1 0.000 0.000 0.000 0.000 {method 'release' of '_thread.RLock' objects}
4 0.000 0.000 0.000 0.000 {method 'append' of 'collections.deque' objects}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment