Skip to main content

CodeWithGPU Python Client

Project description

codewithgpu

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

See Example: Image Inference.

Use Record Dataset To Accelerate Data Loading

See Example: Record Dataset.

Model Benchmarks

See Doc: Model Benchmarks.

License

Apache License 2.0

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

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

codewithgpu-0.2.7-py3-none-any.whl (36.3 kB view details)

Uploaded Python 3

File details

Details for the file codewithgpu-0.2.7-py3-none-any.whl.

File metadata

  • Download URL: codewithgpu-0.2.7-py3-none-any.whl
  • Upload date:
  • Size: 36.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for codewithgpu-0.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 3d8aae6d7757c13fa70dbd2cb727ec2ef77fbca674a86bc7b61cdc08d7dbcf72
MD5 b70704caa729b96930f2f75b44d5a4c6
BLAKE2b-256 3075e9b5807cb7778486ac1e6a4caaaf43f0edf8d34077043d4ec9a6c9233bd9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page