Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ITensor] [ENHANCEMENT] Generalize ITensor constructor a little #1039

Merged
merged 4 commits into from
Jan 6, 2023

Conversation

mtfishman
Copy link
Member

@mtfishman mtfishman commented Jan 6, 2023

Description

Generalize ITensor constructor a little bit to accept more Index inputs.

Minimal demonstration of new behavior

ITensor(randn(1), Index[])

How Has This Been Tested?

Tests added.

Checklist:

  • My code follows the style guidelines of this project. Please run using JuliaFormatter; format(".") in the base directory of the repository (~/.julia/dev/ITensors) to format your code according to our style guidelines.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have added tests that verify the behavior of the changes I made.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings.
  • Any dependent changes have been merged and published in downstream modules.

src/itensor.jl Outdated Show resolved Hide resolved
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@github-actions
Copy link
Contributor

github-actions bot commented Jan 6, 2023

Benchmark result

Judge result

Benchmark Report for /home/runner/work/ITensors.jl/ITensors.jl

Job Properties

  • Time of benchmarks:
    • Target: 6 Jan 2023 - 04:36
    • Baseline: 6 Jan 2023 - 04:57
  • Package commits:
    • Target: 5574f3
    • Baseline: e3e8f5
  • Julia commits:
    • Target: 00177e
    • Baseline: 00177e
  • Julia command flags:
    • Target: None
    • Baseline: None
  • Environment variables:
    • Target: None
    • Baseline: None

Results

A ratio greater than 1.0 denotes a possible regression (marked with ❌), while a ratio less
than 1.0 denotes a possible improvement (marked with ✅). Only significant results - results
that indicate possible regressions or improvements - are shown below (thus, an empty table means that all
benchmark results remained invariant between builds).

ID time ratio memory ratio
["getsetindex", "getindex"] 1.07 (5%) ❌ 1.00 (1%)
["indexset", "constructor", "function"] 1.24 (5%) ❌ 1.00 (1%)
["indexset", "constructor", "function, tuple"] 0.86 (5%) ✅ 1.00 (1%)
["indexset", "set_functions", "prime, ITensor"] 1.06 (5%) ❌ 1.00 (1%)
["indexset", "set_functions", "uniqueinds", "nofilter0"] 1.05 (5%) ❌ 1.00 (1%)
["inplace", "axpy!"] 1.08 (5%) ❌ 1.00 (1%)

Benchmark Group List

Here's a list of all the benchmark groups executed by this job:

  • ["autompo"]
  • ["contract"]
  • ["dmrg"]
  • ["getsetindex"]
  • ["indexset", "constructor"]
  • ["indexset", "filter"]
  • ["indexset", "set_functions"]
  • ["indexset", "set_functions", "uniqueinds"]
  • ["inplace"]
  • ["op"]
  • ["tagset"]

Julia versioninfo

Target

Julia Version 1.8.4
Commit 00177ebc4fc (2022-12-23 21:32 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
      Ubuntu 22.04.1 LTS
  uname: Linux 5.15.0-1024-azure #30-Ubuntu SMP Wed Nov 16 23:37:59 UTC 2022 x86_64 x86_64
  CPU: Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz: 
              speed         user         nice          sys         idle          irq
       #1  2793 MHz       3260 s          2 s        247 s      22142 s          0 s
       #2  2793 MHz      19921 s          0 s       1288 s       4498 s          0 s
  Memory: 6.781219482421875 GB (2245.15625 MB free)
  Uptime: 2577.88 sec
  Load Avg:  1.0  1.0  0.99
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, icelake-server)
  Threads: 1 on 2 virtual cores

Baseline

Julia Version 1.8.4
Commit 00177ebc4fc (2022-12-23 21:32 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
      Ubuntu 22.04.1 LTS
  uname: Linux 5.15.0-1024-azure #30-Ubuntu SMP Wed Nov 16 23:37:59 UTC 2022 x86_64 x86_64
  CPU: Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz: 
              speed         user         nice          sys         idle          irq
       #1  2793 MHz      13840 s          2 s        596 s      23828 s          0 s
       #2  2793 MHz      21149 s          0 s       1828 s      15317 s          0 s
  Memory: 6.781219482421875 GB (3455.71875 MB free)
  Uptime: 3841.01 sec
  Load Avg:  1.0  1.0  1.0
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, icelake-server)
  Threads: 1 on 2 virtual cores

Target result

Benchmark Report for /home/runner/work/ITensors.jl/ITensors.jl

Job Properties

  • Time of benchmark: 6 Jan 2023 - 4:36
  • Package commit: 5574f3
  • Julia commit: 00177e
  • Julia command flags: None
  • Environment variables: None

Results

Below is a table of this job's results, obtained by running the benchmarks.
The values listed in the ID column have the structure [parent_group, child_group, ..., key], and can be used to
index into the BaseBenchmarks suite to retrieve the corresponding benchmarks.
The percentages accompanying time and memory values in the below table are noise tolerances. The "true"
time/memory value for a given benchmark is expected to fall within this percentage of the reported value.
An empty cell means that the value was zero.

ID time GC time memory allocations
["autompo", "Quartic Hamiltonian"] 341.700 s (5%) 5.623 s 20.51 GiB (1%) 170312952
["autompo", "Quartic QN Hamiltonian"] 69.892 s (5%) 8.860 s 21.63 GiB (1%) 227267333
["contract", "heff_2site"] 6.807 ms (5%) 19.41 MiB (1%) 196
["contract", "matmul_100"] 37.100 μs (5%) 80.47 KiB (1%) 15
["contract", "matmul_20"] 2.178 μs (5%) 5.55 KiB (1%) 14
["contract", "matmul_40"] 4.014 μs (5%) 14.92 KiB (1%) 14
["contract", "matmul_60"] 11.000 μs (5%) 30.47 KiB (1%) 15
["contract", "matmul_80"] 16.400 μs (5%) 52.34 KiB (1%) 15
["contract", "matmul_inplace_100"] 33.600 μs (5%) 1.25 KiB (1%) 10
["contract", "matmul_inplace_20"] 1.150 μs (5%) 1.25 KiB (1%) 10
["contract", "matmul_inplace_40"] 2.822 μs (5%) 1.25 KiB (1%) 10
["contract", "matmul_inplace_60"] 9.499 μs (5%) 1.25 KiB (1%) 10
["contract", "matmul_inplace_80"] 14.899 μs (5%) 1.25 KiB (1%) 10
["dmrg", "1d_S=1_heisenberg"] 22.617 s (5%) 647.620 ms 38.86 GiB (1%) 1915625
["dmrg", "1d_S=1_heisenberg_qn"] 9.560 s (5%) 722.557 ms 9.79 GiB (1%) 55410262
["getsetindex", "getindex end"] 219.188 ns (5%) 800 bytes (1%) 5
["getsetindex", "getindex indval end"] 67.620 ns (5%) 384 bytes (1%) 3
["getsetindex", "getindex indval"] 73.415 ns (5%) 400 bytes (1%) 3
["getsetindex", "getindex"] 24.096 ns (5%) 16 bytes (1%) 1
["getsetindex", "setindex! end"] 330.804 ns (5%) 1.14 KiB (1%) 6
["getsetindex", "setindex! indval end"] 110.275 ns (5%) 736 bytes (1%) 3
["getsetindex", "setindex! indval"] 112.296 ns (5%) 752 bytes (1%) 3
["getsetindex", "setindex!"] 78.807 ns (5%) 368 bytes (1%) 1
["indexset", "constructor", "function"] 826.087 ns (5%) 2.20 KiB (1%) 11
["indexset", "constructor", "function, tuple"] 431.818 ns (5%) 2.09 KiB (1%) 7
["indexset", "filter", "function"] 227.189 ns (5%) 1.77 KiB (1%) 1
["indexset", "filter", "function, tuple"] 62.310 ns (5%) 368 bytes (1%) 1
["indexset", "filter", "kwargs"] 201.513 ns (5%) 1.77 KiB (1%) 1
["indexset", "set_functions", "commoninds, ITensor"] 488.713 ns (5%) 2.84 KiB (1%) 5
["indexset", "set_functions", "noncommoninds, ITensor"] 531.746 ns (5%) 2.84 KiB (1%) 5
["indexset", "set_functions", "prime, ITensor"] 166.828 ns (5%) 1.08 KiB (1%) 3
["indexset", "set_functions", "unioninds, ITensor"] 691.139 ns (5%) 4.23 KiB (1%) 6
["indexset", "set_functions", "uniqueinds", "3_inputs"] 587.287 ns (5%) 3.48 KiB (1%) 9
["indexset", "set_functions", "uniqueinds", "filter_not_tags"] 330.662 ns (5%) 1.23 KiB (1%) 4
["indexset", "set_functions", "uniqueinds", "filter_tags"] 219.300 ns (5%) 976 bytes (1%) 2
["indexset", "set_functions", "uniqueinds", "nofilter0"] 151.287 ns (5%) 464 bytes (1%) 2
["indexset", "set_functions", "uniqueinds", "nofilter2"] 170.310 ns (5%) 976 bytes (1%) 2
["indexset", "set_functions", "uniqueinds, ITensor"] 674.651 ns (5%) 2.92 KiB (1%) 7
["inplace", "axpy!"] 18.900 μs (5%) 79.42 KiB (1%) 16
["op", "op QN"] 7.325 μs (5%) 11.63 KiB (1%) 96
["op", "op"] 3.943 μs (5%) 5.52 KiB (1%) 43
["tagset", "tagset"] 226.386 ns (5%) 144 bytes (1%) 1
["tagset", "tagset_long"] 290.775 ns (5%) 144 bytes (1%) 1
["tagset", "tagset_unicode"] 331.050 ns (5%) 144 bytes (1%) 1

Benchmark Group List

Here's a list of all the benchmark groups executed by this job:

  • ["autompo"]
  • ["contract"]
  • ["dmrg"]
  • ["getsetindex"]
  • ["indexset", "constructor"]
  • ["indexset", "filter"]
  • ["indexset", "set_functions"]
  • ["indexset", "set_functions", "uniqueinds"]
  • ["inplace"]
  • ["op"]
  • ["tagset"]

Julia versioninfo

Julia Version 1.8.4
Commit 00177ebc4fc (2022-12-23 21:32 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
      Ubuntu 22.04.1 LTS
  uname: Linux 5.15.0-1024-azure #30-Ubuntu SMP Wed Nov 16 23:37:59 UTC 2022 x86_64 x86_64
  CPU: Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz: 
              speed         user         nice          sys         idle          irq
       #1  2793 MHz       3260 s          2 s        247 s      22142 s          0 s
       #2  2793 MHz      19921 s          0 s       1288 s       4498 s          0 s
  Memory: 6.781219482421875 GB (2245.15625 MB free)
  Uptime: 2577.88 sec
  Load Avg:  1.0  1.0  0.99
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, icelake-server)
  Threads: 1 on 2 virtual cores

Baseline result

Benchmark Report for /home/runner/work/ITensors.jl/ITensors.jl

Job Properties

  • Time of benchmark: 6 Jan 2023 - 4:57
  • Package commit: e3e8f5
  • Julia commit: 00177e
  • Julia command flags: None
  • Environment variables: None

Results

Below is a table of this job's results, obtained by running the benchmarks.
The values listed in the ID column have the structure [parent_group, child_group, ..., key], and can be used to
index into the BaseBenchmarks suite to retrieve the corresponding benchmarks.
The percentages accompanying time and memory values in the below table are noise tolerances. The "true"
time/memory value for a given benchmark is expected to fall within this percentage of the reported value.
An empty cell means that the value was zero.

ID time GC time memory allocations
["autompo", "Quartic Hamiltonian"] 340.696 s (5%) 6.304 s 20.51 GiB (1%) 170312965
["autompo", "Quartic QN Hamiltonian"] 69.540 s (5%) 8.679 s 21.63 GiB (1%) 227267339
["contract", "heff_2site"] 6.919 ms (5%) 19.41 MiB (1%) 196
["contract", "matmul_100"] 37.100 μs (5%) 80.47 KiB (1%) 15
["contract", "matmul_20"] 2.189 μs (5%) 5.55 KiB (1%) 14
["contract", "matmul_40"] 4.071 μs (5%) 14.92 KiB (1%) 14
["contract", "matmul_60"] 10.900 μs (5%) 30.47 KiB (1%) 15
["contract", "matmul_80"] 17.000 μs (5%) 52.34 KiB (1%) 15
["contract", "matmul_inplace_100"] 33.799 μs (5%) 1.25 KiB (1%) 10
["contract", "matmul_inplace_20"] 1.160 μs (5%) 1.25 KiB (1%) 10
["contract", "matmul_inplace_40"] 2.856 μs (5%) 1.25 KiB (1%) 10
["contract", "matmul_inplace_60"] 9.499 μs (5%) 1.25 KiB (1%) 10
["contract", "matmul_inplace_80"] 14.999 μs (5%) 1.25 KiB (1%) 10
["dmrg", "1d_S=1_heisenberg"] 22.446 s (5%) 710.748 ms 38.86 GiB (1%) 1915625
["dmrg", "1d_S=1_heisenberg_qn"] 9.508 s (5%) 779.755 ms 9.79 GiB (1%) 55410254
["getsetindex", "getindex end"] 224.949 ns (5%) 800 bytes (1%) 5
["getsetindex", "getindex indval end"] 69.152 ns (5%) 384 bytes (1%) 3
["getsetindex", "getindex indval"] 74.131 ns (5%) 400 bytes (1%) 3
["getsetindex", "getindex"] 22.590 ns (5%) 16 bytes (1%) 1
["getsetindex", "setindex! end"] 336.156 ns (5%) 1.14 KiB (1%) 6
["getsetindex", "setindex! indval end"] 111.335 ns (5%) 736 bytes (1%) 3
["getsetindex", "setindex! indval"] 112.840 ns (5%) 752 bytes (1%) 3
["getsetindex", "setindex!"] 80.247 ns (5%) 368 bytes (1%) 1
["indexset", "constructor", "function"] 665.217 ns (5%) 2.20 KiB (1%) 11
["indexset", "constructor", "function, tuple"] 500.500 ns (5%) 2.09 KiB (1%) 7
["indexset", "filter", "function"] 229.493 ns (5%) 1.77 KiB (1%) 1
["indexset", "filter", "function, tuple"] 65.046 ns (5%) 368 bytes (1%) 1
["indexset", "filter", "kwargs"] 198.820 ns (5%) 1.77 KiB (1%) 1
["indexset", "set_functions", "commoninds, ITensor"] 500.508 ns (5%) 2.84 KiB (1%) 5
["indexset", "set_functions", "noncommoninds, ITensor"] 541.265 ns (5%) 2.84 KiB (1%) 5
["indexset", "set_functions", "prime, ITensor"] 157.539 ns (5%) 1.08 KiB (1%) 3
["indexset", "set_functions", "unioninds, ITensor"] 674.051 ns (5%) 4.23 KiB (1%) 6
["indexset", "set_functions", "uniqueinds", "3_inputs"] 588.945 ns (5%) 3.48 KiB (1%) 9
["indexset", "set_functions", "uniqueinds", "filter_not_tags"] 332.449 ns (5%) 1.23 KiB (1%) 4
["indexset", "set_functions", "uniqueinds", "filter_tags"] 216.838 ns (5%) 976 bytes (1%) 2
["indexset", "set_functions", "uniqueinds", "nofilter0"] 143.802 ns (5%) 464 bytes (1%) 2
["indexset", "set_functions", "uniqueinds", "nofilter2"] 174.364 ns (5%) 976 bytes (1%) 2
["indexset", "set_functions", "uniqueinds, ITensor"] 688.349 ns (5%) 2.92 KiB (1%) 7
["inplace", "axpy!"] 17.500 μs (5%) 79.42 KiB (1%) 16
["op", "op QN"] 7.350 μs (5%) 11.63 KiB (1%) 96
["op", "op"] 4.014 μs (5%) 5.52 KiB (1%) 43
["tagset", "tagset"] 226.829 ns (5%) 144 bytes (1%) 1
["tagset", "tagset_long"] 305.166 ns (5%) 144 bytes (1%) 1
["tagset", "tagset_unicode"] 333.333 ns (5%) 144 bytes (1%) 1

Benchmark Group List

Here's a list of all the benchmark groups executed by this job:

  • ["autompo"]
  • ["contract"]
  • ["dmrg"]
  • ["getsetindex"]
  • ["indexset", "constructor"]
  • ["indexset", "filter"]
  • ["indexset", "set_functions"]
  • ["indexset", "set_functions", "uniqueinds"]
  • ["inplace"]
  • ["op"]
  • ["tagset"]

Julia versioninfo

Julia Version 1.8.4
Commit 00177ebc4fc (2022-12-23 21:32 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
      Ubuntu 22.04.1 LTS
  uname: Linux 5.15.0-1024-azure #30-Ubuntu SMP Wed Nov 16 23:37:59 UTC 2022 x86_64 x86_64
  CPU: Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz: 
              speed         user         nice          sys         idle          irq
       #1  2793 MHz      13840 s          2 s        596 s      23828 s          0 s
       #2  2793 MHz      21149 s          0 s       1828 s      15317 s          0 s
  Memory: 6.781219482421875 GB (3455.71875 MB free)
  Uptime: 3841.01 sec
  Load Avg:  1.0  1.0  1.0
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, icelake-server)
  Threads: 1 on 2 virtual cores

Runtime information

Runtime Info
BLAS #threads 1
BLAS.vendor() openblas64
Sys.CPU_THREADS 2

lscpu output:

Architecture:                    x86_64
CPU op-mode(s):                  32-bit, 64-bit
Address sizes:                   46 bits physical, 48 bits virtual
Byte Order:                      Little Endian
CPU(s):                          2
On-line CPU(s) list:             0,1
Vendor ID:                       GenuineIntel
Model name:                      Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz
CPU family:                      6
Model:                           106
Thread(s) per core:              1
Core(s) per socket:              2
Socket(s):                       1
Stepping:                        6
BogoMIPS:                        5586.87
Flags:                           fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology cpuid pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti fsgsbase bmi1 hle avx2 smep bmi2 erms invpcid rtm avx512f avx512dq rdseed adx smap clflushopt avx512cd avx512bw avx512vl xsaveopt xsavec xsaves md_clear
Hypervisor vendor:               Microsoft
Virtualization type:             full
L1d cache:                       96 KiB (2 instances)
L1i cache:                       64 KiB (2 instances)
L2 cache:                        2.5 MiB (2 instances)
L3 cache:                        48 MiB (1 instance)
NUMA node(s):                    1
NUMA node0 CPU(s):               0,1
Vulnerability Itlb multihit:     KVM: Mitigation: VMX unsupported
Vulnerability L1tf:              Mitigation; PTE Inversion
Vulnerability Mds:               Mitigation; Clear CPU buffers; SMT Host state unknown
Vulnerability Meltdown:          Mitigation; PTI
Vulnerability Mmio stale data:   Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown
Vulnerability Retbleed:          Not affected
Vulnerability Spec store bypass: Vulnerable
Vulnerability Spectre v1:        Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:        Mitigation; Retpolines, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected
Vulnerability Srbds:             Not affected
Vulnerability Tsx async abort:   Mitigation; Clear CPU buffers; SMT Host state unknown
Cpu Property Value
Brand Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz
Vendor :Intel
Architecture :UnknownIntel
Model Family: 0x06, Model: 0x6a, Stepping: 0x06, Type: 0x00
Cores 2 physical cores, 2 logical cores (on executing CPU)
No Hyperthreading hardware capability detected
Clock Frequencies Not supported by CPU
Data Cache Level 1:3 : (48, 1280, 49152) kbytes
64 byte cache line size
Address Size 48 bits virtual, 46 bits physical
SIMD 512 bit = 64 byte max. SIMD vector size
Time Stamp Counter TSC is accessible via rdtsc
TSC increased at every clock cycle (non-invariant TSC)
Perf. Monitoring Performance Monitoring Counters (PMC) are not supported
Hypervisor Yes, Microsoft

@github-actions
Copy link
Contributor

github-actions bot commented Jan 6, 2023

Benchmark result

Judge result

Benchmark Report for /home/runner/work/ITensors.jl/ITensors.jl

Job Properties

  • Time of benchmarks:
    • Target: 6 Jan 2023 - 04:55
    • Baseline: 6 Jan 2023 - 05:17
  • Package commits:
    • Target: 8afcfc
    • Baseline: e3e8f5
  • Julia commits:
    • Target: 00177e
    • Baseline: 00177e
  • Julia command flags:
    • Target: None
    • Baseline: None
  • Environment variables:
    • Target: None
    • Baseline: None

Results

A ratio greater than 1.0 denotes a possible regression (marked with ❌), while a ratio less
than 1.0 denotes a possible improvement (marked with ✅). Only significant results - results
that indicate possible regressions or improvements - are shown below (thus, an empty table means that all
benchmark results remained invariant between builds).

ID time ratio memory ratio
["getsetindex", "getindex end"] 0.93 (5%) ✅ 1.00 (1%)
["getsetindex", "getindex indval end"] 1.06 (5%) ❌ 1.00 (1%)
["indexset", "constructor", "function"] 0.80 (5%) ✅ 1.00 (1%)
["indexset", "set_functions", "commoninds, ITensor"] 1.07 (5%) ❌ 1.00 (1%)
["indexset", "set_functions", "prime, ITensor"] 0.93 (5%) ✅ 1.00 (1%)
["indexset", "set_functions", "uniqueinds", "nofilter0"] 1.08 (5%) ❌ 1.00 (1%)
["indexset", "set_functions", "uniqueinds", "nofilter2"] 1.09 (5%) ❌ 1.00 (1%)
["inplace", "axpy!"] 1.07 (5%) ❌ 1.00 (1%)

Benchmark Group List

Here's a list of all the benchmark groups executed by this job:

  • ["autompo"]
  • ["contract"]
  • ["dmrg"]
  • ["getsetindex"]
  • ["indexset", "constructor"]
  • ["indexset", "filter"]
  • ["indexset", "set_functions"]
  • ["indexset", "set_functions", "uniqueinds"]
  • ["inplace"]
  • ["op"]
  • ["tagset"]

Julia versioninfo

Target

Julia Version 1.8.4
Commit 00177ebc4fc (2022-12-23 21:32 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
      Ubuntu 22.04.1 LTS
  uname: Linux 5.15.0-1024-azure #30-Ubuntu SMP Wed Nov 16 23:37:59 UTC 2022 x86_64 x86_64
  CPU: Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz: 
              speed         user         nice          sys         idle          irq
       #1  2793 MHz       2691 s          0 s        713 s      21231 s          0 s
       #2  2793 MHz      20486 s          0 s        831 s       3372 s          0 s
  Memory: 6.781219482421875 GB (2463.609375 MB free)
  Uptime: 2474.06 sec
  Load Avg:  1.0  1.01  1.0
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, icelake-server)
  Threads: 1 on 2 virtual cores

Baseline

Julia Version 1.8.4
Commit 00177ebc4fc (2022-12-23 21:32 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
      Ubuntu 22.04.1 LTS
  uname: Linux 5.15.0-1024-azure #30-Ubuntu SMP Wed Nov 16 23:37:59 UTC 2022 x86_64 x86_64
  CPU: Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz: 
              speed         user         nice          sys         idle          irq
       #1  2793 MHz       7030 s          0 s        849 s      29631 s          0 s
       #2  2793 MHz      28240 s          2 s       1580 s       7767 s          0 s
  Memory: 6.781219482421875 GB (3503.56640625 MB free)
  Uptime: 3765.87 sec
  Load Avg:  1.0  1.0  1.0
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, icelake-server)
  Threads: 1 on 2 virtual cores

Target result

Benchmark Report for /home/runner/work/ITensors.jl/ITensors.jl

Job Properties

  • Time of benchmark: 6 Jan 2023 - 4:55
  • Package commit: 8afcfc
  • Julia commit: 00177e
  • Julia command flags: None
  • Environment variables: None

Results

Below is a table of this job's results, obtained by running the benchmarks.
The values listed in the ID column have the structure [parent_group, child_group, ..., key], and can be used to
index into the BaseBenchmarks suite to retrieve the corresponding benchmarks.
The percentages accompanying time and memory values in the below table are noise tolerances. The "true"
time/memory value for a given benchmark is expected to fall within this percentage of the reported value.
An empty cell means that the value was zero.

ID time GC time memory allocations
["autompo", "Quartic Hamiltonian"] 340.734 s (5%) 5.734 s 20.51 GiB (1%) 170312952
["autompo", "Quartic QN Hamiltonian"] 69.485 s (5%) 8.671 s 21.63 GiB (1%) 227267335
["contract", "heff_2site"] 6.718 ms (5%) 19.41 MiB (1%) 196
["contract", "matmul_100"] 36.802 μs (5%) 80.47 KiB (1%) 15
["contract", "matmul_20"] 2.156 μs (5%) 5.55 KiB (1%) 14
["contract", "matmul_40"] 4.000 μs (5%) 14.92 KiB (1%) 14
["contract", "matmul_60"] 10.901 μs (5%) 30.47 KiB (1%) 15
["contract", "matmul_80"] 16.601 μs (5%) 52.34 KiB (1%) 15
["contract", "matmul_inplace_100"] 33.701 μs (5%) 1.25 KiB (1%) 10
["contract", "matmul_inplace_20"] 1.170 μs (5%) 1.25 KiB (1%) 10
["contract", "matmul_inplace_40"] 2.922 μs (5%) 1.25 KiB (1%) 10
["contract", "matmul_inplace_60"] 9.500 μs (5%) 1.25 KiB (1%) 10
["contract", "matmul_inplace_80"] 14.900 μs (5%) 1.25 KiB (1%) 10
["dmrg", "1d_S=1_heisenberg"] 22.273 s (5%) 595.563 ms 38.86 GiB (1%) 1915625
["dmrg", "1d_S=1_heisenberg_qn"] 9.673 s (5%) 868.202 ms 9.79 GiB (1%) 55410414
["getsetindex", "getindex end"] 219.931 ns (5%) 800 bytes (1%) 5
["getsetindex", "getindex indval end"] 71.975 ns (5%) 384 bytes (1%) 3
["getsetindex", "getindex indval"] 73.651 ns (5%) 400 bytes (1%) 3
["getsetindex", "getindex"] 24.198 ns (5%) 16 bytes (1%) 1
["getsetindex", "setindex! end"] 325.825 ns (5%) 1.14 KiB (1%) 6
["getsetindex", "setindex! indval end"] 113.391 ns (5%) 736 bytes (1%) 3
["getsetindex", "setindex! indval"] 117.938 ns (5%) 752 bytes (1%) 3
["getsetindex", "setindex!"] 79.632 ns (5%) 368 bytes (1%) 1
["indexset", "constructor", "function"] 675.038 ns (5%) 2.20 KiB (1%) 11
["indexset", "constructor", "function, tuple"] 453.832 ns (5%) 2.09 KiB (1%) 7
["indexset", "filter", "function"] 237.000 ns (5%) 1.77 KiB (1%) 1
["indexset", "filter", "function, tuple"] 65.050 ns (5%) 368 bytes (1%) 1
["indexset", "filter", "kwargs"] 198.845 ns (5%) 1.77 KiB (1%) 1
["indexset", "set_functions", "commoninds, ITensor"] 505.207 ns (5%) 2.84 KiB (1%) 5
["indexset", "set_functions", "noncommoninds, ITensor"] 548.695 ns (5%) 2.84 KiB (1%) 5
["indexset", "set_functions", "prime, ITensor"] 157.667 ns (5%) 1.08 KiB (1%) 3
["indexset", "set_functions", "unioninds, ITensor"] 670.847 ns (5%) 4.23 KiB (1%) 6
["indexset", "set_functions", "uniqueinds", "3_inputs"] 581.494 ns (5%) 3.48 KiB (1%) 9
["indexset", "set_functions", "uniqueinds", "filter_not_tags"] 350.962 ns (5%) 1.23 KiB (1%) 4
["indexset", "set_functions", "uniqueinds", "filter_tags"] 220.344 ns (5%) 976 bytes (1%) 2
["indexset", "set_functions", "uniqueinds", "nofilter0"] 157.549 ns (5%) 464 bytes (1%) 2
["indexset", "set_functions", "uniqueinds", "nofilter2"] 181.593 ns (5%) 976 bytes (1%) 2
["indexset", "set_functions", "uniqueinds, ITensor"] 709.969 ns (5%) 2.92 KiB (1%) 7
["inplace", "axpy!"] 18.701 μs (5%) 79.42 KiB (1%) 16
["op", "op QN"] 7.500 μs (5%) 11.63 KiB (1%) 96
["op", "op"] 4.000 μs (5%) 5.52 KiB (1%) 43
["tagset", "tagset"] 225.448 ns (5%) 144 bytes (1%) 1
["tagset", "tagset_long"] 289.981 ns (5%) 144 bytes (1%) 1
["tagset", "tagset_unicode"] 326.407 ns (5%) 144 bytes (1%) 1

Benchmark Group List

Here's a list of all the benchmark groups executed by this job:

  • ["autompo"]
  • ["contract"]
  • ["dmrg"]
  • ["getsetindex"]
  • ["indexset", "constructor"]
  • ["indexset", "filter"]
  • ["indexset", "set_functions"]
  • ["indexset", "set_functions", "uniqueinds"]
  • ["inplace"]
  • ["op"]
  • ["tagset"]

Julia versioninfo

Julia Version 1.8.4
Commit 00177ebc4fc (2022-12-23 21:32 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
      Ubuntu 22.04.1 LTS
  uname: Linux 5.15.0-1024-azure #30-Ubuntu SMP Wed Nov 16 23:37:59 UTC 2022 x86_64 x86_64
  CPU: Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz: 
              speed         user         nice          sys         idle          irq
       #1  2793 MHz       2691 s          0 s        713 s      21231 s          0 s
       #2  2793 MHz      20486 s          0 s        831 s       3372 s          0 s
  Memory: 6.781219482421875 GB (2463.609375 MB free)
  Uptime: 2474.06 sec
  Load Avg:  1.0  1.01  1.0
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, icelake-server)
  Threads: 1 on 2 virtual cores

Baseline result

Benchmark Report for /home/runner/work/ITensors.jl/ITensors.jl

Job Properties

  • Time of benchmark: 6 Jan 2023 - 5:17
  • Package commit: e3e8f5
  • Julia commit: 00177e
  • Julia command flags: None
  • Environment variables: None

Results

Below is a table of this job's results, obtained by running the benchmarks.
The values listed in the ID column have the structure [parent_group, child_group, ..., key], and can be used to
index into the BaseBenchmarks suite to retrieve the corresponding benchmarks.
The percentages accompanying time and memory values in the below table are noise tolerances. The "true"
time/memory value for a given benchmark is expected to fall within this percentage of the reported value.
An empty cell means that the value was zero.

ID time GC time memory allocations
["autompo", "Quartic Hamiltonian"] 356.305 s (5%) 6.514 s 20.51 GiB (1%) 170312965
["autompo", "Quartic QN Hamiltonian"] 70.785 s (5%) 9.099 s 21.63 GiB (1%) 227267337
["contract", "heff_2site"] 6.929 ms (5%) 19.41 MiB (1%) 196
["contract", "matmul_100"] 37.302 μs (5%) 80.47 KiB (1%) 15
["contract", "matmul_20"] 2.156 μs (5%) 5.55 KiB (1%) 14
["contract", "matmul_40"] 4.000 μs (5%) 14.92 KiB (1%) 14
["contract", "matmul_60"] 10.901 μs (5%) 30.47 KiB (1%) 15
["contract", "matmul_80"] 17.101 μs (5%) 52.34 KiB (1%) 15
["contract", "matmul_inplace_100"] 33.701 μs (5%) 1.25 KiB (1%) 10
["contract", "matmul_inplace_20"] 1.160 μs (5%) 1.25 KiB (1%) 10
["contract", "matmul_inplace_40"] 2.856 μs (5%) 1.25 KiB (1%) 10
["contract", "matmul_inplace_60"] 9.500 μs (5%) 1.25 KiB (1%) 10
["contract", "matmul_inplace_80"] 14.900 μs (5%) 1.25 KiB (1%) 10
["dmrg", "1d_S=1_heisenberg"] 22.801 s (5%) 711.200 ms 38.86 GiB (1%) 1915625
["dmrg", "1d_S=1_heisenberg_qn"] 9.578 s (5%) 766.090 ms 9.79 GiB (1%) 55410468
["getsetindex", "getindex end"] 235.583 ns (5%) 800 bytes (1%) 5
["getsetindex", "getindex indval end"] 67.869 ns (5%) 384 bytes (1%) 3
["getsetindex", "getindex indval"] 74.468 ns (5%) 400 bytes (1%) 3
["getsetindex", "getindex"] 23.595 ns (5%) 16 bytes (1%) 1
["getsetindex", "setindex! end"] 313.382 ns (5%) 1.14 KiB (1%) 6
["getsetindex", "setindex! indval end"] 111.432 ns (5%) 736 bytes (1%) 3
["getsetindex", "setindex! indval"] 114.198 ns (5%) 752 bytes (1%) 3
["getsetindex", "setindex!"] 83.149 ns (5%) 368 bytes (1%) 1
["indexset", "constructor", "function"] 838.800 ns (5%) 2.20 KiB (1%) 11
["indexset", "constructor", "function, tuple"] 475.157 ns (5%) 2.09 KiB (1%) 7
["indexset", "filter", "function"] 242.708 ns (5%) 1.77 KiB (1%) 1
["indexset", "filter", "function, tuple"] 62.414 ns (5%) 368 bytes (1%) 1
["indexset", "filter", "kwargs"] 195.845 ns (5%) 1.77 KiB (1%) 1
["indexset", "set_functions", "commoninds, ITensor"] 472.565 ns (5%) 2.84 KiB (1%) 5
["indexset", "set_functions", "noncommoninds, ITensor"] 523.561 ns (5%) 2.84 KiB (1%) 5
["indexset", "set_functions", "prime, ITensor"] 169.126 ns (5%) 1.08 KiB (1%) 3
["indexset", "set_functions", "unioninds, ITensor"] 649.672 ns (5%) 4.23 KiB (1%) 6
["indexset", "set_functions", "uniqueinds", "3_inputs"] 583.742 ns (5%) 3.48 KiB (1%) 9
["indexset", "set_functions", "uniqueinds", "filter_not_tags"] 334.453 ns (5%) 1.23 KiB (1%) 4
["indexset", "set_functions", "uniqueinds", "filter_tags"] 213.913 ns (5%) 976 bytes (1%) 2
["indexset", "set_functions", "uniqueinds", "nofilter0"] 146.088 ns (5%) 464 bytes (1%) 2
["indexset", "set_functions", "uniqueinds", "nofilter2"] 167.348 ns (5%) 976 bytes (1%) 2
["indexset", "set_functions", "uniqueinds, ITensor"] 706.145 ns (5%) 2.92 KiB (1%) 7
["inplace", "axpy!"] 17.401 μs (5%) 79.42 KiB (1%) 16
["op", "op QN"] 7.651 μs (5%) 11.63 KiB (1%) 96
["op", "op"] 4.072 μs (5%) 5.52 KiB (1%) 43
["tagset", "tagset"] 226.317 ns (5%) 144 bytes (1%) 1
["tagset", "tagset_long"] 291.840 ns (5%) 144 bytes (1%) 1
["tagset", "tagset_unicode"] 329.648 ns (5%) 144 bytes (1%) 1

Benchmark Group List

Here's a list of all the benchmark groups executed by this job:

  • ["autompo"]
  • ["contract"]
  • ["dmrg"]
  • ["getsetindex"]
  • ["indexset", "constructor"]
  • ["indexset", "filter"]
  • ["indexset", "set_functions"]
  • ["indexset", "set_functions", "uniqueinds"]
  • ["inplace"]
  • ["op"]
  • ["tagset"]

Julia versioninfo

Julia Version 1.8.4
Commit 00177ebc4fc (2022-12-23 21:32 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
      Ubuntu 22.04.1 LTS
  uname: Linux 5.15.0-1024-azure #30-Ubuntu SMP Wed Nov 16 23:37:59 UTC 2022 x86_64 x86_64
  CPU: Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz: 
              speed         user         nice          sys         idle          irq
       #1  2793 MHz       7030 s          0 s        849 s      29631 s          0 s
       #2  2793 MHz      28240 s          2 s       1580 s       7767 s          0 s
  Memory: 6.781219482421875 GB (3503.56640625 MB free)
  Uptime: 3765.87 sec
  Load Avg:  1.0  1.0  1.0
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, icelake-server)
  Threads: 1 on 2 virtual cores

Runtime information

Runtime Info
BLAS #threads 1
BLAS.vendor() openblas64
Sys.CPU_THREADS 2

lscpu output:

Architecture:                    x86_64
CPU op-mode(s):                  32-bit, 64-bit
Address sizes:                   46 bits physical, 48 bits virtual
Byte Order:                      Little Endian
CPU(s):                          2
On-line CPU(s) list:             0,1
Vendor ID:                       GenuineIntel
Model name:                      Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz
CPU family:                      6
Model:                           106
Thread(s) per core:              1
Core(s) per socket:              2
Socket(s):                       1
Stepping:                        6
BogoMIPS:                        5587.25
Flags:                           fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology cpuid pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti fsgsbase bmi1 hle avx2 smep bmi2 erms invpcid rtm avx512f avx512dq rdseed adx smap clflushopt avx512cd avx512bw avx512vl xsaveopt xsavec xsaves md_clear
Hypervisor vendor:               Microsoft
Virtualization type:             full
L1d cache:                       96 KiB (2 instances)
L1i cache:                       64 KiB (2 instances)
L2 cache:                        2.5 MiB (2 instances)
L3 cache:                        48 MiB (1 instance)
NUMA node(s):                    1
NUMA node0 CPU(s):               0,1
Vulnerability Itlb multihit:     KVM: Mitigation: VMX unsupported
Vulnerability L1tf:              Mitigation; PTE Inversion
Vulnerability Mds:               Mitigation; Clear CPU buffers; SMT Host state unknown
Vulnerability Meltdown:          Mitigation; PTI
Vulnerability Mmio stale data:   Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown
Vulnerability Retbleed:          Not affected
Vulnerability Spec store bypass: Vulnerable
Vulnerability Spectre v1:        Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:        Mitigation; Retpolines, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected
Vulnerability Srbds:             Not affected
Vulnerability Tsx async abort:   Mitigation; Clear CPU buffers; SMT Host state unknown
Cpu Property Value
Brand Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz
Vendor :Intel
Architecture :UnknownIntel
Model Family: 0x06, Model: 0x6a, Stepping: 0x06, Type: 0x00
Cores 2 physical cores, 2 logical cores (on executing CPU)
No Hyperthreading hardware capability detected
Clock Frequencies Not supported by CPU
Data Cache Level 1:3 : (48, 1280, 49152) kbytes
64 byte cache line size
Address Size 48 bits virtual, 46 bits physical
SIMD 512 bit = 64 byte max. SIMD vector size
Time Stamp Counter TSC is accessible via rdtsc
TSC increased at every clock cycle (non-invariant TSC)
Perf. Monitoring Performance Monitoring Counters (PMC) are not supported
Hypervisor Yes, Microsoft

@github-actions
Copy link
Contributor

github-actions bot commented Jan 6, 2023

Benchmark result

Judge result

Benchmark Report for /home/runner/work/ITensors.jl/ITensors.jl

Job Properties

  • Time of benchmarks:
    • Target: 6 Jan 2023 - 18:38
    • Baseline: 6 Jan 2023 - 19:00
  • Package commits:
    • Target: bdd939
    • Baseline: e3e8f5
  • Julia commits:
    • Target: 00177e
    • Baseline: 00177e
  • Julia command flags:
    • Target: None
    • Baseline: None
  • Environment variables:
    • Target: None
    • Baseline: None

Results

A ratio greater than 1.0 denotes a possible regression (marked with ❌), while a ratio less
than 1.0 denotes a possible improvement (marked with ✅). Only significant results - results
that indicate possible regressions or improvements - are shown below (thus, an empty table means that all
benchmark results remained invariant between builds).

ID time ratio memory ratio
["contract", "heff_2site"] 0.94 (5%) ✅ 1.00 (1%)
["getsetindex", "getindex indval end"] 1.14 (5%) ❌ 1.00 (1%)
["getsetindex", "getindex indval"] 1.12 (5%) ❌ 1.00 (1%)
["getsetindex", "setindex! end"] 0.93 (5%) ✅ 1.00 (1%)
["getsetindex", "setindex! indval end"] 1.05 (5%) ❌ 1.00 (1%)
["getsetindex", "setindex! indval"] 1.05 (5%) ❌ 1.00 (1%)
["indexset", "constructor", "function"] 0.84 (5%) ✅ 1.00 (1%)
["indexset", "constructor", "function, tuple"] 0.87 (5%) ✅ 1.00 (1%)
["indexset", "set_functions", "uniqueinds", "nofilter2"] 1.05 (5%) ❌ 1.00 (1%)
["inplace", "axpy!"] 0.89 (5%) ✅ 1.00 (1%)

Benchmark Group List

Here's a list of all the benchmark groups executed by this job:

  • ["autompo"]
  • ["contract"]
  • ["dmrg"]
  • ["getsetindex"]
  • ["indexset", "constructor"]
  • ["indexset", "filter"]
  • ["indexset", "set_functions"]
  • ["indexset", "set_functions", "uniqueinds"]
  • ["inplace"]
  • ["op"]
  • ["tagset"]

Julia versioninfo

Target

Julia Version 1.8.4
Commit 00177ebc4fc (2022-12-23 21:32 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
      Ubuntu 22.04.1 LTS
  uname: Linux 5.15.0-1024-azure #30-Ubuntu SMP Wed Nov 16 23:37:59 UTC 2022 x86_64 x86_64
  CPU: Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz: 
              speed         user         nice          sys         idle          irq
       #1  2793 MHz       3444 s          0 s        713 s      23637 s          0 s
       #2  2793 MHz      20509 s          0 s        852 s       6466 s          0 s
  Memory: 6.781219482421875 GB (2336.03515625 MB free)
  Uptime: 2789.79 sec
  Load Avg:  1.0  1.0  1.0
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, icelake-server)
  Threads: 1 on 2 virtual cores

Baseline

Julia Version 1.8.4
Commit 00177ebc4fc (2022-12-23 21:32 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
      Ubuntu 22.04.1 LTS
  uname: Linux 5.15.0-1024-azure #30-Ubuntu SMP Wed Nov 16 23:37:59 UTC 2022 x86_64 x86_64
  CPU: Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz: 
              speed         user         nice          sys         idle          irq
       #1  2793 MHz       3549 s          0 s        759 s      36659 s          0 s
       #2  2793 MHz      32800 s          0 s       1700 s       6546 s          0 s
  Memory: 6.781219482421875 GB (3490.55859375 MB free)
  Uptime: 4112.3 sec
  Load Avg:  1.07  1.03  1.01
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, icelake-server)
  Threads: 1 on 2 virtual cores

Target result

Benchmark Report for /home/runner/work/ITensors.jl/ITensors.jl

Job Properties

  • Time of benchmark: 6 Jan 2023 - 18:38
  • Package commit: bdd939
  • Julia commit: 00177e
  • Julia command flags: None
  • Environment variables: None

Results

Below is a table of this job's results, obtained by running the benchmarks.
The values listed in the ID column have the structure [parent_group, child_group, ..., key], and can be used to
index into the BaseBenchmarks suite to retrieve the corresponding benchmarks.
The percentages accompanying time and memory values in the below table are noise tolerances. The "true"
time/memory value for a given benchmark is expected to fall within this percentage of the reported value.
An empty cell means that the value was zero.

ID time GC time memory allocations
["autompo", "Quartic Hamiltonian"] 360.088 s (5%) 5.844 s 20.51 GiB (1%) 170312952
["autompo", "Quartic QN Hamiltonian"] 70.058 s (5%) 8.803 s 21.63 GiB (1%) 227267917
["contract", "heff_2site"] 6.821 ms (5%) 19.41 MiB (1%) 196
["contract", "matmul_100"] 36.900 μs (5%) 80.47 KiB (1%) 15
["contract", "matmul_20"] 2.167 μs (5%) 5.55 KiB (1%) 14
["contract", "matmul_40"] 4.000 μs (5%) 14.92 KiB (1%) 14
["contract", "matmul_60"] 10.900 μs (5%) 30.47 KiB (1%) 15
["contract", "matmul_80"] 16.500 μs (5%) 52.34 KiB (1%) 15
["contract", "matmul_inplace_100"] 33.700 μs (5%) 1.25 KiB (1%) 10
["contract", "matmul_inplace_20"] 1.160 μs (5%) 1.25 KiB (1%) 10
["contract", "matmul_inplace_40"] 2.889 μs (5%) 1.25 KiB (1%) 10
["contract", "matmul_inplace_60"] 9.500 μs (5%) 1.25 KiB (1%) 10
["contract", "matmul_inplace_80"] 14.900 μs (5%) 1.25 KiB (1%) 10
["dmrg", "1d_S=1_heisenberg"] 22.341 s (5%) 587.516 ms 38.86 GiB (1%) 1915625
["dmrg", "1d_S=1_heisenberg_qn"] 9.651 s (5%) 801.966 ms 9.79 GiB (1%) 55410476
["getsetindex", "getindex end"] 231.966 ns (5%) 800 bytes (1%) 5
["getsetindex", "getindex indval end"] 76.735 ns (5%) 384 bytes (1%) 3
["getsetindex", "getindex indval"] 82.052 ns (5%) 400 bytes (1%) 3
["getsetindex", "getindex"] 23.370 ns (5%) 16 bytes (1%) 1
["getsetindex", "setindex! end"] 315.419 ns (5%) 1.14 KiB (1%) 6
["getsetindex", "setindex! indval end"] 117.189 ns (5%) 736 bytes (1%) 3
["getsetindex", "setindex! indval"] 120.129 ns (5%) 752 bytes (1%) 3
["getsetindex", "setindex!"] 79.670 ns (5%) 368 bytes (1%) 1
["indexset", "constructor", "function"] 660.265 ns (5%) 2.20 KiB (1%) 11
["indexset", "constructor", "function, tuple"] 435.719 ns (5%) 2.09 KiB (1%) 7
["indexset", "filter", "function"] 235.464 ns (5%) 1.77 KiB (1%) 1
["indexset", "filter", "function, tuple"] 63.526 ns (5%) 368 bytes (1%) 1
["indexset", "filter", "kwargs"] 201.502 ns (5%) 1.77 KiB (1%) 1
["indexset", "set_functions", "commoninds, ITensor"] 491.146 ns (5%) 2.84 KiB (1%) 5
["indexset", "set_functions", "noncommoninds, ITensor"] 536.757 ns (5%) 2.84 KiB (1%) 5
["indexset", "set_functions", "prime, ITensor"] 169.939 ns (5%) 1.08 KiB (1%) 3
["indexset", "set_functions", "unioninds, ITensor"] 654.140 ns (5%) 4.23 KiB (1%) 6
["indexset", "set_functions", "uniqueinds", "3_inputs"] 578.652 ns (5%) 3.48 KiB (1%) 9
["indexset", "set_functions", "uniqueinds", "filter_not_tags"] 336.410 ns (5%) 1.23 KiB (1%) 4
["indexset", "set_functions", "uniqueinds", "filter_tags"] 221.557 ns (5%) 976 bytes (1%) 2
["indexset", "set_functions", "uniqueinds", "nofilter0"] 148.493 ns (5%) 464 bytes (1%) 2
["indexset", "set_functions", "uniqueinds", "nofilter2"] 176.587 ns (5%) 976 bytes (1%) 2
["indexset", "set_functions", "uniqueinds, ITensor"] 697.015 ns (5%) 2.92 KiB (1%) 7
["inplace", "axpy!"] 17.100 μs (5%) 79.42 KiB (1%) 16
["op", "op QN"] 7.275 μs (5%) 11.63 KiB (1%) 96
["op", "op"] 4.086 μs (5%) 5.52 KiB (1%) 43
["tagset", "tagset"] 224.736 ns (5%) 144 bytes (1%) 1
["tagset", "tagset_long"] 290.625 ns (5%) 144 bytes (1%) 1
["tagset", "tagset_unicode"] 329.358 ns (5%) 144 bytes (1%) 1

Benchmark Group List

Here's a list of all the benchmark groups executed by this job:

  • ["autompo"]
  • ["contract"]
  • ["dmrg"]
  • ["getsetindex"]
  • ["indexset", "constructor"]
  • ["indexset", "filter"]
  • ["indexset", "set_functions"]
  • ["indexset", "set_functions", "uniqueinds"]
  • ["inplace"]
  • ["op"]
  • ["tagset"]

Julia versioninfo

Julia Version 1.8.4
Commit 00177ebc4fc (2022-12-23 21:32 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
      Ubuntu 22.04.1 LTS
  uname: Linux 5.15.0-1024-azure #30-Ubuntu SMP Wed Nov 16 23:37:59 UTC 2022 x86_64 x86_64
  CPU: Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz: 
              speed         user         nice          sys         idle          irq
       #1  2793 MHz       3444 s          0 s        713 s      23637 s          0 s
       #2  2793 MHz      20509 s          0 s        852 s       6466 s          0 s
  Memory: 6.781219482421875 GB (2336.03515625 MB free)
  Uptime: 2789.79 sec
  Load Avg:  1.0  1.0  1.0
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, icelake-server)
  Threads: 1 on 2 virtual cores

Baseline result

Benchmark Report for /home/runner/work/ITensors.jl/ITensors.jl

Job Properties

  • Time of benchmark: 6 Jan 2023 - 19:0
  • Package commit: e3e8f5
  • Julia commit: 00177e
  • Julia command flags: None
  • Environment variables: None

Results

Below is a table of this job's results, obtained by running the benchmarks.
The values listed in the ID column have the structure [parent_group, child_group, ..., key], and can be used to
index into the BaseBenchmarks suite to retrieve the corresponding benchmarks.
The percentages accompanying time and memory values in the below table are noise tolerances. The "true"
time/memory value for a given benchmark is expected to fall within this percentage of the reported value.
An empty cell means that the value was zero.

ID time GC time memory allocations
["autompo", "Quartic Hamiltonian"] 366.061 s (5%) 6.228 s 20.51 GiB (1%) 170312965
["autompo", "Quartic QN Hamiltonian"] 71.171 s (5%) 9.016 s 21.63 GiB (1%) 227267333
["contract", "heff_2site"] 7.250 ms (5%) 19.41 MiB (1%) 196
["contract", "matmul_100"] 37.300 μs (5%) 80.47 KiB (1%) 15
["contract", "matmul_20"] 2.222 μs (5%) 5.55 KiB (1%) 14
["contract", "matmul_40"] 4.100 μs (5%) 14.92 KiB (1%) 14
["contract", "matmul_60"] 11.000 μs (5%) 30.47 KiB (1%) 15
["contract", "matmul_80"] 17.300 μs (5%) 52.34 KiB (1%) 15
["contract", "matmul_inplace_100"] 33.700 μs (5%) 1.25 KiB (1%) 10
["contract", "matmul_inplace_20"] 1.150 μs (5%) 1.25 KiB (1%) 10
["contract", "matmul_inplace_40"] 2.900 μs (5%) 1.25 KiB (1%) 10
["contract", "matmul_inplace_60"] 9.400 μs (5%) 1.25 KiB (1%) 10
["contract", "matmul_inplace_80"] 15.000 μs (5%) 1.25 KiB (1%) 10
["dmrg", "1d_S=1_heisenberg"] 22.934 s (5%) 699.760 ms 38.86 GiB (1%) 1915625
["dmrg", "1d_S=1_heisenberg_qn"] 9.792 s (5%) 792.305 ms 9.79 GiB (1%) 55410454
["getsetindex", "getindex end"] 221.689 ns (5%) 800 bytes (1%) 5
["getsetindex", "getindex indval end"] 67.551 ns (5%) 384 bytes (1%) 3
["getsetindex", "getindex indval"] 73.128 ns (5%) 400 bytes (1%) 3
["getsetindex", "getindex"] 22.568 ns (5%) 16 bytes (1%) 1
["getsetindex", "setindex! end"] 340.529 ns (5%) 1.14 KiB (1%) 6
["getsetindex", "setindex! indval end"] 111.351 ns (5%) 736 bytes (1%) 3
["getsetindex", "setindex! indval"] 114.101 ns (5%) 752 bytes (1%) 3
["getsetindex", "setindex!"] 81.837 ns (5%) 368 bytes (1%) 1
["indexset", "constructor", "function"] 787.417 ns (5%) 2.20 KiB (1%) 11
["indexset", "constructor", "function, tuple"] 500.000 ns (5%) 2.09 KiB (1%) 7
["indexset", "filter", "function"] 236.134 ns (5%) 1.77 KiB (1%) 1
["indexset", "filter", "function, tuple"] 64.336 ns (5%) 368 bytes (1%) 1
["indexset", "filter", "kwargs"] 198.668 ns (5%) 1.77 KiB (1%) 1
["indexset", "set_functions", "commoninds, ITensor"] 485.938 ns (5%) 2.84 KiB (1%) 5
["indexset", "set_functions", "noncommoninds, ITensor"] 522.162 ns (5%) 2.84 KiB (1%) 5
["indexset", "set_functions", "prime, ITensor"] 162.333 ns (5%) 1.08 KiB (1%) 3
["indexset", "set_functions", "unioninds, ITensor"] 650.318 ns (5%) 4.23 KiB (1%) 6
["indexset", "set_functions", "uniqueinds", "3_inputs"] 603.371 ns (5%) 3.48 KiB (1%) 9
["indexset", "set_functions", "uniqueinds", "filter_not_tags"] 331.797 ns (5%) 1.23 KiB (1%) 4
["indexset", "set_functions", "uniqueinds", "filter_tags"] 216.766 ns (5%) 976 bytes (1%) 2
["indexset", "set_functions", "uniqueinds", "nofilter0"] 142.824 ns (5%) 464 bytes (1%) 2
["indexset", "set_functions", "uniqueinds", "nofilter2"] 167.702 ns (5%) 976 bytes (1%) 2
["indexset", "set_functions", "uniqueinds, ITensor"] 714.179 ns (5%) 2.92 KiB (1%) 7
["inplace", "axpy!"] 19.200 μs (5%) 79.42 KiB (1%) 16
["op", "op QN"] 7.325 μs (5%) 11.63 KiB (1%) 96
["op", "op"] 4.000 μs (5%) 5.52 KiB (1%) 43
["tagset", "tagset"] 228.964 ns (5%) 144 bytes (1%) 1
["tagset", "tagset_long"] 293.304 ns (5%) 144 bytes (1%) 1
["tagset", "tagset_unicode"] 334.404 ns (5%) 144 bytes (1%) 1

Benchmark Group List

Here's a list of all the benchmark groups executed by this job:

  • ["autompo"]
  • ["contract"]
  • ["dmrg"]
  • ["getsetindex"]
  • ["indexset", "constructor"]
  • ["indexset", "filter"]
  • ["indexset", "set_functions"]
  • ["indexset", "set_functions", "uniqueinds"]
  • ["inplace"]
  • ["op"]
  • ["tagset"]

Julia versioninfo

Julia Version 1.8.4
Commit 00177ebc4fc (2022-12-23 21:32 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
      Ubuntu 22.04.1 LTS
  uname: Linux 5.15.0-1024-azure #30-Ubuntu SMP Wed Nov 16 23:37:59 UTC 2022 x86_64 x86_64
  CPU: Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz: 
              speed         user         nice          sys         idle          irq
       #1  2793 MHz       3549 s          0 s        759 s      36659 s          0 s
       #2  2793 MHz      32800 s          0 s       1700 s       6546 s          0 s
  Memory: 6.781219482421875 GB (3490.55859375 MB free)
  Uptime: 4112.3 sec
  Load Avg:  1.07  1.03  1.01
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, icelake-server)
  Threads: 1 on 2 virtual cores

Runtime information

Runtime Info
BLAS #threads 1
BLAS.vendor() openblas64
Sys.CPU_THREADS 2

lscpu output:

Architecture:                    x86_64
CPU op-mode(s):                  32-bit, 64-bit
Address sizes:                   46 bits physical, 48 bits virtual
Byte Order:                      Little Endian
CPU(s):                          2
On-line CPU(s) list:             0,1
Vendor ID:                       GenuineIntel
Model name:                      Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz
CPU family:                      6
Model:                           106
Thread(s) per core:              1
Core(s) per socket:              2
Socket(s):                       1
Stepping:                        6
BogoMIPS:                        5586.87
Flags:                           fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology cpuid pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti fsgsbase bmi1 hle avx2 smep bmi2 erms invpcid rtm avx512f avx512dq rdseed adx smap clflushopt avx512cd avx512bw avx512vl xsaveopt xsavec xsaves md_clear
Hypervisor vendor:               Microsoft
Virtualization type:             full
L1d cache:                       96 KiB (2 instances)
L1i cache:                       64 KiB (2 instances)
L2 cache:                        2.5 MiB (2 instances)
L3 cache:                        48 MiB (1 instance)
NUMA node(s):                    1
NUMA node0 CPU(s):               0,1
Vulnerability Itlb multihit:     KVM: Mitigation: VMX unsupported
Vulnerability L1tf:              Mitigation; PTE Inversion
Vulnerability Mds:               Mitigation; Clear CPU buffers; SMT Host state unknown
Vulnerability Meltdown:          Mitigation; PTI
Vulnerability Mmio stale data:   Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown
Vulnerability Retbleed:          Not affected
Vulnerability Spec store bypass: Vulnerable
Vulnerability Spectre v1:        Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:        Mitigation; Retpolines, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected
Vulnerability Srbds:             Not affected
Vulnerability Tsx async abort:   Mitigation; Clear CPU buffers; SMT Host state unknown
Cpu Property Value
Brand Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz
Vendor :Intel
Architecture :UnknownIntel
Model Family: 0x06, Model: 0x6a, Stepping: 0x06, Type: 0x00
Cores 2 physical cores, 2 logical cores (on executing CPU)
No Hyperthreading hardware capability detected
Clock Frequencies Not supported by CPU
Data Cache Level 1:3 : (48, 1280, 49152) kbytes
64 byte cache line size
Address Size 48 bits virtual, 46 bits physical
SIMD 512 bit = 64 byte max. SIMD vector size
Time Stamp Counter TSC is accessible via rdtsc
TSC increased at every clock cycle (non-invariant TSC)
Perf. Monitoring Performance Monitoring Counters (PMC) are not supported
Hypervisor Yes, Microsoft

@mtfishman mtfishman merged commit 2f7c173 into main Jan 6, 2023
@mtfishman mtfishman deleted the generalize_itensor_constructor branch January 6, 2023 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant