A Proof of Concept of vLLM at the Edge with MCP calling
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

30 lines
679 B

#!/bin/bash
set -e
# Vérification de Python
if ! command -v python3 &> /dev/null; then
echo "❌ Python 3 n'est pas installé"
exit 1
fi
PYTHON_VERSION=$(python3 -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
echo "✓ Python version: $PYTHON_VERSION"
# Création de l'environnement virtuel
if [ ! -d "venv" ]; then
echo "📦 Création de l'environnement virtuel..."
python3 -m venv venv
fi
# Activation de l'environnement
source venv/bin/activate
# Installation des dépendances
echo "📥 Installation des dépendances..."
pip install --upgrade pip
pip install -r requirements.txt
echo ""
echo "✅ Installation terminée !"
echo ""