Loading video...

Video Failed to Load

Go Home

Fully local Code Assistant running on NVIDIA GPU! In this tutorial, I'll show you how to run Llama3 using TensorRT and Nvidia's Triton Inference Server to use it as a Code Assistant in VSCode In this thread 🧵, I'll walk you through the integration process, explaining each step simply...

42,152 views • 2 years ago •via X (Twitter)

11 Comments

Daniel San's profile picture
Daniel San2 years ago

To get started, we need a @nvidia GPU 🤩 In this case, we will use the following hardware 💻

Daniel San's profile picture
Daniel San2 years ago

We need to have Docker and CUDA installed Follow the guides below for installing both tools Docker: CUDA: and then run the following commands to confirm everything is set up correctly

Daniel San's profile picture
Daniel San2 years ago

Download the llama3-8B model from @huggingface

Daniel San's profile picture
Daniel San2 years ago

Now, Run TensorRT to compile the model using the Docker container Clone the TensorRT repository and move the model folder

Daniel San's profile picture
Daniel San2 years ago

You should now be able to test the compiled model

Daniel San's profile picture
Daniel San2 years ago

Perfect! We have the model now, let's deploy it on Triton Inference Server

Daniel San's profile picture
Daniel San2 years ago

The server is up and ready to connect with CodeGPT via the custom connection Open CodeGPT in VSCode, select Custom as the provider, and enter "ensemble" for the model

Daniel San's profile picture
Daniel San2 years ago

That's all! I'm sharing the link to the full article with all the details of the tutorial

Alexander Mia's profile picture
Alexander Mia1 year ago

INTRODUCING: Agentic Security - LLM Security Scanner! 🔍 🔑 Features: Scans for prompt injections, jailbreaking & more. Provides detailed reports & options to customize attack rules. 🔗access the GitHub Link ↓

₣rancisco Trillo's profile picture
₣rancisco Trillo2 years ago

Or just use Continue and Ollama with whatever brand GPU 🤷‍♂️ that’s open source

Daniel San's profile picture
Daniel San2 years ago

you can also use CodeGPT with Ollama Check this link:

Related Videos