Giter Club home page Giter Club logo

Comments (1)

trevorcai avatar trevorcai commented on July 17, 2024

Hey! DeepMind is a big place, so the reasons different researchers use JAX will depend on their individual use cases; the key features for metalearning aren't necessarily the same as for generative models.

I started working on Haiku with Tom to unblock my own projects. For my personal work:

  • As you mention, JAX is lightweight. I'm able to see through the framework.
  • JAX maps well to XLA's computational model. XLA is the primary pathway to using TPUs, which are a huge enabler for my research.
  • vmap and pmap are elegant ways of achieving parallelism.
  • Fast eager execution is useful for debugging.
  • XLA allows JAX to express computations as compositions of simple primitives, rather than a collection of fused ops. This enables two things:
    1. It's easy to write code that's fast and looks like the math, all in Python.
    2. Since everything is a composition of primitives, higher-order and mixed-mode autodiff is much easier.

Again, I want to emphasize that DeepMind has a large portfolio of research and that the researchers who do use JAX use it for a variety of reasons.

from dm-haiku.

Related Issues (20)

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.