Skip to content
This repository has been archived by the owner on Aug 10, 2024. It is now read-only.

add some error message #53

Merged
merged 7 commits into from
Sep 2, 2023
Merged

add some error message #53

merged 7 commits into from
Sep 2, 2023

Conversation

abap34
Copy link
Owner

@abap34 abap34 commented Sep 2, 2023

No description provided.

@codecov
Copy link

codecov bot commented Sep 2, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.05% ⚠️

Comparison is base (9592f0e) 27.89% compared to head (ce950bd) 27.84%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #53      +/-   ##
==========================================
- Coverage   27.89%   27.84%   -0.05%     
==========================================
  Files          39       40       +1     
  Lines        1158     1167       +9     
==========================================
+ Hits          323      325       +2     
- Misses        835      842       +7     
Files Changed Coverage Δ
src/core/autodiff/broadcast/sum_to.jl 0.00% <0.00%> (ø)
src/core/autodiff/device.jl 9.09% <0.00%> (ø)
src/core/autodiff/propagation.jl 52.70% <0.00%> (-0.18%) ⬇️
src/nn/data/dataloader.jl 0.00% <0.00%> (ø)
src/nn/function/metrics.jl 0.00% <0.00%> (ø)
src/nn/layer/layer.jl 0.00% <0.00%> (ø)
src/nn/layer/linear.jl 0.00% <0.00%> (ø)
src/nn/layer/parameters.jl 0.00% <0.00%> (ø)

... and 1 file with indirect coverage changes

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

@github-actions
Copy link
Contributor

github-actions bot commented Sep 2, 2023

Benchmark result

Judge result

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

Job Properties

  • Time of benchmarks:
    • Target: 2 Sep 2023 - 10:34
    • Baseline: 2 Sep 2023 - 10:36
  • Package commits:
    • Target: 9b765f
    • Baseline: 9592f0
  • Julia commits:
    • Target: 17cfb8
    • Baseline: 17cfb8
  • 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
["AutoDiff", "Tensor_create", "Float"] 1.24 (5%) ❌ 1.00 (1%)
["AutoDiff", "Tensor_create", "Int"] 1.07 (5%) ❌ 1.00 (1%)
["AutoDiff", "scalar_create", "Float"] 1.13 (5%) ❌ 1.00 (1%)
["AutoDiff", "scalar_create", "Int"] 1.23 (5%) ❌ 1.00 (1%)
["AutoDiff", "simple_call", "scalar", "add"] 0.93 (5%) ✅ 1.00 (1%)
["AutoDiff", "simple_call", "scalar", "div"] 0.93 (5%) ✅ 1.00 (1%)
["AutoDiff", "simple_call", "scalar", "inv"] 0.90 (5%) ✅ 1.00 (1%)
["AutoDiff", "simple_call", "scalar", "log"] 0.90 (5%) ✅ 1.00 (1%)
["AutoDiff", "simple_call", "scalar", "mul"] 0.94 (5%) ✅ 1.00 (1%)
["AutoDiff", "simple_call", "scalar", "sub"] 0.89 (5%) ✅ 1.00 (1%)

Benchmark Group List

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

  • ["AutoDiff", "Tensor_create"]
  • ["AutoDiff", "complex_call", "scalar"]
  • ["AutoDiff", "scalar_create"]
  • ["AutoDiff", "simple_call", "scalar"]

Julia versioninfo

Target

Julia Version 1.8.5
Commit 17cfb8e65ea (2023-01-08 06:45 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
      Ubuntu 22.04.3 LTS
  uname: Linux 5.15.0-1041-azure #48-Ubuntu SMP Tue Jun 20 20:34:08 UTC 2023 x86_64 x86_64
  CPU: Intel(R) Xeon(R) CPU E5-2673 v4 @ 2.30GHz: 
              speed         user         nice          sys         idle          irq
       #1  2294 MHz       3808 s          0 s        422 s       2114 s          0 s
       #2  2294 MHz       3584 s          0 s        419 s       2318 s          0 s
  Memory: 6.769481658935547 GB (5199.60546875 MB free)
  Uptime: 642.81 sec
  Load Avg:  1.17  1.59  0.95
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, broadwell)
  Threads: 1 on 2 virtual cores

Baseline

Julia Version 1.8.5
Commit 17cfb8e65ea (2023-01-08 06:45 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
      Ubuntu 22.04.3 LTS
  uname: Linux 5.15.0-1041-azure #48-Ubuntu SMP Tue Jun 20 20:34:08 UTC 2023 x86_64 x86_64
  CPU: Intel(R) Xeon(R) CPU E5-2673 v4 @ 2.30GHz: 
              speed         user         nice          sys         idle          irq
       #1  2294 MHz       4804 s          0 s        487 s       2229 s          0 s
       #2  2294 MHz       3706 s          0 s        459 s       3332 s          0 s
  Memory: 6.769481658935547 GB (4887.10546875 MB free)
  Uptime: 760.69 sec
  Load Avg:  1.17  1.44  0.98
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, broadwell)
  Threads: 1 on 2 virtual cores

Target result

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

Job Properties

  • Time of benchmark: 2 Sep 2023 - 10:34
  • Package commit: 9b765f
  • Julia commit: 17cfb8
  • 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
["AutoDiff", "Tensor_create", "Float"] 10.210 ns (5%) 64 bytes (1%) 1
["AutoDiff", "Tensor_create", "Int"] 8.609 ns (5%) 64 bytes (1%) 1
["AutoDiff", "complex_call", "scalar", "ackley"] 1.085 μs (5%) 2.62 KiB (1%) 62
["AutoDiff", "complex_call", "scalar", "goldstain"] 1.550 μs (5%) 5.72 KiB (1%) 131
["AutoDiff", "scalar_create", "Float"] 9.409 ns (5%) 64 bytes (1%) 1
["AutoDiff", "scalar_create", "Int"] 9.610 ns (5%) 64 bytes (1%) 1
["AutoDiff", "simple_call", "scalar", "add"] 36.946 ns (5%) 128 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "cos"] 37.286 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "div"] 37.449 ns (5%) 128 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "exp"] 37.059 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "inv"] 30.552 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "log"] 37.362 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "mul"] 36.281 ns (5%) 128 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "neg"] 33.065 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "sin"] 37.687 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "sqrt"] 30.251 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "square"] 31.024 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "sub"] 32.462 ns (5%) 128 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "tan"] 58.435 ns (5%) 112 bytes (1%) 3

Benchmark Group List

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

  • ["AutoDiff", "Tensor_create"]
  • ["AutoDiff", "complex_call", "scalar"]
  • ["AutoDiff", "scalar_create"]
  • ["AutoDiff", "simple_call", "scalar"]

Julia versioninfo

Julia Version 1.8.5
Commit 17cfb8e65ea (2023-01-08 06:45 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
      Ubuntu 22.04.3 LTS
  uname: Linux 5.15.0-1041-azure #48-Ubuntu SMP Tue Jun 20 20:34:08 UTC 2023 x86_64 x86_64
  CPU: Intel(R) Xeon(R) CPU E5-2673 v4 @ 2.30GHz: 
              speed         user         nice          sys         idle          irq
       #1  2294 MHz       3808 s          0 s        422 s       2114 s          0 s
       #2  2294 MHz       3584 s          0 s        419 s       2318 s          0 s
  Memory: 6.769481658935547 GB (5199.60546875 MB free)
  Uptime: 642.81 sec
  Load Avg:  1.17  1.59  0.95
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, broadwell)
  Threads: 1 on 2 virtual cores

Baseline result

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

Job Properties

  • Time of benchmark: 2 Sep 2023 - 10:36
  • Package commit: 9592f0
  • Julia commit: 17cfb8
  • 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
["AutoDiff", "Tensor_create", "Float"] 8.208 ns (5%) 64 bytes (1%) 1
["AutoDiff", "Tensor_create", "Int"] 8.008 ns (5%) 64 bytes (1%) 1
["AutoDiff", "complex_call", "scalar", "ackley"] 1.087 μs (5%) 2.62 KiB (1%) 62
["AutoDiff", "complex_call", "scalar", "goldstain"] 1.600 μs (5%) 5.72 KiB (1%) 131
["AutoDiff", "scalar_create", "Float"] 8.308 ns (5%) 64 bytes (1%) 1
["AutoDiff", "scalar_create", "Int"] 7.808 ns (5%) 64 bytes (1%) 1
["AutoDiff", "simple_call", "scalar", "add"] 39.557 ns (5%) 128 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "cos"] 38.491 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "div"] 40.060 ns (5%) 128 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "exp"] 36.254 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "inv"] 33.969 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "log"] 41.590 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "mul"] 38.492 ns (5%) 128 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "neg"] 32.362 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "sin"] 37.687 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "sqrt"] 31.357 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "square"] 31.224 ns (5%) 112 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "sub"] 36.281 ns (5%) 128 bytes (1%) 3
["AutoDiff", "simple_call", "scalar", "tan"] 59.857 ns (5%) 112 bytes (1%) 3

Benchmark Group List

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

  • ["AutoDiff", "Tensor_create"]
  • ["AutoDiff", "complex_call", "scalar"]
  • ["AutoDiff", "scalar_create"]
  • ["AutoDiff", "simple_call", "scalar"]

Julia versioninfo

Julia Version 1.8.5
Commit 17cfb8e65ea (2023-01-08 06:45 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
      Ubuntu 22.04.3 LTS
  uname: Linux 5.15.0-1041-azure #48-Ubuntu SMP Tue Jun 20 20:34:08 UTC 2023 x86_64 x86_64
  CPU: Intel(R) Xeon(R) CPU E5-2673 v4 @ 2.30GHz: 
              speed         user         nice          sys         idle          irq
       #1  2294 MHz       4804 s          0 s        487 s       2229 s          0 s
       #2  2294 MHz       3706 s          0 s        459 s       3332 s          0 s
  Memory: 6.769481658935547 GB (4887.10546875 MB free)
  Uptime: 760.69 sec
  Load Avg:  1.17  1.44  0.98
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, broadwell)
  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) CPU E5-2673 v4 @ 2.30GHz
CPU family:                      6
Model:                           79
Thread(s) per core:              1
Core(s) per socket:              2
Socket(s):                       1
Stepping:                        1
BogoMIPS:                        4589.37
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 rdseed adx smap xsaveopt md_clear
Hypervisor vendor:               Microsoft
Virtualization type:             full
L1d cache:                       64 KiB (2 instances)
L1i cache:                       64 KiB (2 instances)
L2 cache:                        512 KiB (2 instances)
L3 cache:                        50 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) CPU E5-2673 v4 @ 2.30GHz
Vendor :Intel
Architecture :Broadwell
Model Family: 0x06, Model: 0x4f, Stepping: 0x01, 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 : (32, 256, 51200) kbytes
64 byte cache line size
Address Size 48 bits virtual, 46 bits physical
SIMD 256 bit = 32 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

@abap34 abap34 merged commit 94228c5 into master Sep 2, 2023
3 of 5 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant