langgraph-mcts-demo / requirements.txt
ianshank
fix: upgrade dependencies to resolve build failure
a0d8dd2
raw
history blame
919 Bytes
# LangGraph Multi-Agent MCTS Demo - Dependencies
# Optimized for Hugging Face Spaces deployment with trained models
# Force Rebuild 2025-11-25 (Attempt 2: Upgrade to modern versions)
# Core UI Framework
gradio>=4.0.0,<5.0.0
# Numerical computation
numpy>=1.24.0,<2.0.0
# Machine Learning - Neural Models
# Use modern versions to ensure compatibility
# transformers>=4.46.0 ensures we have the modern API
# peft>=0.12.0 ensures compatibility with modern transformers
torch>=2.1.0
transformers>=4.46.0
peft>=0.12.0
accelerate>=0.26.0
sentence-transformers>=2.2.0
# Configuration
pyyaml>=6.0
# Experiment Tracking
wandb>=0.16.0
# Required for Gradio OAuth and model loading
huggingface_hub>=0.20.0,<0.30.0
# Note: This demo now uses REAL trained models:
# - RNN Meta-Controller (models/rnn_meta_controller.pt)
# - BERT with LoRA adapters (models/bert_lora/final_model/)
# - Actual HRM and TRM agent implementations