Skip to main content

Running Gen AI models and applications on NVIDIA Jetson devices with one-line command

Project description

jetson-examples

jetson

Discord

This repository provides examples for running AI models and applications on NVIDIA Jetson devices with a single command.

This repo builds upon the work of the jetson-containers, which provides a modular container build system for various AI/ML packages on NVIDIA Jetson devices.

Features

  • 🚀 Easy Deployment: Deploy state-of-the-art AI models on Jetson devices in one line.
  • 🔄 Versatile Examples: Supports text generation, image generation, vision transformers, computer vision and so on.
  • Optimized for Jetson: Leverages Nvidia Jetson hardware for efficient performance.

Install

To install the package, run:

pip3 install jetson-examples

Notes:

  • Check here for more installation methods
  • To upgrade to the latest version, use: pip3 install jetson-examples --upgrade.

Quickstart

To run and chat with LLaVA, execute:

reComputer run llava
jetson

Example list

Here are some examples that can be run:

Example Type Model/Data Size Docker Image Size Command
🆕 llama3 Text (LLM) 4.9GB 10.5GB reComputer run llama3
🆕 ollama Inference Server * 10.5GB reComputer run ollama
LLaVA Text + Vision (VLM) 13GB 14.4GB reComputer run llava
Live LLaVA Text + Vision (VLM) 13GB 20.3GB reComputer run live-llava
stable-diffusion-webui Image Generation 3.97G 7.3GB reComputer run stable-diffusion-webui
nanoowl Vision Transformers(ViT) 613MB 15.1GB reComputer run nanoowl
nanodb Vector Database 76GB 7.0GB reComputer run nanodb
whisper Audio 1.5GB 6.0GB reComputer run whisper
🆕 yolov8-rail-inspection Computer Vision 6M 13.8GB reComputer run yolov8-rail-inspection

Note: You should have enough space to run example, like LLaVA, at least 27.4GB totally

More Examples can be found examples.md

Development

Want to add your own example? Check out the development guide.

We welcome contributions to improve jetson-examples! If you have an example you'd like to share, please submit a pull request. Thank you to all of our contributors! 🙏

TODO List

  • check disk space enough or not before run
  • allow to setting some configs, such as BASE_PATH
  • detect host environment and install what we need
  • support jetson-containers update
  • all type jetson support checking list
  • better table to show example's difference
  • try jetpack 6.0

License

This project is licensed under the MIT License.

Resources

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

jetson_examples-0.1.1.tar.gz (15.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jetson_examples-0.1.1-py3-none-any.whl (27.7 kB view details)

Uploaded Python 3

File details

Details for the file jetson_examples-0.1.1.tar.gz.

File metadata

  • Download URL: jetson_examples-0.1.1.tar.gz
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.7

File hashes

Hashes for jetson_examples-0.1.1.tar.gz
Algorithm Hash digest
SHA256 98e56a06b202596a82df865f4a56cdc0bafd2bd3d15f8d4f34459cbdd12da2f4
MD5 3e6230dea274349a836038e422ef8a90
BLAKE2b-256 68d33784c24eb99b32e3b657e5a7b1e557ef4398fa8772ad5a9b6416fada4697

See more details on using hashes here.

File details

Details for the file jetson_examples-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for jetson_examples-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 83b897f2c5465967e64723f4c7388c8a0fc53b00afc0532e2b0c6685395f581b
MD5 21906ae7404c5fefbbef37ceab143242
BLAKE2b-256 e4f44f6f4c6b287c7d5c97ec108395634d250ed69c105116b8e433199e6e8a9f

See more details on using hashes here.

Supported by

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