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

Return only primal when applying non-differentiable methods to Dual #169

Merged
merged 20 commits into from
Aug 16, 2024

Conversation

adrhill
Copy link
Owner

@adrhill adrhill commented Aug 15, 2024

Closes #167 by conditionally generating dual overloads in overload_* functions.

@codecov-commenter
Copy link

codecov-commenter commented Aug 15, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 98.65229% with 5 lines in your changes missing coverage. Please review.

Project coverage is 91.39%. Comparing base (8251cb3) to head (005258c).

Files Patch % Lines
src/overloads/hessian_tracer.jl 96.80% 3 Missing ⚠️
src/overloads/gradient_tracer.jl 98.97% 1 Missing ⚠️
test/test_gradient.jl 98.90% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #169      +/-   ##
==========================================
- Coverage   91.65%   91.39%   -0.27%     
==========================================
  Files          37       37              
  Lines        1786     1801      +15     
==========================================
+ Hits         1637     1646       +9     
- Misses        149      155       +6     

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

@adrhill adrhill marked this pull request as ready for review August 16, 2024 16:07
@adrhill adrhill added the run benchmark Run benchmarks in CI label Aug 16, 2024
Copy link

Benchmark result

Judge result

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

Job Properties

  • Time of benchmarks:
    • Target: 16 Aug 2024 - 16:59
    • Baseline: 16 Aug 2024 - 17:03
  • Package commits:
    • Target: 931417
    • Baseline: 8251cb
  • Julia commits:
    • Target: 48d4fd
    • Baseline: 48d4fd
  • 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
["bench_jogger.jl", "Hessian", "Global", "ArrowHead", "N=3200, K=2"] 1.07 (5%) ❌ 1.00 (1%)
["bench_jogger.jl", "Hessian", "Local shared", "ArrowHead", "N=3200, K=2"] 0.90 (5%) ✅ 0.91 (1%) ✅
["bench_jogger.jl", "Hessian", "Local shared", "RandomSparsity", "N=400, K=2"] 1.01 (5%) 1.03 (1%) ❌
["bench_jogger.jl", "Hessian", "Local", "ArrowHead", "N=3200, K=2"] 1.03 (5%) 0.99 (1%) ✅
["bench_jogger.jl", "Jacobian", "Global", "Brusselator", "operator", "N=24"] 0.95 (5%) ✅ 1.00 (1%)
["bench_jogger.jl", "Jacobian", "Global", "Brusselator", "operator", "N=6"] 0.93 (5%) ✅ 1.00 (1%)
["bench_jogger.jl", "Jacobian", "Global", "Conv", "N=128"] 1.17 (5%) ❌ 1.00 (1%)
["bench_jogger.jl", "Jacobian", "Global", "SparseMul", "n=50, p=0.01, depth=5"] 0.94 (5%) ✅ 1.00 (1%)
["bench_jogger.jl", "Jacobian", "Global", "SparseMul", "n=50, p=0.25, depth=5"] 0.92 (5%) ✅ 1.00 (1%)
["bench_jogger.jl", "Jacobian", "Local", "Brusselator", "ODE", "N=6"] 0.95 (5%) ✅ 1.00 (1%)
["bench_jogger.jl", "Jacobian", "Local", "Brusselator", "operator", "N=6"] 0.93 (5%) ✅ 1.00 (1%)
["bench_jogger.jl", "Jacobian", "Local", "Conv", "N=128"] 1.20 (5%) ❌ 1.00 (1%)
["bench_jogger.jl", "Jacobian", "Local", "SparseMul", "n=50, p=0.01, depth=5"] 0.95 (5%) ✅ 1.00 (1%)
["bench_jogger.jl", "Jacobian", "Local", "SparseMul", "n=50, p=0.25, depth=5"] 0.93 (5%) ✅ 1.00 (1%)
["bench_jogger.jl", "OptimizationProblems", "britgas", "Jacobian"] 0.75 (5%) ✅ 1.00 (1%)

Benchmark Group List

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

  • ["bench_jogger.jl", "Hessian", "Global shared", "ArrowHead"]
  • ["bench_jogger.jl", "Hessian", "Global shared", "RandomSparsity"]
  • ["bench_jogger.jl", "Hessian", "Global", "ArrowHead"]
  • ["bench_jogger.jl", "Hessian", "Global", "RandomSparsity"]
  • ["bench_jogger.jl", "Hessian", "Local shared", "ArrowHead"]
  • ["bench_jogger.jl", "Hessian", "Local shared", "RandomSparsity"]
  • ["bench_jogger.jl", "Hessian", "Local", "ArrowHead"]
  • ["bench_jogger.jl", "Hessian", "Local", "RandomSparsity"]
  • ["bench_jogger.jl", "Jacobian", "Global", "Brusselator", "ODE"]
  • ["bench_jogger.jl", "Jacobian", "Global", "Brusselator", "operator"]
  • ["bench_jogger.jl", "Jacobian", "Global", "Conv"]
  • ["bench_jogger.jl", "Jacobian", "Global", "SparseMul"]
  • ["bench_jogger.jl", "Jacobian", "Local", "Brusselator", "ODE"]
  • ["bench_jogger.jl", "Jacobian", "Local", "Brusselator", "operator"]
  • ["bench_jogger.jl", "Jacobian", "Local", "Conv"]
  • ["bench_jogger.jl", "Jacobian", "Local", "SparseMul"]
  • ["bench_jogger.jl", "OptimizationProblems", "britgas"]

Julia versioninfo

Target

Julia Version 1.10.4
Commit 48d4fd48430 (2024-06-04 10:41 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-1025-azure #26~22.04.1-Ubuntu SMP Thu Jul 11 22:33:04 UTC 2024 x86_64 x86_64
  CPU: AMD EPYC 7763 64-Core Processor: 
              speed         user         nice          sys         idle          irq
       #1  3031 MHz       3573 s          0 s        295 s       5757 s          0 s
       #2  2933 MHz       3354 s          0 s        254 s       6012 s          0 s
       #3  2445 MHz       3795 s          0 s        276 s       5555 s          0 s
       #4  3243 MHz       3325 s          0 s        276 s       6029 s          0 s
  Memory: 15.606491088867188 GB (13451.59375 MB free)
  Uptime: 966.17 sec
  Load Avg:  1.06  1.29  1.11
  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.4
Commit 48d4fd48430 (2024-06-04 10:41 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-1025-azure #26~22.04.1-Ubuntu SMP Thu Jul 11 22:33:04 UTC 2024 x86_64 x86_64
  CPU: AMD EPYC 7763 64-Core Processor: 
              speed         user         nice          sys         idle          irq
       #1  3249 MHz       4156 s          0 s        342 s       7929 s          0 s
       #2  3243 MHz       3730 s          0 s        302 s       8388 s          0 s
       #3  2445 MHz       4785 s          0 s        341 s       7302 s          0 s
       #4  2445 MHz       4068 s          0 s        336 s       8028 s          0 s
  Memory: 15.606491088867188 GB (13354.5859375 MB free)
  Uptime: 1246.97 sec
  Load Avg:  1.03  1.13  1.08
  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/SparseConnectivityTracer.jl/SparseConnectivityTracer.jl

Job Properties

  • Time of benchmark: 16 Aug 2024 - 16:59
  • Package commit: 931417
  • Julia commit: 48d4fd
  • 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
["bench_jogger.jl", "Hessian", "Global shared", "ArrowHead", "N=200, K=16"] 1.888 ms (5%) 2.71 MiB (1%) 22444
["bench_jogger.jl", "Hessian", "Global shared", "ArrowHead", "N=3200, K=2"] 6.675 ms (5%) 17.28 MiB (1%) 88858
["bench_jogger.jl", "Hessian", "Global shared", "RandomSparsity", "N=100, K=32"] 1.804 ms (5%) 1.73 MiB (1%) 7172
["bench_jogger.jl", "Hessian", "Global shared", "RandomSparsity", "N=400, K=2"] 347.086 μs (5%) 592.38 KiB (1%) 5331
["bench_jogger.jl", "Hessian", "Global", "ArrowHead", "N=200, K=16"] 6.993 ms (5%) 14.26 MiB (1%) 98970
["bench_jogger.jl", "Hessian", "Global", "ArrowHead", "N=3200, K=2"] 68.881 ms (5%) 3.656 ms 143.19 MiB (1%) 271798
["bench_jogger.jl", "Hessian", "Global", "RandomSparsity", "N=100, K=32"] 5.079 ms (5%) 7.06 MiB (1%) 33545
["bench_jogger.jl", "Hessian", "Global", "RandomSparsity", "N=400, K=2"] 4.784 ms (5%) 9.17 MiB (1%) 16637
["bench_jogger.jl", "Hessian", "Local shared", "ArrowHead", "N=200, K=16"] 1.883 ms (5%) 2.75 MiB (1%) 24509
["bench_jogger.jl", "Hessian", "Local shared", "ArrowHead", "N=3200, K=2"] 6.172 ms (5%) 15.94 MiB (1%) 79258
["bench_jogger.jl", "Hessian", "Local shared", "RandomSparsity", "N=100, K=32"] 1.814 ms (5%) 1.76 MiB (1%) 7274
["bench_jogger.jl", "Hessian", "Local shared", "RandomSparsity", "N=400, K=2"] 362.755 μs (5%) 639.50 KiB (1%) 5733
["bench_jogger.jl", "Hessian", "Local", "ArrowHead", "N=200, K=16"] 6.863 ms (5%) 14.30 MiB (1%) 101035
["bench_jogger.jl", "Hessian", "Local", "ArrowHead", "N=3200, K=2"] 64.661 ms (5%) 3.326 ms 141.85 MiB (1%) 262198
["bench_jogger.jl", "Hessian", "Local", "RandomSparsity", "N=100, K=32"] 4.991 ms (5%) 7.09 MiB (1%) 33647
["bench_jogger.jl", "Hessian", "Local", "RandomSparsity", "N=400, K=2"] 4.702 ms (5%) 9.22 MiB (1%) 17039
["bench_jogger.jl", "Jacobian", "Global", "Brusselator", "ODE", "N=24"] 2.517 ms (5%) 5.83 MiB (1%) 59354
["bench_jogger.jl", "Jacobian", "Global", "Brusselator", "ODE", "N=6"] 140.722 μs (5%) 256.97 KiB (1%) 2853
["bench_jogger.jl", "Jacobian", "Global", "Brusselator", "operator", "N=24"] 937.464 μs (5%) 2.06 MiB (1%) 22268
["bench_jogger.jl", "Jacobian", "Global", "Brusselator", "operator", "N=6"] 51.255 μs (5%) 102.56 KiB (1%) 1182
["bench_jogger.jl", "Jacobian", "Global", "Conv", "N=128"] 2.629 s (5%) 456.761 ms 18.61 GiB (1%) 11476661
["bench_jogger.jl", "Jacobian", "Global", "Conv", "N=28"] 20.025 ms (5%) 63.29 MiB (1%) 414354
["bench_jogger.jl", "Jacobian", "Global", "SparseMul", "n=50, p=0.01, depth=5"] 8.636 μs (5%) 17.27 KiB (1%) 146
["bench_jogger.jl", "Jacobian", "Global", "SparseMul", "n=50, p=0.25, depth=5"] 270.133 μs (5%) 529.28 KiB (1%) 5814
["bench_jogger.jl", "Jacobian", "Local", "Brusselator", "ODE", "N=24"] 2.584 ms (5%) 5.94 MiB (1%) 59358
["bench_jogger.jl", "Jacobian", "Local", "Brusselator", "ODE", "N=6"] 142.785 μs (5%) 264.27 KiB (1%) 2854
["bench_jogger.jl", "Jacobian", "Local", "Brusselator", "operator", "N=24"] 974.823 μs (5%) 2.14 MiB (1%) 22274
["bench_jogger.jl", "Jacobian", "Local", "Brusselator", "operator", "N=6"] 53.149 μs (5%) 107.31 KiB (1%) 1185
["bench_jogger.jl", "Jacobian", "Local", "Conv", "N=128"] 2.591 s (5%) 460.252 ms 18.62 GiB (1%) 11476670
["bench_jogger.jl", "Jacobian", "Local", "Conv", "N=28"] 20.312 ms (5%) 63.41 MiB (1%) 414363
["bench_jogger.jl", "Jacobian", "Local", "SparseMul", "n=50, p=0.01, depth=5"] 9.237 μs (5%) 23.06 KiB (1%) 149
["bench_jogger.jl", "Jacobian", "Local", "SparseMul", "n=50, p=0.25, depth=5"] 275.222 μs (5%) 535.08 KiB (1%) 5817
["bench_jogger.jl", "OptimizationProblems", "britgas", "Hessian"] 3.850 ms (5%) 7.81 MiB (1%) 23269
["bench_jogger.jl", "OptimizationProblems", "britgas", "Jacobian"] 266.635 μs (5%) 467.03 KiB (1%) 5669

Benchmark Group List

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

  • ["bench_jogger.jl", "Hessian", "Global shared", "ArrowHead"]
  • ["bench_jogger.jl", "Hessian", "Global shared", "RandomSparsity"]
  • ["bench_jogger.jl", "Hessian", "Global", "ArrowHead"]
  • ["bench_jogger.jl", "Hessian", "Global", "RandomSparsity"]
  • ["bench_jogger.jl", "Hessian", "Local shared", "ArrowHead"]
  • ["bench_jogger.jl", "Hessian", "Local shared", "RandomSparsity"]
  • ["bench_jogger.jl", "Hessian", "Local", "ArrowHead"]
  • ["bench_jogger.jl", "Hessian", "Local", "RandomSparsity"]
  • ["bench_jogger.jl", "Jacobian", "Global", "Brusselator", "ODE"]
  • ["bench_jogger.jl", "Jacobian", "Global", "Brusselator", "operator"]
  • ["bench_jogger.jl", "Jacobian", "Global", "Conv"]
  • ["bench_jogger.jl", "Jacobian", "Global", "SparseMul"]
  • ["bench_jogger.jl", "Jacobian", "Local", "Brusselator", "ODE"]
  • ["bench_jogger.jl", "Jacobian", "Local", "Brusselator", "operator"]
  • ["bench_jogger.jl", "Jacobian", "Local", "Conv"]
  • ["bench_jogger.jl", "Jacobian", "Local", "SparseMul"]
  • ["bench_jogger.jl", "OptimizationProblems", "britgas"]

Julia versioninfo

Julia Version 1.10.4
Commit 48d4fd48430 (2024-06-04 10:41 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-1025-azure #26~22.04.1-Ubuntu SMP Thu Jul 11 22:33:04 UTC 2024 x86_64 x86_64
  CPU: AMD EPYC 7763 64-Core Processor: 
              speed         user         nice          sys         idle          irq
       #1  3031 MHz       3573 s          0 s        295 s       5757 s          0 s
       #2  2933 MHz       3354 s          0 s        254 s       6012 s          0 s
       #3  2445 MHz       3795 s          0 s        276 s       5555 s          0 s
       #4  3243 MHz       3325 s          0 s        276 s       6029 s          0 s
  Memory: 15.606491088867188 GB (13451.59375 MB free)
  Uptime: 966.17 sec
  Load Avg:  1.06  1.29  1.11
  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/SparseConnectivityTracer.jl/SparseConnectivityTracer.jl

Job Properties

  • Time of benchmark: 16 Aug 2024 - 17:3
  • Package commit: 8251cb
  • Julia commit: 48d4fd
  • 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
["bench_jogger.jl", "Hessian", "Global shared", "ArrowHead", "N=200, K=16"] 1.923 ms (5%) 2.71 MiB (1%) 22444
["bench_jogger.jl", "Hessian", "Global shared", "ArrowHead", "N=3200, K=2"] 6.629 ms (5%) 17.28 MiB (1%) 88858
["bench_jogger.jl", "Hessian", "Global shared", "RandomSparsity", "N=100, K=32"] 1.822 ms (5%) 1.73 MiB (1%) 7172
["bench_jogger.jl", "Hessian", "Global shared", "RandomSparsity", "N=400, K=2"] 349.983 μs (5%) 592.38 KiB (1%) 5331
["bench_jogger.jl", "Hessian", "Global", "ArrowHead", "N=200, K=16"] 6.725 ms (5%) 14.26 MiB (1%) 98970
["bench_jogger.jl", "Hessian", "Global", "ArrowHead", "N=3200, K=2"] 64.661 ms (5%) 3.149 ms 143.19 MiB (1%) 271798
["bench_jogger.jl", "Hessian", "Global", "RandomSparsity", "N=100, K=32"] 4.903 ms (5%) 7.06 MiB (1%) 33545
["bench_jogger.jl", "Hessian", "Global", "RandomSparsity", "N=400, K=2"] 4.664 ms (5%) 9.17 MiB (1%) 16637
["bench_jogger.jl", "Hessian", "Local shared", "ArrowHead", "N=200, K=16"] 1.962 ms (5%) 2.72 MiB (1%) 22446
["bench_jogger.jl", "Hessian", "Local shared", "ArrowHead", "N=3200, K=2"] 6.840 ms (5%) 17.50 MiB (1%) 88862
["bench_jogger.jl", "Hessian", "Local shared", "RandomSparsity", "N=100, K=32"] 1.835 ms (5%) 1.76 MiB (1%) 7174
["bench_jogger.jl", "Hessian", "Local shared", "RandomSparsity", "N=400, K=2"] 360.762 μs (5%) 620.75 KiB (1%) 5333
["bench_jogger.jl", "Hessian", "Local", "ArrowHead", "N=200, K=16"] 6.772 ms (5%) 14.28 MiB (1%) 98972
["bench_jogger.jl", "Hessian", "Local", "ArrowHead", "N=3200, K=2"] 62.499 ms (5%) 143.41 MiB (1%) 271802
["bench_jogger.jl", "Hessian", "Local", "RandomSparsity", "N=100, K=32"] 4.930 ms (5%) 7.09 MiB (1%) 33547
["bench_jogger.jl", "Hessian", "Local", "RandomSparsity", "N=400, K=2"] 4.662 ms (5%) 9.20 MiB (1%) 16639
["bench_jogger.jl", "Jacobian", "Global", "Brusselator", "ODE", "N=24"] 2.649 ms (5%) 5.83 MiB (1%) 59354
["bench_jogger.jl", "Jacobian", "Global", "Brusselator", "ODE", "N=6"] 144.949 μs (5%) 256.97 KiB (1%) 2853
["bench_jogger.jl", "Jacobian", "Global", "Brusselator", "operator", "N=24"] 988.563 μs (5%) 2.06 MiB (1%) 22268
["bench_jogger.jl", "Jacobian", "Global", "Brusselator", "operator", "N=6"] 54.922 μs (5%) 102.56 KiB (1%) 1182
["bench_jogger.jl", "Jacobian", "Global", "Conv", "N=128"] 2.239 s (5%) 338.532 ms 18.61 GiB (1%) 11476661
["bench_jogger.jl", "Jacobian", "Global", "Conv", "N=28"] 19.137 ms (5%) 63.29 MiB (1%) 414354
["bench_jogger.jl", "Jacobian", "Global", "SparseMul", "n=50, p=0.01, depth=5"] 9.227 μs (5%) 17.27 KiB (1%) 146
["bench_jogger.jl", "Jacobian", "Global", "SparseMul", "n=50, p=0.25, depth=5"] 292.043 μs (5%) 529.28 KiB (1%) 5814
["bench_jogger.jl", "Jacobian", "Local", "Brusselator", "ODE", "N=24"] 2.681 ms (5%) 5.94 MiB (1%) 59360
["bench_jogger.jl", "Jacobian", "Local", "Brusselator", "ODE", "N=6"] 150.840 μs (5%) 264.45 KiB (1%) 2856
["bench_jogger.jl", "Jacobian", "Local", "Brusselator", "operator", "N=24"] 1.025 ms (5%) 2.14 MiB (1%) 22274
["bench_jogger.jl", "Jacobian", "Local", "Brusselator", "operator", "N=6"] 57.387 μs (5%) 107.31 KiB (1%) 1185
["bench_jogger.jl", "Jacobian", "Local", "Conv", "N=128"] 2.151 s (5%) 322.381 ms 18.62 GiB (1%) 11476670
["bench_jogger.jl", "Jacobian", "Local", "Conv", "N=28"] 20.172 ms (5%) 63.41 MiB (1%) 414363
["bench_jogger.jl", "Jacobian", "Local", "SparseMul", "n=50, p=0.01, depth=5"] 9.748 μs (5%) 23.06 KiB (1%) 149
["bench_jogger.jl", "Jacobian", "Local", "SparseMul", "n=50, p=0.25, depth=5"] 297.044 μs (5%) 535.08 KiB (1%) 5817
["bench_jogger.jl", "OptimizationProblems", "britgas", "Hessian"] 3.993 ms (5%) 7.81 MiB (1%) 23269
["bench_jogger.jl", "OptimizationProblems", "britgas", "Jacobian"] 354.290 μs (5%) 467.03 KiB (1%) 5669

Benchmark Group List

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

  • ["bench_jogger.jl", "Hessian", "Global shared", "ArrowHead"]
  • ["bench_jogger.jl", "Hessian", "Global shared", "RandomSparsity"]
  • ["bench_jogger.jl", "Hessian", "Global", "ArrowHead"]
  • ["bench_jogger.jl", "Hessian", "Global", "RandomSparsity"]
  • ["bench_jogger.jl", "Hessian", "Local shared", "ArrowHead"]
  • ["bench_jogger.jl", "Hessian", "Local shared", "RandomSparsity"]
  • ["bench_jogger.jl", "Hessian", "Local", "ArrowHead"]
  • ["bench_jogger.jl", "Hessian", "Local", "RandomSparsity"]
  • ["bench_jogger.jl", "Jacobian", "Global", "Brusselator", "ODE"]
  • ["bench_jogger.jl", "Jacobian", "Global", "Brusselator", "operator"]
  • ["bench_jogger.jl", "Jacobian", "Global", "Conv"]
  • ["bench_jogger.jl", "Jacobian", "Global", "SparseMul"]
  • ["bench_jogger.jl", "Jacobian", "Local", "Brusselator", "ODE"]
  • ["bench_jogger.jl", "Jacobian", "Local", "Brusselator", "operator"]
  • ["bench_jogger.jl", "Jacobian", "Local", "Conv"]
  • ["bench_jogger.jl", "Jacobian", "Local", "SparseMul"]
  • ["bench_jogger.jl", "OptimizationProblems", "britgas"]

Julia versioninfo

Julia Version 1.10.4
Commit 48d4fd48430 (2024-06-04 10:41 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-1025-azure #26~22.04.1-Ubuntu SMP Thu Jul 11 22:33:04 UTC 2024 x86_64 x86_64
  CPU: AMD EPYC 7763 64-Core Processor: 
              speed         user         nice          sys         idle          irq
       #1  3249 MHz       4156 s          0 s        342 s       7929 s          0 s
       #2  3243 MHz       3730 s          0 s        302 s       8388 s          0 s
       #3  2445 MHz       4785 s          0 s        341 s       7302 s          0 s
       #4  2445 MHz       4068 s          0 s        336 s       8028 s          0 s
  Memory: 15.606491088867188 GB (13354.5859375 MB free)
  Uptime: 1246.97 sec
  Load Avg:  1.03  1.13  1.08
  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; BHI 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

@adrhill adrhill merged commit 2cad635 into main Aug 16, 2024
6 checks passed
@adrhill adrhill deleted the ah/return-only-primal branch August 16, 2024 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
run benchmark Run benchmarks in CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Zero-derivative functions on dual numbers should only return the primal
2 participants