Nitrous oxide system (NOS) for computer-vision.
Project description
nos 🔥: Nitrous Oxide System (NOS) for Computer Vision
NOS is a PyTorch library for optimizing and running lightning-fast inference of popular computer vision models. NOS inherits its name from "Nitrous Oxide System", the performance-enhancing system typically used in racing cars. NOS is designed to be modular and easy to extend.
Why NOS?
- ⚡️ Fast: NOS is built on top of PyTorch and is designed to run models faster.
- 🔥 Out-of-the-box Performance: Run stable diffusion or object detection in under 5 lines, 2-3x faster than vanilla PyTorch.
- 👩💻 Reduce barrier-to-entry: NOS is designed to be easy to use. No ML optimizations or compilers knowledge necessary.
- 📦 Modular: NOS is designed to be modular and easy to extend. Optimize Pytorch models in a few lines of code.
- ⚙️ HW-accelerated: NOS is designed to leverage hardware-acceleration down to the metal (GPUs, TPUs, ASICs etc).
- ☁️ Cloud-agnostic: NOS is designed to run on any cloud (AWS, GCP, Azure, Lambda Labs, on-prem, etc.).
Batteries Included
- 💪 SOTA Model Support: NOS comes with support for popular CV models such as Stable Diffusion, ViT, CLIP, and more.
- 🐳 Docker: NOS comes with optimized docker images for accelerated CV workloads (runtime libs, drivers, optimized models).
- 🔌 Interfaces: NOS comes with a REST/gRPC API out-of-the-box to help you use your models.
- 📈 Benchmarks: NOS comes with a suite of benchmarks to help you compare performance of your models.
Hardware Support
We currently plan to support the following hardware:
- GPU (NVIDIA GPUs, AMD GPUs)
- AWS (g4/g5dn/p3/p4dn)
- GCP (g2/a1/n1)
- AWS Inferentia inf1/inf2
- Intel Habana Gaudi
- Google TPUv3
Lint
make lint # Runs all the linters using ruff/pre-commit
Test
make test # Runs all the basic tests using pytest
Benchmark
make test-benchmarks # Runs all the benchmarks setting NOS_TEST_BENCHMARK=1
Contribute
We welcome contributions! Please see our contributing guide for more information.
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file autonomi_nos-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: autonomi_nos-0.0.1-py3-none-any.whl
- Upload date:
- Size: 40.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/6.0.0 pkginfo/1.9.6 requests/2.29.0 requests-toolbelt/0.9.1 tqdm/4.65.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffb6591992dfc2c049b4123c880e1b41912ad518e94ab529299f57a310a0761a |
|
MD5 | d7b4ecb04c2b62ce3775899713f52438 |
|
BLAKE2b-256 | 4717c10dd40a37a671c2bc59b07c31620293d184119eda4f63fcb3bcc92e86ce |