DiscoGrad
github.com · Open source · Quiet
Automatic differentiation for C++ programs with branches
- Developer tools
- Open source
- C++
- Day-7 check
- Day-30 check
- autodiff
- optimization
- automatic differentiation
- c gradients
- gradient descent simulation
- differentiable programming
- branch smoothing
- Stars
- 210
- Forks
- 5
- Open issues
- 0
- Last commit
- Found
- 2 years ago
GitHub figures as of . They are context, not a ranking.
DiscoGrad is a C++ tool that computes gradients through programs with input-dependent branches and randomness, so gradient descent can work on simulations. It offers several backends that account for alternative branches, which the authors say gives useful descent directions.
Repository description on GitHub: “DiscoGrad - automatically differentiate across conditional branches in C++ programs”
What it does
- Automatic differentiation through C++ programs with branches
- Smoothed gradients across branches, with optional perturbation
- Several gradient estimation backends and Torch integration
- Sample applications in transport, crowd and epidemiology models
Good for
- Compute gradients through simulations that contain if-else branches
- Train a C++ program that combines a neural network with branching logic
Suits: Researchers optimizing simulations with gradient descent.
Worth knowing: A research prototype that supports only basic C++ constructs.
What you can try
Read the README on GitHub and install from source.
Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.
Found vs. released
Kip first saw DiscoGrad on , when frankling_ posted it to Show HN. GitHub listed no published releases for DiscoGrad/DiscoGrad when checked , so the project may ship straight from its main branch. The repository was created .
Day-7 and day-30 updates
Day 7 no new release
- No tagged release was published in the first 7 days after it was found (GitHub release dates).
- Show HN discussion at check time: 232 points, 66 comments. API record
Checked , later than day 7 because tracking began after.
Day 30 no new release
- No tagged release was published in the first 30 days after it was found (GitHub release dates).
- Show HN discussion at check time: 232 points, 66 comments. API record
Checked , later than day 30 because tracking began after.
Release timeline every entry links to its source
- Repository created on GitHub: DiscoGrad/DiscoGrad
- Found: frankling_ posted it to Show HN. Show HN
- Day-7 check recorded by Kip (details)
- Day-30 check recorded by Kip (details)
Quick answers
- When was DiscoGrad released?
- No dated release record is available. Kip found it on Show HN on 26 May 2024.
- Is DiscoGrad open source?
- Its source is public on GitHub at DiscoGrad/DiscoGrad under the MIT licence.
- What does DiscoGrad run on?
- Library.
- Is DiscoGrad free?
- It is open source, so the code is free to read and run; check the licence for terms.
- Is DiscoGrad still maintained?
- It has had no commit or release for over a year as of the latest check.
Provenance
| Source | Record | Last checked |
|---|---|---|
| Show HN | listing official API record | |
| GitHub repository | DiscoGrad/DiscoGrad REST API record | |
| GitHub Releases | release list REST API record |
Stable ID hn-40481578. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.
Share
Similar tools
Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.