jupyenv
hasktorch
jupyenv | hasktorch | |
---|---|---|
6 | 15 | |
599 | 1,020 | |
1.8% | 1.4% | |
3.1 | 7.2 | |
7 days ago | 4 days ago | |
Nix | Haskell | |
MIT License | BSD 3-clause "New" or "Revised" License |
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.
jupyenv
-
JupyterLab 4.0
> There aren't good boundaries between Jupyter's own Python environment, and that of your notebooks— if you have a dependency which conflicts with one of Jupyter's dependencies, then good luck.
I believe that you can use https://github.com/tweag/jupyenv for this.
-
Ask HN: Fastest way to turn a Jupyter notebook into a website these days?
your task is very very broad
you mention you don't want to deal with AWS, if it's because of ad-hoc installation concerns and nothing else you can just run your notebooks in ready-made solutions like Google Colab, or Jupyter-book in Github ( https://github.com/executablebooks/jupyter-book ))
that would cover a lot of use cases right away without next to no learning curve
If you don't want to deal with AWS or similar, in that case:
- if it's a static notebook then you can obviously render it and serve the web content (might seem obvious but needs to be considered)
- if it's dynamic but has light hardware requirements, you can try jupyterlite which runs in the browser and should do a pyodine (webassembly CPython kernel) can do: https://jupyterlite.readthedocs.io/en/latest/try/lab/
- otherwise, you can try exposing a dockerised jupyter env ( as in https://github.com/MKAbuMattar/dockerized-jupyter-notebook/b... ) or even better a nixified one ( https://github.com/tweag/jupyenv )
there might be other approaches I'm missing, but I think that's pretty much it that doesn't entail some proprietary solution or an ad-hoc installation as you've been doing
-
Need help Integrating Hasktorch into my Haskell Jupyter environment using Nix
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.
-
is nix datasci
i looked at https://nixos.org/manual/nixpkgs/stable/#python https://nix-tutorial.gitlabpages.inria.fr/nix-tutorial/index.html https://github.com/tweag/jupyterWith and i can setup jupyterwith + math-nix + flake to make torch + jupyter
-
How to use Matplotlib for Haskell in IHaskell
You could look into jupyterWith. With that you can list the packages you want to use in a shell.nix file; based on this file an environment is created in which Jupyter is run. I've also had issues with using packages with regular IHaskell in the past, but jupyterWith works pretty well for me.
-
Why isn't NixOS more popular
(Hopefully the Flakes version of Nix gets released soon, and JupyterWith gets the flake treatment!)
hasktorch
- BLAS GPU bindings
-
Trying out Hasktorch but ghc supported versions conflicts on MacOS M1/2
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)
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
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?
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]
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
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
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?
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
What are some alternatives?
nixos-manager - Manage your NixOS packages and configuration via a simple, intuitive UI
grenade - Deep Learning in Haskell
ihaskell - A Haskell kernel for the Jupyter project.
dex-lang - Research language for array processing in the Haskell/ML family
nbformat - Reference implementation of the Jupyter Notebook format
finito - A constraint solver for finite domains, written in Haskell.
fastpages - An easy to use blogging platform, with enhanced support for Jupyter Notebooks.
tensor-safe - A Haskell framework to define valid deep learning models and export them to other frameworks like TensorFlow JS or Keras.
jupyter-collaboration - A Jupyter Server Extension Providing Support for Y Documents
Etage - A general data-flow framework featuring nondeterminism, laziness and neurological pseudo-terminology.
nb_conda_kernels - Package for managing conda environment-based kernels inside of Jupyter
futhark - :boom::computer::boom: A data-parallel functional programming language