# Sistema RAG + fine-tuning + web — TFM
# Python 3.12.
#
# IMPORTANTE: torch debe instalarse desde el índice CUDA para la RTX 5090 (Blackwell, sm_120):
#   pip install torch --index-url https://download.pytorch.org/whl/cu128
# (la build de PyPI es CPU-only). Luego: pip install -r requirements.txt

# Grafo / RAG
rdflib==7.6.0
owlrl==7.1.4
pyshacl==0.31.0
networkx==3.6.1
numpy==2.4.6
requests==2.34.2

# Análisis de código
radon==6.0.1

# Fine-tuning QLoRA
transformers==5.12.1
peft==0.19.1
datasets==5.0.0
accelerate==1.14.0
bitsandbytes==0.49.2
safetensors==0.8.0
sentencepiece==0.2.1
trl==1.6.0
# torch==2.11.0+cu128  (instalar aparte, ver cabecera)

# Interfaz web
fastapi==0.136.3
uvicorn[standard]==0.49.0
pydantic==2.13.4
