SuperAPI AI 工具集

setup-scvi-remote-tool

部署与运维

查看项目

更新于 10-16 06:48

技能介绍

用途:配置并运行 scVI ToolUniverse 远程工具,支持本地启动、校验、故障排查,以及通过 ToolUniverse Connect 中继共享给其他用户。

主要能力:创建独立 Python 3.12 环境并安装依赖;用 tu remote check 检查缺失项;用 tu serve 启动带共享的 MCP 服务;用 tu remote login/share 完成设备码授权与私有共享;本地通过 http://127.0.0.1:8010/mcp 调用 run_scvi_integration 等操作。

必要用法:先建环境并安装依赖,例如 ~/.local/bin/uv venv --python 3.12 ~/.tooluniverse/envs/scvi,再安装 requirements 文件;运行 tu remote check scvi --python ... 检查;启动用 tu serve --allow scvi --python ... --share --detach --name "<computer name>" --service https://tooluniverse-backend.onrender.com。开发者可从源码运行 python scripts/remote_validation/setup_skill_preflight.py --implementation scvi,并用 python -m tooluniverse.remote.scvi.scvi_tool 启动本地服务。

适用场景:部署 scVI 远程模型、共享给用户、诊断依赖或环境变量问题。

限制:需 Linux、Python 3.12.3,训练建议 GPU;数据、权重、缓存和凭据不得入库;非回环绑定需 TOOLUNIVERSE_API_TOKEN;公开发布、跨用户隔离、代表性精度、广泛并发与恢复尚未验证;tuplatform-connect 尚未发布到 PyPI,需安装指定 wheel。部分事实暂未提供。