Mooncake

Implementation of language-level autograd compiler for Julia

https://github.com/chalk-lab/mooncake.jl

Science Score: 52.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
    Organization chalk-lab has institutional domain (mlg.eng.cam.ac.uk)
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.2%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

Implementation of language-level autograd compiler for Julia

Basic Info
Statistics
  • Stars: 301
  • Watchers: 7
  • Forks: 19
  • Open Issues: 84
  • Releases: 214
Created almost 3 years ago · Last pushed 6 months ago
Metadata Files
Readme Changelog License Citation Support

README.md

Mooncake logo # Mooncake.jl [![Build Status](https://github.com/chalk-lab/Mooncake.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/chalk-lab/Mooncake.jl/actions/workflows/CI.yml?query=branch%3Amain) [![codecov](https://codecov.io/github/chalk-lab/Mooncake.jl/graph/badge.svg?token=NUPWTB4IAP)](https://codecov.io/github/chalk-lab/Mooncake.jl) [![Code Style: Blue](https://img.shields.io/badge/code%20style-blue-4495d1.svg)](https://github.com/JuliaDiff/BlueStyle) [![ColPrac: Contributor's Guide on Collaborative Practices for Community Packages](https://img.shields.io/badge/ColPrac-Contributor's%20Guide-blueviolet)](https://github.com/SciML/ColPrac) [![Stable docs](https://img.shields.io/badge/docs-stable-blue.svg)](https://chalk-lab.github.io/Mooncake.jl/stable) [![Aqua QA](https://raw.githubusercontent.com/JuliaTesting/Aqua.jl/master/badge.svg)](https://github.com/JuliaTesting/Aqua.jl)

The goal of the Mooncake.jl project is to produce an AD package which is written entirely in Julia, which improves over ForwardDiff.jl, ReverseDiff.jl and Zygote.jl in several ways, and is competitive with Enzyme.jl. Please refer to the docs for more info.

Getting Started

Check that you're running a version of Julia that Mooncake.jl supports. See the SUPPORT_POLICY.md file for more info.

There are several ways to interact with Mooncake.jl. We recommend that people interact with Mooncake.jl via DifferentiationInterface.jl. For example, use it as follows to compute the gradient of a function mapping a Vector{Float64} to Float64. ```julia using DifferentiationInterface import Mooncake

f(x) = sum(cos, x) backend = AutoMooncake() # Reverse-mode AD. For forward-mode AD, use AutoMooncakeForward(). x = ones(1000) prep = preparegradient(f, backend, x) gradient(f, prep, backend, x) `` You should expect thatprepare_gradienttakes a little bit of time to run, but thatgradient` is fast.

We are committed to ensuring support for DifferentiationInterface, which is why we recommend using that. If you are interested in interacting more directly with Mooncake.jl, you should consider Mooncake.value_and_gradient!!. See its docstring for more info.

Owner

  • Name: Learning and Inference Group
  • Login: chalk-lab
  • Kind: organization
  • Location: United Kingdom

Hong Ge's Research Group at Cambridge University

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Tebbutt"
  given-names: "Will"
- family-names: "Ge"
  given-names: "Hong"
title: "Differentiable learning and simulation with Mooncake"
date-released: 2024
url: "https://github.com/chalk-lab/Mooncake.jl"

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 72
  • Total pull requests: 170
  • Average time to close issues: about 1 month
  • Average time to close pull requests: 3 days
  • Total issue authors: 28
  • Total pull request authors: 16
  • Average comments per issue: 2.39
  • Average comments per pull request: 3.86
  • Merged pull requests: 106
  • Bot issues: 0
  • Bot pull requests: 6
Past Year
  • Issues: 70
  • Pull requests: 170
  • Average time to close issues: about 1 month
  • Average time to close pull requests: 3 days
  • Issue authors: 28
  • Pull request authors: 16
  • Average comments per issue: 2.39
  • Average comments per pull request: 3.86
  • Merged pull requests: 106
  • Bot issues: 0
  • Bot pull requests: 6
Top Authors
Issue Authors
  • yebai (16)
  • MilesCranmer (10)
  • willtebbutt (10)
  • gdalle (4)
  • penelopeysm (3)
  • PTWaade (3)
  • tpapp (2)
  • Red-Portal (2)
  • mhauru (2)
  • ChrisRackauckas (2)
  • timholy (1)
  • yolhan83 (1)
  • araujoms (1)
  • deveshjawla (1)
  • KookiesNKareem (1)
Pull Request Authors
  • yebai (44)
  • willtebbutt (37)
  • AstitvaAggarwal (21)
  • MilesCranmer (20)
  • Copilot (18)
  • sunxd3 (8)
  • github-actions[bot] (5)
  • shravanngoswamii (5)
  • gdalle (3)
  • kshyatt (2)
  • lukas-weber (2)
  • cncastillo (1)
  • dependabot[bot] (1)
  • ErikQQY (1)
  • MasonProtter (1)
Top Labels
Issue Labels
enhancement: new rules required (10) enhancement (testing) (8) enhancement (8) bug (4) high priority (3) documentation (3) enhancement (performance) (2) solution known (2) help wanted (2) perpetual (1) forward-mode (1)
Pull Request Labels
dependencies (1) github_actions (1)

Packages

  • Total packages: 1
  • Total downloads:
    • julia 247 total
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 156
juliahub.com: Mooncake

Implementation of language-level autograd compiler for Julia

  • Versions: 156
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 247 Total
Rankings
Dependent repos count: 3.2%
Downloads: 7.4%
Average: 9.0%
Dependent packages count: 16.3%
Last synced: 6 months ago

Dependencies

.github/workflows/CI.yml actions
  • actions/checkout v4 composite
  • julia-actions/cache v1 composite
  • julia-actions/julia-buildpkg v1 composite
  • julia-actions/julia-runtest v1 composite
  • julia-actions/setup-julia v1 composite
.github/workflows/CompatHelper.yml actions
.github/workflows/TagBot.yml actions
  • JuliaRegistries/TagBot v1 composite