husky
Empowering everyone towards next generation AI and software. (by xiyuzhai-husky-lang)
dfdx
Deep learning in Rust, with shape checked tensors and neural networks (by coreylowman)
husky | dfdx | |
---|---|---|
2 | 22 | |
76 | 1,621 | |
- | - | |
9.9 | 8.7 | |
19 days ago | 3 months ago | |
Rust | Rust | |
MIT License | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
husky
Posts with mentions or reviews of husky.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-11.
-
Is C++ worth learning for the person who wants to become a CV professional/expert?
I’m a PhD at MIT. I have strong reasons to believe the field of computer vision will go under significant change in the coming years, and just knowing python will be very bad. You can see my project https://github.com/xiyuzhai-husky-lang/husky. I’ve been working on it for years. What it does is to replace deep learning with new geometric operations and a new programming language. Feature engineering is coming back to the scene, with better efficiency robustness explainability etc. The point is, you never know how things are going to evolve. Python might be irrelevant for the next generation AI because it’s such an easy language.
-
Help me stay 'fit' in rust
I’m using rust to write a new programming language that have pythonic syntax but with all the capabilities and safety of rust (https://github.com/ancient-software/husky). This is my PhD work. It’s meant for new machine learning methods beyond deep learning.
dfdx
Posts with mentions or reviews of dfdx.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-04-13.
- Shape Typing in Python
-
Candle: Torch Replacement in Rust
I keep checking the progress on dfdx for this reason. It does what I (and, I assume from context, you) want: Provides static checking of tensor shapes. Which is fantastic. Not quite as much inference as I'd like but I love getting compile-time errors that I forgot to transpose before a matmul.
It depends on the generic_const_exprs feature which is still, to quote, "highly experimental":
https://github.com/rust-lang/rust/issues/76560
Definitely not for production use, but it gives a flavor for where things can head in the medium term, and it's .. it's nice. You could imagine future type support allowing even more inference for some intermediate shapes, of course, but even what it has now is really nice. Like this cute little convnet example:
https://github.com/coreylowman/dfdx/blob/main/examples/night...
- Dfdx: Shape Checked Deep Learning in Rust
- Are there some machine or deep learning crates on Rust?
-
[Discussion] What crates would you like to see?
And for transformers, it's really early days for dfdx, but it's a library that aims to sit basically at the Pytorch level of abstraction, that the difference is it's not just coded in Rust, but it follows the Rust-y/functional-y philosophy of "if it compiles it runs".
-
rapl: Rank Polymorphic array library for Rust.
Wow that is super interesting. I actually tried to use GATs at first to be generic over shapes, but I couldn't do it, I'm sure it would be possible in the future though. There is this library dfdx that does something similar to what you mentioned, but it feels a little clumsy to me.
-
Announcing cudarc and fully GPU accelerated dfdx: ergonomic deep learning ENTIRELY in rust, now with CUDA support and tensors with mixed compile and runtime dimensions!
Awesome, I added an issue here https://github.com/coreylowman/dfdx/issues/597. We can discuss more there! The first step will just be adding the device and implementing tensor creation methods for it.
-
In which circumstances is C++ better than Rust?
The next release of dfdx includes a CUDA device and implements many ops. The same dev created a new crate, cudarc, for a wrapper around CUDA toolkit.
- This year I tried solving AoC using Rust, here are my impressions coming from Python!
-
Deep Learning in Rust: Burn 0.4.0 released and plans for 2023
A question I have is: what are the philosophical/design differences with dfdx? As someone who's played around with dfdx and only skimmed the README of burn, it seems like dfdx leans into Rust's type system/type inference for compile time checking of as much as is possible to check at compile time. I wonder if you've gotten a chance to look at dfdx and would like to outline what you think the differences are. Thanks!