Overseas access: www.kdjingpai.com
Bookmark Us
Current Position:fig. beginning " AI Answers

如何安装并运行ReCall框架?需要什么前置环境?

2025-08-23 599

Preparation of the basic environment

运行ReCall需要满足以下硬件和软件条件:支持CUDA的NVIDIA显卡(推荐RTX 3090及以上)、Python 3.8+环境、Linux操作系统。特别需要flash-attn和faiss-gpu等加速库的支持。

Step-by-step installation guide

  1. 代码克隆: Bygit clone https://github.com/Agent-RL/ReCall.git获取最新代码
  2. Dependent Installation:核心依赖包含transformers和vllm等组件,需执行pip3 install -e .
  3. 扩展组件:训练需额外安装conda install -c pytorch -c nvidia faiss-gpu=1.8.0

模型服务启动

使用SGLang启动服务时需注意关键参数配置:--tp 2设置张量并行度,--context-length 8192指定上下文窗口,建议启用--enable-metrics监控性能指标。

Recommended

Can't find AI tools? Try here!

Just type in the keyword Accessibility Bing SearchYou can quickly find all the AI tools on this site.

Top

en_USEnglish