Library / SDK
uncomplicate/deep-diamond avatar
uncomplicate/deep-diamond

Deep Diamond: Clojure tensors and neural networks on native backends

A fast Clojure Tensor & Deep Learning library

467 stars21 forksClojureEPL-1.0

At a glance

What is it?
Deep Diamond is a Clojure library for tensor and neural-network computation using native CPU and GPU libraries. Its Clojars packages and example projects provide starting points for installation and backend selection.
Who is it for?
Deep Diamond is worth evaluating for Clojure projects that need native tensor and neural-network computation. Check current Clojars versions and platform-specific native dependencies, then run the examples on your target system.
Can I use it commercially?
Yes, with conditions. EPL-1.0 is a weak copyleft licence: you can use it inside commercial and closed-source software, but if you distribute changes to its own files, you must publish those changes under the same licence.
Is it still maintained?
Yes. The repository last received commits 98 days ago.
What is it written in?
Mainly Clojure, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 25, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • uncomplicate/deep-diamond467 ★ · +0
Star history
Repository2026-09-112026-11-25
uncomplicate/deep-diamond467467

0 Stars in the last 75 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

Clojars coordinates and version

The README includes version badges for the aggregate package and individual modules. Clojars lists the aggregate dependency as `[uncomplicate/deep-diamond "0.47.1"]` for Leiningen and provides coordinates for other build tools. Check the package page for the current version before pinning it.

Platform dependencies in the example

The AOT example's project.clj lists Clojure and Deep Diamond dependencies, plus platform-specific native libraries. Its Linux and Windows profiles mark CUDA redistributables as optional; the macOS profile uses Accelerate and OpenBLAS. Review the example for your platform and verify any repository configuration instead of assuming every deployment needs the same sources.

Modules for native backends

The repository separates base, CUDA, oneDNN, BNNS, AOT, and test modules. The aggregate Clojars artifact lists base and backend packages as dependencies. Choose modules and native libraries for the target environment; GPU use also requires a compatible CUDA setup.

The AOT and standard examples

The repository includes hello-world and hello-world-aot projects. The AOT example uses the aggregate artifact and explains that ahead-of-time compilation can pin core.async; its maintainers recommend individual dependencies for production. Inspect the example's project.clj and platform profiles before running it.

License and version review

The README describes distribution under the Eclipse Public License 1.0 or, at the user's option, a later version. Review the license files and dependency terms for the exact artifacts you use; a copyright year alone does not establish the status of later changes.

Documentation and further reading

The project README gives a short overview and links to Clojars badges and an example project. The Clojars package page supplies dependency coordinates and links to cljdoc. Review the example source and API documentation for the version you choose.

Evaluate the project on your target system

Start with the example project and its declared dependencies, then verify native libraries and platform requirements on your target system. Pin the package and record your environment so builds can be reproduced. The top-level README is brief, so inspect the example and module sources for implementation details.

Editorial conclusion

Deep Diamond is worth evaluating for Clojure projects that need native tensor and neural-network computation. Check current Clojars versions and platform-specific native dependencies, then run the examples on your target system. The AOT example recommends selecting individual modules for production; test compatibility and resource use for your deployment.

Frequently asked questions

What is uncomplicate/deep-diamond used for?

Deep Diamond is a Clojure library for fast tensors and neural network related computations, built on top of native CPU and GPU libraries. It is distributed under the Eclipse Public License 1.0 or any later version at your option.

How do I add Deep Diamond to a Clojure project?

Clojars lists the aggregate artifact `uncomplicate/deep-diamond`; its page shows dependency coordinates for Leiningen and deps.edn. The repository's AOT example uses version 0.47.1 and includes platform-specific native dependencies. Check the current package page and example before installing.

Which Deep Diamond module handles the GPU?

The `org.uncomplicate/deep-diamond-cuda` package is the CUDA backend. The example marks CUDA redistributables as optional and notes their large size; confirm GPU, driver, platform, and dependency compatibility.

Does Deep Diamond have tagged releases?

Clojars publishes versioned artifacts, including 0.47.1 in the inspected example. GitHub releases and package versions are separate; check both the package registry and repository tags when choosing a version.

What license is Deep Diamond under?

The LICENSE file and the README both state the Eclipse Public License, version 1.0 or, at your option, any later version, with copyright for 2019-2025 Dragan Djuric. The repository index page lists the license as EPL-1.0.

Official sources

  1. Issues
  2. License: EPL-1.0
  3. Project website
  4. README
  5. uncomplicate/deep-diamond on GitHub

Was this useful?