onnx-tensorflow
tch-rs
onnx-tensorflow | tch-rs | |
---|---|---|
6 | 37 | |
1,236 | 3,860 | |
0.6% | - | |
0.0 | 7.5 | |
about 1 month ago | 3 days ago | |
Python | Rust | |
GNU General Public License v3.0 or later | 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.
onnx-tensorflow
-
How to Solve "BackendIsNotSupposedToImplementIt: Unsqueeze version 13 is not implemented."?
How to solve this? I found below github issue which they solved i think, but im not to able to find the solution https://github.com/onnx/onnx-tensorflow/pull/1022
-
[D] Library to transfer PyTorch to TF
Okay, maybe it worked some years ago. The issue currently is that the trainable weights get lost...which is by design https://github.com/onnx/onnx-tensorflow/issues/1002
-
Has anyone successfully converted an onnx model to tensorflow? Here's the problems I'm having...
TLDR: I'm using onnx-tf to convert an onnx model to tensorflow. During the conversion I lose important information such as inputs, outputs and the names of operators. Please read on if you have experience with this library or you've experienced similar issues. :)
-
Portability of Rust in 2021
We had a few small issues with ONNX. Export worked but when running with e.g. tflite stumbled for example across this https://github.com/onnx/onnx-tensorflow/issues/853 Also the support for sampling from distributions is generally still pretty weak, but we were able to work around that.
-
[D] How to reduce latency of DL models
https://pytorch.org/tutorials/advanced/super\_resolution\_with\_onnxruntime.html https://github.com/onnx/onnx-tensorflow
-
Possible to retrain onnx model?
https://github.com/onnx/onnx-tensorflow Haven’t tried it, let me know if it works.
tch-rs
- Tch-Rs
-
Llama2.rs: One-file Rust implementation of Llama2
I wanted to do something like this but then I would miss on proper CUDA acceleration and lose performance compared to using torchlib.
I wrote a forgettable llama implementation for https://github.com/LaurentMazare/tch-rs (pytorch's torchlib rust binding).
-
Playing Atari Games in OCaml
I first encountered OCaml's PyTorch bindings because apparently they generate a C wrapper around PyTorch's C++ API, and Rust's PyTorch bindings use OCaml's C wrapper. See: https://github.com/LaurentMazare/tch-rs
-
llm: a Rust crate/CLI for CPU inference of LLMs, including LLaMA, GPT-NeoX, GPT-J and more
You could try looking at the min-GPT example of tch-rs. I'd also strongly suggest watching Karpathy's video to understand what's going on.
-
Simply explained: How does GPT work?
If you pefer to see it in code there's a succint gpt implementation here https://github.com/LaurentMazare/tch-rs/blob/main/examples/m...
-
Will I ever need python again if I learn rust other than for AI stuff?
Rust is fully compatible w/ C bindings, so even Python libraries written in C can be easily set up to work in Rust (and have been). For example, see PyTorch Rust bindings, which actually works faster than in Python because all of the glue code around the C++ API is in Rust instead of Python.
-
A Rust client library for interacting with Microsoft Airsim https://github.com/Sollimann/airsim-client
Pytorch
- [D] HuggingFace in Julia or Rust ?
- This year I tried solving AoC using Rust, here are my impressions coming from Python!
-
[Help Needed] Deployment of torchscript using rust
I have looked into this a bit and found some crates which help in loading torchscript models called tch-rs
What are some alternatives?
onnxruntime - ONNX Runtime: cross-platform, high performance ML inferencing and training accelerator
netron - Visualizer for neural network, deep learning and machine learning models
candle - Minimalist ML framework for Rust
tokenizers - 💥 Fast State-of-the-Art Tokenizers optimized for Research and Production
cbindgen - A project for generating C bindings from Rust code
guesslang - Detect the programming language of a source code
wtpsplit - Code for Where's the Point? Self-Supervised Multilingual Punctuation-Agnostic Sentence Segmentation
models - Models and examples built with TensorFlow
veloren - An open world, open source voxel RPG inspired by Dwarf Fortress and Cube World. This repository is a mirror. Please submit all PRs and issues on our GitLab page.
pytorch2keras - PyTorch to Keras model convertor
rustlearn - Machine learning crate for Rust