Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

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 Aufrufe • vor 2 Jahren •via X (Twitter)

11 Kommentare

Profilbild von Daniel San
Daniel Sanvor 2 Jahren

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

Profilbild von Daniel San
Daniel Sanvor 2 Jahren

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

Profilbild von Daniel San
Daniel Sanvor 2 Jahren

Download the llama3-8B model from @huggingface

Profilbild von Daniel San
Daniel Sanvor 2 Jahren

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

Profilbild von Daniel San
Daniel Sanvor 2 Jahren

You should now be able to test the compiled model

Profilbild von Daniel San
Daniel Sanvor 2 Jahren

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

Profilbild von Daniel San
Daniel Sanvor 2 Jahren

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

Profilbild von Daniel San
Daniel Sanvor 2 Jahren

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

Profilbild von Alexander Mia
Alexander Miavor 1 Jahr

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 ↓

Profilbild von ₣rancisco Trillo
₣rancisco Trillovor 2 Jahren

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

Profilbild von Daniel San
Daniel Sanvor 2 Jahren

you can also use CodeGPT with Ollama Check this link:

Ähnliche Videos