CI: run-tests 在安装 Python 依赖项之前准备数据
作者: MGPOCKY创建于 2026年8月3日更新于 2026年8月3日
摘要
在 .GitHub/workflows/pull_request.yml 中,run-tests 任务在任何 pip install 步骤之前运行 python3 prepare_data.py。prepare_data.py 最终调用 tools/datasets/preprocess_data.py,该文件导入了第三方包(torch、numpy、tqdm、ftfy、lm_dataformat 等),因此此步骤可能在干净的运行程序上失败。
内容来源: EleutherAI/gpt-neox