Skip to main content

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

Metadata

Release files for codewithgpu 0.2.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for codewithgpu 0.2.8
File Interpreter ABI Platform
codewithgpu-0.2.8-py3-none-any.whl Python 3 none any Details

Release files / codewithgpu-0.2.8-py3-none-any.whl

Download URL codewithgpu-0.2.8-py3-none-any.whl
Size 36.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
794d1a4bdf431923ed7cab1974ebf4c8448e90652095dada0184e18ec93d9117
BLAKE2b-256 checksum
How to use checksums
c0e6186de4861409eb9bf5d54a51826e95f9dac805d4956ce03fce75f3f7107b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.2.8 This release

1 release file

0.2.7

1 release file

0.2.6

1 release file

0.2.5

1 release file

0.2.0

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page