accelerate VS hasktorch

Compare accelerate vs hasktorch and see what are their differences.

hasktorch

Tensors and neural networks in Haskell (by hasktorch)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
accelerate hasktorch
9 15
886 1,013
0.5% 0.9%
5.3 7.2
16 days ago 3 months ago
Haskell Haskell
BSD 3-clause "New" or "Revised" License BSD 3-clause "New" or "Revised" License
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.

accelerate

Posts with mentions or reviews of accelerate. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-23.
  • Should I use newer ghc?
    2 projects | /r/haskell | 23 Feb 2023
    Someone has opened a PR for accelerate here https://github.com/AccelerateHS/accelerate/pull/525 (sadly seems not actively maintained at the moment, but that can always change if people care enough). I agree for an executable you should freeze your dependencies and compiler version, and using 8.10 is fine. Although there are tons of improvements in 9.2+
  • Haskell deep learning tutorials [Blog]
    4 projects | /r/haskell | 23 Jan 2023
    Backprop is a neat library. However, I guess its use case is if you actually don't want to go for anything standard like Torch or TF (perhaps for research?) For instance, if I were to use something like Accelerate for GPU acceleration, or some other computation-oriented library, then I would mix it with Backprop. Previously, I have benefited from Backprop in a ConvNet tutorial and I liked it.
  • I made a petition to get the accelerate project for Haskell some funding.
    1 project | /r/haskell | 5 Jan 2023
    Wait, really? Here's a conversation I had with him: https://github.com/AccelerateHS/accelerate/discussions/528
  • Who is researching array languages these days?
    5 projects | /r/Compilers | 15 Oct 2022
    I know Accelerate is being developed at Utrecht University in the Netherlands. You can look at publications by Trevor McDonell to get a taste of what they are doing.
  • Next Decade in Languages: User Code on the GPU
    3 projects | /r/ProgrammingLanguages | 25 Jun 2022
    I’m personally a big fan of http://www.acceleratehs.org / https://github.com/AccelerateHS/accelerate-llvm
  • Introduction to Doctests in Haskell
    6 projects | /r/haskell | 19 Apr 2022
    Looking for a few projects that make use of it, I found accelerate, hawk, polysemy and pretty-simple, so I'll be interested to poke around in their code and see how they have things set up.
  • Monthly Hask Anything (March 2022)
    5 projects | /r/haskell | 2 Mar 2022
    There's accelerate for GPU computing and hmatrix for bindings to BLAS and LAPACK.
  • Idris2+WebGL, part #12: Linear algebra with linear types... not great
    1 project | dev.to | 1 Mar 2021
    I'm toying with the idea of replacing vector values with vector generators, where e.g. v1 + v2 is not evaluated to a new vector, but to a vector program. This is similar to the approaches of Accelerate and TensorFlow. On the flip side, I don't think I could get rid of the overhead, and I expect much smaller computation loads than aforementioned libraries, so overheads could be very significant. The added benefit of using vector generators is that the generator could not only be evaluated, but also be turned into a Latex formula.

hasktorch

Posts with mentions or reviews of hasktorch. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-13.
  • BLAS GPU bindings
    1 project | /r/haskell | 6 Dec 2023
  • Trying out Hasktorch but ghc supported versions conflicts on MacOS M1/2
    2 projects | /r/haskell | 13 Mar 2023
    I assume you are getting https://github.com/hasktorch/hasktorch/issues/631? I suspect you need to upgrade to GHC 9.2 to work reliably on M1.
  • Is Haskell okay for prototyping machine learning models for research (discovery and exploration)
    4 projects | /r/haskell | 27 Feb 2023
    You might find the Deep Learning From The First Principles tutorials by Bogdan Penkovsky an interesting survey of native Haskell implementations of deep neural networks, and a bit more. It demonstrates some native charting capabilities, and Day 9 uses Hasktorch.
  • Need help Integrating Hasktorch into my Haskell Jupyter environment using Nix
    2 projects | /r/NixOS | 26 Feb 2023
    I'm new to Nix and I'm trying to set up a Jupyter notebook environment for Haskell that includes the Hasktorch package. I'm using the jupyenv project from Tweag as the foundation, and I've been able to get it working with some basic Haskell packages. However, I'm running into issues when I try to add Hasktorch to the mix.
  • [D] Have their been any attempts to create a programming language specifically for machine learning?
    12 projects | /r/MachineLearning | 11 Feb 2023
    That said, there are some things that try to do this. Haskell has a port of torch called HaskTorch that includes this kind of typed tensor shapes, and calls the Z3 theorem prover on the backend to solve type inference. It can get away with this because of the LiquidHaskell compiler extension, which has refinement types capable of solving this kind of typing problem, and is already pretty mature. Dex is a research language from Google that's based on Haskell and built to explore this kind of typechecking. Really you'd want to do this in Rust, because that's where the tradeoff of speed and safety for convenience makes the most sense, but rust is just barely on the edge of having a type system capable of this. You have to get really clever with the type system to make it work at all, and there's been no sustained push from any company to develop this into a mature solution. Hopefully something better comes along soon
  • Haskell deep learning tutorials [Blog]
    4 projects | /r/haskell | 23 Jan 2023
    As rightfully pointed u/gelisam, both Hasktorch and Pytorch are essentially the same things (bindings to existing Torch library). Therefore, it should be generally possible to use existing pretrained models. Here is an example.
  • base case
    2 projects | /r/haskell | 19 Dec 2022
    I think it's likely that http://hasktorch.org/ is the library you will want to use for AI models, once you feel comfortable with Haskell.
  • looking for simple regression (or classification) library
    5 projects | /r/haskell | 28 Oct 2022
    IF (big if) it turns out you do need deep learning then doing it in Hasktorch http://hasktorch.org/ could be a fun learning project. The team making it is super nice and responsive, too
  • Haskell for Artificial Intelligence?
    6 projects | /r/haskell | 30 May 2022
    This said, if you want do do deep learning Python is the obvious choice atm, if only for copy-pasting code from examples (however do you know HaskTorch? https://github.com/hasktorch/hasktorch/ )
  • GPU-based deep learning in Haskell
    1 project | /r/haskell | 26 Jan 2022

What are some alternatives?

When comparing accelerate and hasktorch you can also consider the following projects:

dhall - Maintainable configuration files

grenade - Deep Learning in Haskell

accelerate-bignum - Fixed-length large integer arithmetic for Accelerate

dex-lang - Research language for array processing in the Haskell/ML family

accelerate-cuda - DEPRECATED: Accelerate backend for NVIDIA GPUs

finito - A constraint solver for finite domains, written in Haskell.

hyper-haskell-server - The strongly hyped Haskell interpreter.

tensor-safe - A Haskell framework to define valid deep learning models and export them to other frameworks like TensorFlow JS or Keras.

accelerate-fft - FFT library for Haskell based on the embedded array language Accelerate

Etage - A general data-flow framework featuring nondeterminism, laziness and neurological pseudo-terminology.

feldspar-compiler - This is the compiler for the Feldspar Language.

futhark - :boom::computer::boom: A data-parallel functional programming language