Comments (4)
The bitpattern histogram from the talk is created in this notebook: https://github.com/milankl/Isambard/blob/main/src/bitpattern_histograms.ipynb, it's part of an upcoming publication, happy to share once it's on the preprint server!
from sherlogs.jl.
I know the DrWatson documentation is far behind where I'd like it to be. Sorry, for that. It's alsmost too embarrasing to share, but this is how you can use DrWatson: https://github.com/milankl/Isambard/blob/main/src/watson_example.ipynb
Just execute your algorithm with it, interrupt at some point if the simulation takes too long, and get the stacktraces back. It works but fairly preliminary, if you have any ideas how to improve it, feel free to raise ideas!
from sherlogs.jl.
ah, you used BFloat16. ok, i'll try that. but why restrict the logbooks to be 16 bits?
from sherlogs.jl.
Well for a n-bit logbook you need to allocate an array of length 2^n of type UInt32/64 (I went for the latter just to minimize the risk of a wraparound in longer simulations). For 16 bit that's 130KB/260KB, for 32 bit that's 8.6GB/17.2GB and for 64 bit, well...
So yes for Float32 I use BFloat16, which is basically a very cheap binning method to collapse 2^16 values neighbouring values into one. For Float64, I'd probably either also use BFloat16 (as the conversion should be still fairly cheap Float64->Float32->BFloat16) but with the risk that some non-zero Float64 values are round to zero(BFloat16) or Inf32, or define a "CFloat16" with 1 sign, 11 exp and 4 mantissa bits similar to how BFloat16s.jl does it
from sherlogs.jl.
Related Issues (5)
- register HOT 1
- TagBot trigger issue HOT 2
- `rand` does not work with Sherlog64 HOT 6
- Ambiguous type definition HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sherlogs.jl.