From 794ef8ffe8befa8f06f5dd99e74d4bf6dd155155 Mon Sep 17 00:00:00 2001 From: Sudeep Pillai Date: Tue, 16 Jan 2024 14:45:05 -0800 Subject: [PATCH] [blog] NOS tutorials blog post --- docs/blog/posts/02-nos-tutorials.md | 52 +++++++++++++++++++++++++++++ mkdocs.yml | 1 + 2 files changed, 53 insertions(+) create mode 100644 docs/blog/posts/02-nos-tutorials.md diff --git a/docs/blog/posts/02-nos-tutorials.md b/docs/blog/posts/02-nos-tutorials.md new file mode 100644 index 00000000..c53b06bd --- /dev/null +++ b/docs/blog/posts/02-nos-tutorials.md @@ -0,0 +1,52 @@ +--- +date: 2024-01-16 +tags: + - infra + - tools + - tutorials +categories: + - infra + - tutorials +authors: + - spillai +links: + - posts/02-nos-tutorials.md +--- + +# πŸ“š Getting started with NOS tutorials + +We are thrilled to announce a new addition to our resources - the [**NOS Tutorials**](https://github.com/autonomi-ai/nos/tree/main/examples/tutorials)! This series of tutorials is designed to empower users with the knowledge and tools needed to leverage NOS for serving models efficiently and effectively. Whether you're a seasoned developer or just starting out, our tutorials offer insights into various aspects of using NOS, making your journey with model serving a breeze. + +Over the next few weeks, we'll walk you through the process of using NOS to serve models, from the basics to more advanced topics. We'll also cover how to use NOS in a production environment, ensuring you have all the tools you need to take your projects to the next level. Finally, keep yourself updated on NOS by giving us a 🌟 on [Github](https://github.com/autonomi-ai/nos). + +!!! tip "Can't wait? Show me the code!" + If you can't wait to get started, head over to our [tutorials](https://github.com/autonomi-ai/nos/tree/main/examples/tutorials) page on [Github](https://github.com/autonomi-ai/nos) to dive right in to the code! + +## 🌟 What’s Inside the NOS Tutorials? + +The NOS Tutorials encompass a wide range of topics, each focusing on different facets of model serving. Here's a sneak peek into what you can expect: + +### 1. Serving custom models: [`01-serving-custom-models`](https://github.com/autonomi-ai/nos/tree/main/examples/tutorials/01-serving-custom-models) +Dive into the world of custom GPU models with NOS. This tutorial shows you how easy it is to wrap your Pytorch code with NOS, and serve them via a REST / gRPC API. + +### 2. Serving custom methods: [`02-serving-custom-methods`](https://github.com/autonomi-ai/nos/tree/main/examples/tutorials/02-serving-custom-methods) +Learn how to expose several custom methods of a model for serving. This tutorial is perfect for those looking to tailor their model's functionality to specific requirements, enhancing its utility and performance. + +### 3. Serve LLMs with streaming support: [`03-llm-streaming-chat`](https://github.com/autonomi-ai/nos/tree/main/examples/tutorials/03-llm-streaming-chat) +Get hands-on with serving an LLM with streaming support. This tutorial focuses on using [`TinyLlama/TinyLlama-1.1B-Chat-v0.1`](https://huggingface.co/TinyLlama/TinyLlama-1.1B-Chat-v1.0), showcasing how to implement streaming capabilities with NOS for smoother, more efficient language model interactions. + +### 4. Serve multiple models on the same GPU: [`04-multiple-models`](https://github.com/autonomi-ai/nos/tree/main/examples/tutorials/04-multiple-models) +Step up your game by serving multiple models on the same GPU. This tutorial explores the integration of models like [`TinyLlama/TinyLlama-1.1B-Chat-v0.1`](https://huggingface.co/TinyLlama/TinyLlama-1.1B-Chat-v1.0) and [distil-whisper/distil-small.en](https://huggingface.co/distil-whisper/distil-small.en), enabling multi-modal applications such as audio transcription combined with summarization on a single GPU. + +### 5. Serving models in production with Docker [`05-serving-with-docker`](https://github.com/autonomi-ai/nos/tree/main/examples/tutorials/05-serving-with-docker) +Enter the realm of production environments with our Docker tutorial. This guide is essential for anyone looking to use NOS in a more structured, scalable environment. You'll learn how to deploy your production NOS images with Docker and Docker Compose, ensuring your model serving works with existing ML infrastructure as reliably as possible. + + +!!!info "Stay tuned!" + πŸ”— **Stay tuned**, as we'll continuously update the section with more tutorials and resources to keep you ahead in the ever-evolving world of model serving! + +Happy Model Serving! + +--- + +*This blog post is brought to you by the [NOS Team](https://github.com/autonomi-ai/) - committed to making model serving fast, efficient, and accessible to all!* \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml index 1a616e71..27ec536d 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -24,6 +24,7 @@ nav: - Starting the server: docs/guides/starting-the-server.md - Running inference: docs/guides/running-inference.md - Serving custom models: docs/guides/serving-custom-models.md + # - πŸ§‘β€πŸ« Tutorials: docs/blog/-getting-started-with-nos-tutorials.html - πŸ€– Demos: - Build a Discord image-generation bot: docs/demos/discord-bot.md - Build a video search engine: docs/demos/video-search.md