Welcome to Marlin! This repository is dedicated to exploring and experimenting with Rust-based solutions for deep learning inferencing. Our goal is to leverage Rust's performance and safety features to improve the efficiency of serving large deep learning models.
Marlin is an experimental project focused on evaluating Rust's capabilities in handling deep learning inference tasks. We compare Rust-based implementations with Python counterparts to assess performance, latency, and scalability.
Candle from Hugging Face and actix-web for serving models.cargo (Rust package manager and build tool)Clone the repository:
git clone https://github.com/AbhishekBose/marlin.git
cd marlin
Build the project:
cargo build
Start the Rust-based server:
cargo run --release
Run the Python-based server (if applicable):
cd scripts
pip fastapi uvicorn sentence-transformers
uvicorn main:app --reload
Perform Load and Encoding Benchmarks:
scripts/ directory to test performance and compare results.Contributions are welcome! Please open an issue or submit a pull request if you have suggestions, improvements, or bug fixes.
This project is licensed under the MIT License. See the LICENSE file for details.
For any questions or discussions, feel free to reach out to Abhishek Bose.
Happy experimenting! 🚀
7 commits
Rust
96.6%
Python
3.4%
Welcome to Marlin! This repository is dedicated to exploring and experimenting with Rust-based solutions for deep learning inferencing. Our goal is to leverage Rust's performance and safety features to improve the efficiency of serving large deep learning models.
Marlin is an experimental project focused on evaluating Rust's capabilities in handling deep learning inference tasks. We compare Rust-based implementations with Python counterparts to assess performance, latency, and scalability.
Candle from Hugging Face and actix-web for serving models.cargo (Rust package manager and build tool)Clone the repository:
git clone https://github.com/AbhishekBose/marlin.git
cd marlin
Build the project:
cargo build
Start the Rust-based server:
cargo run --release
Run the Python-based server (if applicable):
cd scripts
pip fastapi uvicorn sentence-transformers
uvicorn main:app --reload
Perform Load and Encoding Benchmarks:
scripts/ directory to test performance and compare results.Contributions are welcome! Please open an issue or submit a pull request if you have suggestions, improvements, or bug fixes.
This project is licensed under the MIT License. See the LICENSE file for details.
For any questions or discussions, feel free to reach out to Abhishek Bose.
Happy experimenting! 🚀
7 commits
Rust
96.6%
Python
3.4%