Welcome to the Wrapture repository! This project simplifies the process of deploying machine learning models trained in Python to JavaScript environments. With just a single command, you can generate TypeScript bindings and create a Web/Node-compatible wrapper using ONNX runtimes that are ready for WebGPU and WASM.
- One Command Deployment: Transition from Python to JavaScript effortlessly.
- TypeScript Bindings: Automatically generate TypeScript bindings for your models.
- Web/Node Compatibility: Create wrappers that work seamlessly in both web and Node.js environments.
- WebGPU and WASM Ready: Utilize the latest technologies for efficient model execution.
- Support for ONNX: Leverage the ONNX runtime for model inference.
To get started with Wrapture, follow these steps:
- Install Dependencies: Ensure you have the necessary tools installed.
- Prepare Your Model: Train your model in Python and export it in ONNX format.
- Run Wrapture: Use the command line to generate your JavaScript deployment.
You can install Wrapture using npm. Open your terminal and run:
npm install wraptureAfter installing, you can deploy your model with a single command. Here’s how:
- Export Your Model: Ensure your model is exported as an ONNX file.
- Run Wrapture: Use the following command:
wrapture deploy path/to/your/model.onnxThis command will generate the necessary TypeScript bindings and wrappers.
Wrapture covers a range of topics relevant to modern machine learning and deployment:
- JavaScript
- Machine Learning
- Model Conversion
- ONNX
- PyTorch
- Quantization
- Simplifier
- TypeScript
- WASM
- WebGPU
We welcome contributions! If you want to contribute to Wrapture, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them.
- Push your branch to your forked repository.
- Open a pull request.
Wrapture is licensed under the MIT License. See the LICENSE file for details.
To check for the latest releases, visit the Releases section. You can download the latest version and execute it to start deploying your models.
For any inquiries or feedback, feel free to reach out:
- GitHub: Wrapture GitHub
- Email: your-email@example.com
Thank you for checking out Wrapture! We hope this tool simplifies your model deployment process. For more details, visit the Releases section.