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

direct usage of StatefulLuxLayer #413

Merged
merged 2 commits into from
May 6, 2024
Merged

direct usage of StatefulLuxLayer #413

merged 2 commits into from
May 6, 2024

Conversation

prbzrg
Copy link
Member

@prbzrg prbzrg commented May 6, 2024

No description provided.

Copy link

codecov bot commented May 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.45%. Comparing base (d6199f8) to head (a9abeb0).

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #413       +/-   ##
===========================================
+ Coverage   62.55%   85.45%   +22.90%     
===========================================
  Files          15       15               
  Lines         657      674       +17     
===========================================
+ Hits          411      576      +165     
+ Misses        246       98      -148     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@prbzrg prbzrg merged commit 0e989bb into main May 6, 2024
14 of 15 checks passed
@prbzrg prbzrg deleted the dicrect-statful branch May 6, 2024 21:47
Copy link
Contributor

github-actions bot commented May 7, 2024

Benchmark result

Judge result

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

Job Properties

  • Time of benchmarks:
    • Target: 6 May 2024 - 23:09
    • Baseline: 7 May 2024 - 01:38
  • Package commits:
    • Target: 3838f9
    • Baseline: d6199f
  • Julia commits:
    • Target: 0b4590
    • Baseline: 0b4590
  • 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
["main", "inplace", "AD-1-order", "test"] 1.06 (5%) ❌ 1.05 (1%) ❌
["main", "inplace", "AD-1-order", "train"] 0.95 (5%) 0.92 (1%) ✅
["main", "inplace", "direct", "test"] 1.05 (5%) 1.05 (1%) ❌
["main", "inplace", "direct", "train"] 0.96 (5%) 0.90 (1%) ✅
["main", "no_inplace", "AD-1-order", "test"] 1.04 (5%) 1.01 (1%) ❌
["main", "no_inplace", "AD-1-order", "train"] 0.87 (5%) ✅ 0.95 (1%) ✅
["main", "no_inplace", "direct", "test"] 1.06 (5%) ❌ 1.04 (1%) ❌
["main", "no_inplace", "direct", "train"] 0.98 (5%) 0.96 (1%) ✅

Benchmark Group List

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

  • ["main", "inplace", "AD-1-order"]
  • ["main", "inplace", "direct"]
  • ["main", "no_inplace", "AD-1-order"]
  • ["main", "no_inplace", "direct"]

Julia versioninfo

Target

Julia Version 1.10.3
Commit 0b4590a5507 (2024-04-30 10:59 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
      Ubuntu 22.04.4 LTS
  uname: Linux 6.5.0-1018-azure #19~22.04.2-Ubuntu SMP Thu Mar 21 16:45:46 UTC 2024 x86_64 x86_64
  CPU: AMD EPYC 7763 64-Core Processor: 
              speed         user         nice          sys         idle          irq
       #1  3253 MHz      28563 s          0 s       1681 s      69019 s          0 s
       #2  3243 MHz      29579 s          0 s       1871 s      67819 s          0 s
       #3  2445 MHz      28221 s          0 s       1646 s      69411 s          0 s
       #4  3021 MHz      21226 s          0 s       1783 s      76248 s          0 s
  Memory: 15.606494903564453 GB (11627.1171875 MB free)
  Uptime: 9950.48 sec
  Load Avg:  1.01  1.02  1.0
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, znver3)
Threads: 1 default, 0 interactive, 1 GC (on 4 virtual cores)

Baseline

Julia Version 1.10.3
Commit 0b4590a5507 (2024-04-30 10:59 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
      Ubuntu 22.04.4 LTS
  uname: Linux 6.5.0-1018-azure #19~22.04.2-Ubuntu SMP Thu Mar 21 16:45:46 UTC 2024 x86_64 x86_64
  CPU: AMD EPYC 7763 64-Core Processor: 
              speed         user         nice          sys         idle          irq
       #1  2445 MHz      50970 s          0 s       3026 s     134374 s          0 s
       #2  3189 MHz      54947 s          0 s       3306 s     130146 s          0 s
       #3  3278 MHz      49948 s          0 s       3027 s     135424 s          0 s
       #4  3243 MHz      38899 s          0 s       3080 s     146382 s          0 s
  Memory: 15.606494903564453 GB (11877.40234375 MB free)
  Uptime: 18880.89 sec
  Load Avg:  1.24  1.09  1.02
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, znver3)
Threads: 1 default, 0 interactive, 1 GC (on 4 virtual cores)

Target result

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

Job Properties

  • Time of benchmark: 6 May 2024 - 23:9
  • Package commit: 3838f9
  • Julia commit: 0b4590
  • 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
["main", "inplace", "AD-1-order", "test"] 236.052 s (5%) 10.020 s 290.47 GiB (1%) 735441658
["main", "inplace", "AD-1-order", "train"] 35.797 s (5%) 1.200 s 34.49 GiB (1%) 123098390
["main", "inplace", "direct", "test"] 40.086 ms (5%) 56.39 MiB (1%) 138729
["main", "inplace", "direct", "train"] 5.755 ms (5%) 6.10 MiB (1%) 20935
["main", "no_inplace", "AD-1-order", "test"] 928.321 s (5%) 54.110 s 3324.15 GiB (1%) 2233885241
["main", "no_inplace", "AD-1-order", "train"] 424.228 s (5%) 42.016 s 3245.49 GiB (1%) 373883722
["main", "no_inplace", "direct", "test"] 41.654 ms (5%) 63.70 MiB (1%) 141483
["main", "no_inplace", "direct", "train"] 7.158 ms (5%) 14.23 MiB (1%) 23383

Benchmark Group List

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

  • ["main", "inplace", "AD-1-order"]
  • ["main", "inplace", "direct"]
  • ["main", "no_inplace", "AD-1-order"]
  • ["main", "no_inplace", "direct"]

Julia versioninfo

Julia Version 1.10.3
Commit 0b4590a5507 (2024-04-30 10:59 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
      Ubuntu 22.04.4 LTS
  uname: Linux 6.5.0-1018-azure #19~22.04.2-Ubuntu SMP Thu Mar 21 16:45:46 UTC 2024 x86_64 x86_64
  CPU: AMD EPYC 7763 64-Core Processor: 
              speed         user         nice          sys         idle          irq
       #1  3253 MHz      28563 s          0 s       1681 s      69019 s          0 s
       #2  3243 MHz      29579 s          0 s       1871 s      67819 s          0 s
       #3  2445 MHz      28221 s          0 s       1646 s      69411 s          0 s
       #4  3021 MHz      21226 s          0 s       1783 s      76248 s          0 s
  Memory: 15.606494903564453 GB (11627.1171875 MB free)
  Uptime: 9950.48 sec
  Load Avg:  1.01  1.02  1.0
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, znver3)
Threads: 1 default, 0 interactive, 1 GC (on 4 virtual cores)

Baseline result

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

Job Properties

  • Time of benchmark: 7 May 2024 - 1:38
  • Package commit: d6199f
  • Julia commit: 0b4590
  • 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
["main", "inplace", "AD-1-order", "test"] 222.742 s (5%) 8.835 s 276.94 GiB (1%) 623965830
["main", "inplace", "AD-1-order", "train"] 37.593 s (5%) 1.656 s 37.55 GiB (1%) 124705628
["main", "inplace", "direct", "test"] 38.296 ms (5%) 53.77 MiB (1%) 117616
["main", "inplace", "direct", "train"] 5.978 ms (5%) 6.77 MiB (1%) 21701
["main", "no_inplace", "AD-1-order", "test"] 894.185 s (5%) 50.228 s 3283.59 GiB (1%) 1899468934
["main", "no_inplace", "AD-1-order", "train"] 485.825 s (5%) 46.407 s 3430.84 GiB (1%) 407106851
["main", "no_inplace", "direct", "test"] 39.311 ms (5%) 61.08 MiB (1%) 120370
["main", "no_inplace", "direct", "train"] 7.306 ms (5%) 14.89 MiB (1%) 24149

Benchmark Group List

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

  • ["main", "inplace", "AD-1-order"]
  • ["main", "inplace", "direct"]
  • ["main", "no_inplace", "AD-1-order"]
  • ["main", "no_inplace", "direct"]

Julia versioninfo

Julia Version 1.10.3
Commit 0b4590a5507 (2024-04-30 10:59 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
      Ubuntu 22.04.4 LTS
  uname: Linux 6.5.0-1018-azure #19~22.04.2-Ubuntu SMP Thu Mar 21 16:45:46 UTC 2024 x86_64 x86_64
  CPU: AMD EPYC 7763 64-Core Processor: 
              speed         user         nice          sys         idle          irq
       #1  2445 MHz      50970 s          0 s       3026 s     134374 s          0 s
       #2  3189 MHz      54947 s          0 s       3306 s     130146 s          0 s
       #3  3278 MHz      49948 s          0 s       3027 s     135424 s          0 s
       #4  3243 MHz      38899 s          0 s       3080 s     146382 s          0 s
  Memory: 15.606494903564453 GB (11877.40234375 MB free)
  Uptime: 18880.89 sec
  Load Avg:  1.24  1.09  1.02
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, znver3)
Threads: 1 default, 0 interactive, 1 GC (on 4 virtual cores)

Runtime information

Runtime Info
BLAS #threads 2
BLAS.vendor() lbt
Sys.CPU_THREADS 4

lscpu output:

Architecture:                       x86_64
CPU op-mode(s):                     32-bit, 64-bit
Address sizes:                      48 bits physical, 48 bits virtual
Byte Order:                         Little Endian
CPU(s):                             4
On-line CPU(s) list:                0-3
Vendor ID:                          AuthenticAMD
Model name:                         AMD EPYC 7763 64-Core Processor
CPU family:                         25
Model:                              1
Thread(s) per core:                 2
Core(s) per socket:                 2
Socket(s):                          1
Stepping:                           1
BogoMIPS:                           4890.86
Flags:                              fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl tsc_reliable nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext invpcid_single vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr rdpru arat npt nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold v_vmsave_vmload umip vaes vpclmulqdq rdpid fsrm
Virtualization:                     AMD-V
Hypervisor vendor:                  Microsoft
Virtualization type:                full
L1d cache:                          64 KiB (2 instances)
L1i cache:                          64 KiB (2 instances)
L2 cache:                           1 MiB (2 instances)
L3 cache:                           32 MiB (1 instance)
NUMA node(s):                       1
NUMA node0 CPU(s):                  0-3
Vulnerability Gather data sampling: Not affected
Vulnerability Itlb multihit:        Not affected
Vulnerability L1tf:                 Not affected
Vulnerability Mds:                  Not affected
Vulnerability Meltdown:             Not affected
Vulnerability Mmio stale data:      Not affected
Vulnerability Retbleed:             Not affected
Vulnerability Spec rstack overflow: Vulnerable: Safe RET, no microcode
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:      Not affected
Cpu Property Value
Brand AMD EPYC 7763 64-Core Processor
Vendor :AMD
Architecture :Unknown
Model Family: 0xaf, Model: 0x01, Stepping: 0x01, Type: 0x00
Cores 16 physical cores, 16 logical cores (on executing CPU)
No Hyperthreading hardware capability detected
Clock Frequencies Not supported by CPU
Data Cache Level 1:3 : (32, 512, 32768) kbytes
64 byte cache line size
Address Size 48 bits virtual, 48 bits physical
SIMD 256 bit = 32 byte max. SIMD vector size
Time Stamp Counter TSC is accessible via rdtsc
TSC runs at constant rate (invariant from clock frequency)
Perf. Monitoring Performance Monitoring Counters (PMC) are not supported
Hypervisor Yes, Microsoft

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