View lldb.log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ lldb -- /Users/administrator/src/julia-releases/usr/bin/julia -C "apple-a12" --output-ji /Users/administrator/src/julia-releases/usr/lib/julia/corecompiler.ji.tmp --startup-file=no --warn-overwrite=yes -g0 -O0 compiler/compiler.jl | |
(lldb) target create "/Users/administrator/src/julia-releases/usr/bin/julia" | |
Current executable set to '/Users/administrator/src/julia-releases/usr/bin/julia' (arm64). | |
(lldb) settings set -- target.run-args "-C" "apple-a12" "--output-ji" "/Users/administrator/src/julia-releases/usr/lib/julia/corecompiler.ji.tmp" "--startup-file=no" "--warn-overwrite=yes" "-g0" "-O0" "compiler/compiler.jl" | |
(lldb) r | |
Process 40975 launched: '/Users/administrator/src/julia-releases/usr/bin/julia' (arm64) | |
Process 40975 stopped | |
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=2, address=0x1034000c0) | |
frame #0: 0x000000019f1c2860 libsystem_platform.dylib`sys_icache_invalidate + 52 | |
libsystem_platform.dylib`sys_icache_invalidate: |
View output.log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ julia-master --project --threads=auto flux_multithreaded_training.jl | |
[ Info: Warming up Flux.train!() | |
ERROR: LoadError: AssertionError: i == j | |
Stacktrace: | |
[1] _try_static | |
@ ~/.julia/packages/SimpleChains/mTIEp/src/simple_chain.jl:213 [inlined] | |
[2] _try_static | |
@ ~/.julia/packages/SimpleChains/mTIEp/src/simple_chain.jl:231 [inlined] | |
[3] maybe_static_size_arg | |
@ ~/.julia/packages/SimpleChains/mTIEp/src/simple_chain.jl:286 [inlined] |
View flux_multithreaded_training.jl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Flux, Printf, Statistics | |
# Simple model | |
function gen_model() | |
return Chain( | |
Dense(8, 8, σ), | |
Dense(8, 8, σ), | |
Dense(8, 8, σ), | |
Dense(8, 1, σ), | |
) |
View git-find-treehash.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [[ -z "$1" ]]; then | |
echo "Usage: git-find-treehash <treehash>" >&2 | |
exit 1 | |
fi | |
commits=$(git log --pretty='%H %T' $commithash | grep $1 | awk '{print $1}') | |
if [[ -n "${commits}" ]]; then | |
echo "Found at commits: $commits" | |
exit 0 |
View parse_dump.jl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnicodePlots, Printf | |
# Dump file generated by `rr dump` | |
dump_file = ARGS[1] | |
if !isfile(dump_file) | |
error("Invalid dump file $(dump_file)") | |
end | |
@info("Parsing $(dump_file)....") |
View MKLPrefsExample.jl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module MKLPrefsExample | |
using Preferences, Libdl | |
# Choose an MKL provider; taking an explicit preference as the first choice, | |
# but it nothing is set as a preference, fall back to an environment variable, | |
# and if that is not given, fall back to the default choice of `MKL_jll`. | |
const mkl_provider = something( | |
@load_preference("mkl_provider", nothing), | |
get(ENV, "MKL_PROVIDER", nothing), |
View Manifest.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file is machine-generated - editing it directly is not advised | |
[[ArgTools]] | |
uuid = "0dad84c5-d112-42e6-8d28-ef12dabb789f" | |
[[Artifacts]] | |
uuid = "56f22d72-fd6d-98f1-02f0-08ddc0907c33" | |
[[Base64]] | |
uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f" |
View Makefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
build: dgesv_accelerate dgesv_openblas | |
dgesv_accelerate: dgesv.c | |
clang -o $@ -DDGESV=dgesv $< -framework Accelerate | |
lib: | |
mkdir -p $@ | |
lib/libgfortran.dylib: | lib | |
curl -L https://github.com/JuliaBinaryWrappers/CompilerSupportLibraries_jll.jl/releases/download/CompilerSupportLibraries-v0.4.3%2B0/CompilerSupportLibraries.v0.4.3.aarch64-apple-darwin-libgfortran5.tar.gz | tar -zxv lib/libg*.dylib | |
lib/libopenblas.dylib: lib/libgfortran.dylib | lib |
View output.log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dtrace: system integrity protection is on, some features will not be available | |
PID/THRD SYSCALL(args) = return | |
ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers | |
built with clang version 9.0.1 (/home/staticfloat/.julia/dev/BinaryBuilder/deps/downloads/llvm-project.git c1a0a213378a458fbea1a5c77b315c7dce08fd05) | |
configuration: --enable-cross-compile --cross-prefix=/opt/x86_64-apple-darwin14/bin/x86_64-apple-darwin14- --arch=x86_64 --target-os=darwin --cc=cc --cxx=c++ --dep-cc=cc --ar=ar --nm=nm --objcc=objc --sysinclude=/workspace/destdir/include --pkg-config=/usr/bin/pkg-config --pkg-config-flags=--static --prefix=/workspace/destdir --sysroot=/opt/x86_64-apple-darwin14/x86_64-apple-darwin14/sys-root --extra-libs=-lpthread --enable-gpl --enable-version3 --enable-nonfree --disable-static --enable-shared --enable-pic --disable-debug --disable-doc --enable-avresample --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libx264 |
View Project.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[deps] | |
OpenBLAS32_jll = "656ef2d0-ae68-5445-9ca0-591084a874a2" |
NewerOlder