CodeWithGPU Python Client
Project description
CodeWithGPU is a community that focuses on the reproducible AI algorithms. It has close links with Github by leveraging the managed code, and distributes corresponding docker images, models and logs for friendly reproduction.
This repository provides a novel data loading solution that maps data between Python object and serialized bytes automatically. This solution encourages developers to build a hierarchical data loading pipeline, which decouples the reading, transforming and batching. Similar solution, such as NVIDIA DALI, is widely deployed in many HPC systems and ML benchmarks.
Besides, it considers a modular and asynchronous design for the inference of AI models. Developers can easily serve their models on distributed devices by creating a many-to-many "Producer-Consumer" dataflow, and the flow control is dealt by the synchronous queues. By this way, model serving resembles training and can also get great benefit from the efficient data loader.
Also, it develops the benchmarks of modern AI models on diverse accelerators, including the newest NVIDIA GPUs and Apple Silicon processors. It will help users to match their demand on picking the best suitable devices. “The more reasonable GPUs you buy, the more money you save.”
Installation
Install from PyPI:
pip install codewithgpu
Or, clone this repository to local disk and install:
cd codewithgpu && pip instsall .
You can also install from the remote repository:
pip install git+ssh://git@github.com/seetacloud/codewithgpu.git
Quick Start
Deploy Image Inference Application
Use Record Dataset To Accelerate Data Loading
Model Benchmarks
License
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file codewithgpu-0.2.5-py3-none-any.whl
.
File metadata
- Download URL: codewithgpu-0.2.5-py3-none-any.whl
- Upload date:
- Size: 35.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f626a5d9609389d165ff92a7d16f8a8a69202bc21fb72e83819c0a1fe8acbd1f |
|
MD5 | e5d34084bf47a6736a1e5cea04a58b06 |
|
BLAKE2b-256 | 918a24c8dde312a2ba1a0d8e1543d5cb8694837020de56e648c2972b4baff13e |