Runpod abstraction layer to behave as if using a local GPU
Project description
OnPod: Seamless Local and Remote AI/ML Development
OnPod is an innovative library that revolutionizes AI and machine learning development by seamlessly blending local and remote code execution. It optimizes resource usage and reduces costs while providing a development experience that feels entirely local, supporting a wide range of popular AI/ML libraries.
Key Features
-
Versatile Library Support:
- Compatible with PyTorch, TensorFlow, Keras, and Hugging Face Transformers.
- Extensible to support additional AI/ML libraries in the future.
-
Transparent API: OnPod mimics the interfaces of supported libraries, allowing for seamless integration into existing workflows.
-
Intelligent Resource Management:
- Initializes with CPU-based instances for efficient resource usage.
- Dynamically claims GPU resources when models are moved to accelerated devices.
-
Automatic Task Distribution:
- CPU-bound tasks (e.g., data preprocessing, tokenization) are performed locally.
- GPU-intensive operations are automatically offloaded to remote RunPod instances.
-
On-Demand Resource Allocation: Users are charged only for the actual GPU time used, optimizing cost-efficiency.
-
Seamless Development Experience: Write and test code locally while leveraging the power of cloud-based resources.
How It Works
OnPod provides proxy modules for supported AI/ML libraries that intercept operations and manage their execution:
- Library Proxies: Redirect operations to remote instances, handling data transfer and execution management for PyTorch, TensorFlow, Keras, and Transformers.
- Automatic Import Handling: Dynamically imports modules remotely when they are not configured locally.
This approach allows developers to write standard AI/ML code using their preferred libraries locally while benefiting from the computational power of cloud-based resources without manual configuration.
Benefits
- Cost Optimization: Pay only for the GPU resources you actually use.
- Resource Efficiency: Utilize powerful GPU capabilities without the need for local high-performance hardware.
- Flexible Development: Develop and test AI/ML models as if working entirely locally, regardless of the chosen library.
- Scalability: Easily scale your computations to more powerful cloud resources when needed.
- Library Agnostic: Freedom to use and switch between different AI/ML libraries without changing your development workflow.
OnPod bridges the gap between local development and cloud-based high-performance computing, making advanced AI and ML development more accessible, cost-effective, and flexible across various libraries and frameworks.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file onpod-0.0.1.tar.gz.
File metadata
- Download URL: onpod-0.0.1.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.5 Darwin/23.2.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8698f830bc00ea08b656ee75c90672dea8f226f953e379c701754b6846625a6c
|
|
| MD5 |
f8a32d2363dc1eedd02cf1fba5614c89
|
|
| BLAKE2b-256 |
046d1d822c08c10238f577b2cd912d19287ede4e2f063348caa9314aecee5a82
|
File details
Details for the file onpod-0.0.1-py3-none-any.whl.
File metadata
- Download URL: onpod-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.5 Darwin/23.2.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17855f9b3f5eb8c5f1d4bcdb673c8714d29ee943c859b6b783bb9064cb1d0f5d
|
|
| MD5 |
7bce4829a504d2434ab1cfb9ae93961b
|
|
| BLAKE2b-256 |
0894aa476e2e0e91a819296a095b2c523c95461bf3513e02213a81ba0d3e52c1
|