rust-ndarray
Graphite
Our great sponsors
rust-ndarray | Graphite | |
---|---|---|
20 | 45 | |
3,254 | 5,503 | |
3.2% | 5.4% | |
8.1 | 9.6 | |
12 days ago | 2 days ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rust-ndarray
-
Some Reasons to Avoid Cython
I would love some examples of how to do non-trivial data interop between Rust and Python. My experience is that PyO3/Maturin is excellent when converting between simple datatypes but conversions get difficult when there are non-standard types, e.g. Python Numpy arrays or Rust ndarrays or whatever other custom thing.
Polars seems to have a good model where it uses the Arrow in memory format, which has implementations in Python and Rust, and makes a lot of the ndarray stuff easier. However, if the Rust libraries are not written with Arrow first, they become quite hard to work with. For example, there are many libraries written with https://github.com/rust-ndarray/ndarray, which is challenging to interop with Numpy.
(I am not an expert at all, please correct me if my characterizations are wrong!)
-
faer 0.8.0 release
Sadly Ndarray does look a little abandoned to me: https://github.com/rust-ndarray/ndarray
-
Status and Future of ndarray?
The date of the last commit of [ndarray](https://github.com/rust-ndarray/ndarray) lies 6 month in the past while many recent issues are open and untouched.
-
Announcing Burn: New Deep Learning framework with CPU & GPU support using the newly stabilized GAT feature
Burn is different: it is built around the Backend trait which encapsulates tensor primitives. Even the reverse mode automatic differentiation is just a backend that wraps another one using the decorator pattern. The goal is to make it very easy to create optimized backends and support different devices and use cases. For now, there are only 3 backends: NdArray (https://github.com/rust-ndarray/ndarray) for a pure rust solution, Tch (https://github.com/LaurentMazare/tch-rs) for an easy access to CUDA and cuDNN optimized operations and the ADBackendDecorator making any backend differentiable. I am now refactoring the internal backend API to make it as easy as possible to plug in new ones.
-
Pure rust implementation for deep learning models
Looks like it's an open request
-
The Illustrated Stable Diffusion
https://github.com/rust-ndarray/ndarray/issues/281
Answer: you can’t with this crate. I implemented a dynamic n-dim solution myself but it uses views of integer indices that get copied to a new array, which have indexes to another flattened array in order to avoid duplication of possibly massive amounts of n-dimensional data; using the crate alone, copying all the array data would be unavoidable.
Ultimately I’ve had to make my own axis shifting and windowing mechanisms. But the crate is still a useful lib and continuing effort.
While I don’t mind getting into the weeds, these kinds of side efforts can really impact context focus so it’s just something to be aware of.
-
Any efficient way of splitting vector?
In principle you're trying to convert between columnar and row-based data layouts, something that happens fairly often in data science. I bet there's some hyper-efficient SIMD magic that could be invoked for these slicing operations (and maybe the iterator solution does exactly that). Might be worth taking a look at how the relevant Rust libraries like ndarray do it.
-
Rust or C/C++ to learn as a secondary language?
ndarray and numpy crates provide good way to operate on numpy ndarrays from python
-
Enzyme: Towards state-of-the-art AutoDiff in Rust
I don't think any of the major ML projects have GPU acceleration because ndarray doesn't support it.
-
Announcing Rust CUDA 0.2
Not sure about ndarray: https://github.com/rust-ndarray/ndarray/issues/840
Graphite
-
Any good beginner open source projects for a guy with a math background?
If you're interested in either computational geometry, layout/packing/constraints, or functional programming language concepts, those are all the math-related concepts that we're currently interacting with for Graphite, a 2D vector graphics editor that's aiming to become the next Blender (but for 2D instead of 3D). If that sounds interesting, I'd love to help get you started if you want to join our Discord and I can explain the math-related work that we need to get done. Cheers!
-
Things I wish I knew before moving 50K lines of code to React Server Components
Not sure which web-based spreadsheet app you're talking about, because there are many that do use these frameworks. Here's a PS/AI clone built with a Svelte frontend: https://graphite.rs
- Graphite: In-development raster and vector 2D graphics editor that is FOSS
-
What’s everyone working on this week (25/2023)?
Wanted to contribute to a good Rust-based project last week, started searching and found a good Reddit thread featuring several great projects. Looked at and found Graphite. I liked the concept though I know almost nothing about graphic design.
-
Any open source projects willing to take in juniors?
If you're interested in helping us build a 2D graphics editing suite for designers and artists, consider contributing to Graphite. Getting started instructions are here. We code review PRs closely and give feedback to help you improve, and offer advice and mentorship via our Discord while you're learning and coding.
-
Contributing to Open Source
If graphical apps suit your fancy, the Graphite tries hard to make new contributors feel at home.
-
Rust = most fun language?
Yesterday I just submitted my first contribution to open source. https://github.com/GraphiteEditor/Graphite
-
SD just released an open source version of their GUI called StableStudio
I run an open source 2D graphics editor project and our license is Apache 2.0 (which is basically the same as MIT) which provides much more freedom than the GPL does, since it's not copyleft. We have a Stable Diffusion feature built in, and we want to provide a hosted component so users can utilize that feature without self-hosting. A1111 being AGPL likely means we have to find an alternate backend. I'm looking into other options like SHARK (and would love some ideas if anyone else has suggestions).
-
Any new Opensource projects in (rust) looking for contributors. I want to start my journey as an OSS contributor.
Graphite is an in-development 2D creative tool for vector and raster graphics editing (basically, the goal is to make a better Inkscape and Gimp, plus way more). If that's interesting to you, we try really hard to have an inviting community that makes it approachable to get up and running with contributing to the project. Come say hi on our Discord and I can help get you set up. Or read our quick contributing tutorial/intro.
-
What’s everyone working on this week (19/2023)?
And remember to give the project a ⭐ on the 🐙🐈 repo! https://github.com/GraphiteEditor/Graphite
What are some alternatives?
nalgebra - Linear algebra library for Rust.
Rust-CUDA - Ecosystem of libraries and tools for writing and executing fast GPU code fully in Rust.
image - Encoding and decoding images in Rust
egui - egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native
neuronika - Tensors and dynamic neural networks in pure Rust.
utah - Dataframe structure and operations in Rust
linfa - A Rust machine learning framework.
dasp - The fundamentals for Digital Audio Signal Processing. Formerly `sample`.
nshare - Provides an interface layer to convert between n-dimensional types in different Rust crates
Method-Draw - Method Draw, the SVG Editor for Method of Action
fundsp - Library for audio processing and synthesis
rust-dsp - A library for sound Digital Signal Processing, written in Rust