Git Product home page Git Product logo

Comments (4)

milankl avatar milankl commented on May 29, 2024

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.

milankl avatar milankl commented on May 29, 2024

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.

bjarthur avatar bjarthur commented on May 29, 2024

ah, you used BFloat16. ok, i'll try that. but why restrict the logbooks to be 16 bits?

from sherlogs.jl.

milankl avatar milankl commented on May 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.