shumai
taichi
shumai | taichi | |
---|---|---|
15 | 36 | |
1,122 | 24,779 | |
0.2% | 0.5% | |
2.2 | 9.1 | |
9 months ago | 7 days ago | |
TypeScript | C++ | |
MIT License | 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.
shumai
-
PyTorch Primitives in WebGPU for the Browser
https://github.com/tensorflow/tfjs/tree/master/tfjs-backend-...
([...], tflite-support, tflite-micro)
From facebookresearch/shumai (a JS tensor library) https://github.com/facebookresearch/shumai/issues/122 :
> It doesn't make sense to support anything besides WebGPU at this point. WASM + SIMD is around 15-20x slower on my machine[1]. Although WebGL is more widely supported today, it doesn't have the compute features needed for efficient modern ML (transformers etc) and will likely be a deprecated backend for other frameworks when WebGPU comes online.
tensorflow rust has a struct.Tensor:
-
Why do people curse JS so much, but also say it's better than Python
JS for ML actually does exist https://github.com/facebookresearch/shumai
-
Breaking Up with Python
> It's really a shame that data science, ML, and notebooks are so wrapped up in it. Otherwise we could jettison the whole thing into space
Although I personally feel Python has its place, I contribute to a project that hopes to diversify the ML/scientific computing space with a TypeScript tensor lib called Shumai: https://github.com/facebookresearch/shumai
-
Tinygrad: A simple and powerful neural network framework
Doesn’t really matter for large batch/large model training on GPUs that don’t need much coordination.
But Python speed is one of the main motivations for a JS/TS based ML lib I’m working on: https://github.com/facebookresearch/shumai
-
[D] Using JavaScript for ML Training/Research (not in the browser)
As a hedge against CPython never becoming fast, we're creating a project called Shumai that attempts to deeply integrate with a new JavaScript runtime (Bun[3]).
-
Python 3.11 is much faster than 3.8
You can expose objects. Here's how it is done in Bun: https://github.com/facebookresearch/shumai/blob/main/shumai/...
We've been using this feature heavily in Shumai.
I think you are vastly overestimating the complexity associated with this (user exposed ref-counting/garbage collection) and may not be totally up to date on what's implemented.
- Shumai: Fast Differentiable Tensor Library in TypeScript with Bun and Flashlight
- Shumai: A fast differentiable tensor library for research in TypeScript and JavaScript
-
7% Speedup from Switch to and
This thought is pretty much the exact motivation behind a recent effort I’m helping out with https://github.com/facebookresearch/shumai
taichi
-
This Week In Python
taichi – Productive, portable, and performant GPU programming in Python
- Taichi: Accessible GPU programming, embedded in Python
-
The GIL can now be disabled in Python's main branch
ETH Zurich is using it for their physics sim courses, University of Utah is using it for simulations (SIGGRAPH 2022), OPPO (they make smart devices running Android), Kuaishou uses it for liquid and gas simulation on GPUs. Lots of GPU accelerated sim stuff.
https://www.taichi-lang.org/
https://www.researchgate.net/publication/337118128_Taichi_a_...
https://github.com/taichi-dev/taichi
- Julia and Mojo (Modular) Mandelbrot Benchmark
-
Taichi v1.5.0 Released! See what's new👇
Check our the realease note (https://github.com/taichi-dev/taichi/releases) for more improvements.
-
You Don't Know Jax
I've recently started using Taichi (https://taichi-lang.org/) for numerical codes and the fact it doesn't try to trick you into thinking it's numpy is a nice "feature". ;)
- How can I get into this type of animation with programming?
-
Taichi v1.4.0 released!
Taichi v1.4.0 is released! See what's new: - Taichi AOT, along with a native Taichi Runtime library: Native applications can now load compiled AOT modules and launch Taichi kernels without a Python interpreter. - Taichi ndarray: An array object that holds contiguous multi-dimensional data to allow easy data exchange with external libraries. - Dynamic index: Use variable indices whenever necessary on all backends without affecting the performance of those matrices with only constant indices. See deprecation and more improvements in the release note.
-
Is Nvidia CUDA Used in VFX Software Tools?
Oh, then if you're not already tied to any particular VFX software, I might as well recommend Taichi again.
-
Marching squares algorithm implemented with Taichi: Struct Taichi fields and dynamic SNodes are used to represent line segments, and linear interpolation applied to smoothen the boundaries.
It's an upgrade of a basic version. See changes to the source code here: https://github.com/taichi-dev/taichi/pull/6851
What are some alternatives?
rosettaboy - A gameboy emulator in several different languages
Halide - a language for fast, portable data-parallel computation
jittor - Jittor is a high-performance deep learning framework based on JIT compiling and meta-operators.
dolfinx - Next generation FEniCS problem solving environment
openpilot - openpilot is an open source driver assistance system. openpilot performs the functions of Automated Lane Centering and Adaptive Cruise Control for 250+ supported car makes and models.
Data-Science-For-Beginners - 10 Weeks, 20 Lessons, Data Science for All!
devdocs - API Documentation Browser
difftaichi - 10 differentiable physical simulators built with Taichi differentiable programming (DiffTaichi, ICLR 2020)
FrameworkBenchmarks - Source for the TechEmpower Framework Benchmarks project
open-im-server - IM Chat
Pytorch - Tensors and Dynamic neural networks in Python with strong GPU acceleration
copilot.vim - Neovim plugin for GitHub Copilot