Skip to content

Instantly share code, notes, and snippets.

Avatar

Ian Butterworth IanButterworth

View GitHub Profile
View Pkg.precompile() with fftw error
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.6.0-DEV.995 (2020-09-21)
_/ |\__'_|_|_|\__'_| | ib/compilecache_hide_stderr/05c2ec109e (fork: 2 commits, 0 days)
|__/ |
julia> import Pkg
View mactest
32×6 DataFrames.DataFrame
│ Row │ cat │ testname │ units │ ref_res │ test_res │ factor │
│ │ String │ String │ String │ Any │ Any │ Any │
├─────┼─────────────┼───────────────────────────┼────────┼──────────────────────────────────────────┼──────────────────────────────────────────┼───────────┤
│ 1 │ info │ SysBenchVer │ │ 0.3.0 │ 0.3.0 │ Equal │
│ 2 │ info │ JuliaVer │ │ 1.4.1 │ 1.4.1 │ Equal │
│ 3 │ info │ OS │ │ Linux (x86_64-pc-linux-gnu) │ macOS (x86_64-apple-darwin18.7.0) │ Not Equal │
│ 4 │ info │ CPU │
View Flux JL_DEBUG_METHOD_INVALIDATION
julia> using Flux
-- max(Int32, Int32)
promote_type(Type{Float64}, Type{S} where S<:Integer)
promote_type(Type{Float64}, Type{S} where S<:Integer)
>> FixedPointNumbers.promote_rule(...) Tuple{typeof(Base.promote_rule), Type{T}, Type{Tf}} where Tf<:AbstractFloat where T<:(FixedPointNumbers.Normed{T, f} where f where T<:Unsigned)
promote_type(Type{UInt64}, Type{S} where S<:Unsigned)
_promote(UInt64, Unsigned)
promote(UInt64, Unsigned)
div(UInt64, Unsigned, Base.Rounding.RoundingMode{:ToZero})
rem(UInt64, Unsigned)
View Revise invalidations during load
Last login: Sat May 2 12:51:45 on ttys006
ian@Ians-MacBook-Pro-4 julia % ./julia
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.5.0-DEV.698 (2020-04-28)
_/ |\__'_|_|_|\__'_| | mcpu/72a1fec695* (fork: 4 commits, 4 days)
|__/ |
View using Flux inference on aarch64
(Tuple{typeof(CuArrays._functional),Bool}, 4260)
(Tuple{typeof(lock),CuArrays.var"#1#2"{Bool},ReentrantLock}, 4259)
(Tuple{CuArrays.var"#1#2"{Bool}}, 4255)
(Tuple{typeof(CuArrays.__configure__),Bool}, 4082)
(Tuple{typeof(lock),CUDAnative.var"#1#2"{Bool},ReentrantLock}, 3783)
(Tuple{CUDAnative.var"#1#2"{Bool}}, 3783)
(Tuple{typeof(CUDAnative.__runtime_init__)}, 3783)
(Tuple{typeof(CUDAnative.release)}, 3783)
(Tuple{typeof(CUDAnative.version)}, 3783)
(Tuple{typeof(CUDAnative.functional),Bool}, 3783)
View Flux profile 2 (faster depot location)
This file has been truncated, but you can view the full file.
Overhead ╎ [+additional indent] Count File:Line; Function
=========================================================
1╎1 @Base/array.jl:656; _array_for(::Type{Any}, ::Core.SimpleVector, ::Core.Compiler.HasLength)
2╎2 @Base/array.jl:657; _array_for(::Type{Any}, ::Array{Any,1}, ::Core.Compiler.HasShape{1})
1╎1 @Base/array.jl:567; _collect(::Type{Int64}, ::Core.Compiler.Generator{Core.Compiler.Iterators.Filter{Core.Compiler.var"#259#266"{Core.Compiler.IdDict{Int64,Int64}},Array{Int64,1}},Core.Compiler.var"#258#265"{Int64,Core.Compiler.IdDict{Int64,Int64},Array{Int64,1}}}, ::Core.Compiler.SizeUnknown)
2╎2 @Base/array.jl:352; copy(::Array{Int32,1})
1╎1 @Base/array.jl:2371; filter(::Core.Compiler.var"#268#271"{Array{Int64,1}}, ::Array{Int64,1})
2╎2 @Base/array.jl:764; iterate(::Array{Any,1})
╎1 @Base/compiler/abstractinterpretation.jl:101; abstract_call_gf_by_type(::Any, ::Array{Any,1}, ::Any, ::Core.Compiler.InferenceState, ::Int64)
View Flux profile aarch64
This file has been truncated, but you can view the full file.
Overhead ╎ [+additional indent] Count File:Line; Function
=========================================================
1╎1 @Base/array.jl:657; _array_for(::Type{Any}, ::Array{Any,1}, ::Core.Compiler.HasShape{1})
1╎1 @Base/array.jl:313; copyto!(::Array{Tuple{Int64,Int64,Bool},1}, ::Int64, ::Array{Tuple{Int64,Int64,Bool},1}, ::Int64, ::Int64)
1╎1 @Base/array.jl:221; length(::Array{Any,1})
1╎1 @Base/array.jl:826; setindex!(::Array{Core.LineInfoNode,1}, ::Core.LineInfoNode, ::Int64)
1╎1 @Base/bitset.jl:196; _matched_map!(::Core.Compiler.var"#151#152", ::Array{UInt64,1}, ::Int64, ::Array{UInt64,1}, ::Int64, ::Bool, ::Bool)
2╎2 @Base/compiler/abstractinterpretation.jl:949; abstract_eval(::Any, ::Array{Any,1}, ::Core.Compiler.InferenceState)
1╎1 @Base/compiler/abstractinterpretation.jl:1283; typeinf_nocycle(::Core.Compiler.InferenceState)
View ObjectDetector inference per calls
(Tuple{Zygote.var"##s3298#1892",Any,Any,Any,Any}, 13063)
(Tuple{Zygote.var"##s3298#1893",Any,Any,Any}, 12758)
(Tuple{typeof(Zygote._lookup_grad),Type{T} where T}, 11014)
(Tuple{typeof(Zygote._lookup_grad),Any}, 10958)
(Tuple{Core.var"#Type##kw",NamedTuple{(:varargs, :normalise),_A} where _A<:Tuple,Type{Zygote.Adjoint},IRTools.Inner.IR}, 8486)
(Tuple{Zygote.var"##Adjoint#30",Any,Any,Type{Zygote.Adjoint},IRTools.Inner.IR}, 8472)
(Tuple{Core.var"#Type##kw",NamedTuple{(:varargs,),Tuple{Nothing}},Type{Zygote.Adjoint},IRTools.Inner.IR}, 8461)
(Tuple{Core.var"#Type##kw",NamedTuple{(:varargs, :normalise),Tuple{Nothing,Bool}},Type{Zygote.Adjoint},IRTools.Inner.IR}, 8461)
(Tuple{Core.var"#Type##kw",NamedTuple{(:varargs, :normalise),Tuple{Int64,Bool}},Type{Zygote.Adjoint},IRTools.Inner.IR}, 8461)
(Tuple{Zygote.var"##Adjoint#30",Nothing,Bool,Type{Zygote.Adjoint},IRTools.Inner.IR}, 8454)
View julia_copyto!_3941
## On julia master, aarch64
## Caused by
Base.precompile(Tuple{typeof(Base.circshift!), Array{UInt8, 2}, Array{UInt8, 2}, Tuple{Int64, Int64}})
## Errors
ptrtoint not supported for non-integral pointers
inttoptr not supported for non-integral pointers
ptrtoint not supported for non-integral pointers
inttoptr not supported for non-integral pointers
View julia_copyto!_3941 LLVM IR
## On julia master, aarch64
## Caused by
## Base.precompile(Tuple{typeof(Base.copyto!), Array{UInt8, 2}, Base.IteratorsMD.CartesianIndices{2, Tuple{Base.UnitRange{Int64}, Base.UnitRange{Int64}}}, Array{UInt8, 2}, Base.IteratorsMD.CartesianIndices{2, Tuple{Base.UnitRange{Int64}, Base.UnitRange{Int64}}}})
## Errors
## ptrtoint not supported for non-integral pointers
## inttoptr not supported for non-integral pointers
## ptrtoint not supported for non-integral pointers
## inttoptr not supported for non-integral pointers