执行摘要
更新 Ernie4.5-VL 模型测试的 HF revision 至 refs/pr/17,修复 CI 初始化测试失败。
PR body指出上游HF repo在PR #17中修复了两个bug:1. Ernie4_5_MoEConfig.__init__访问self.num_hidden_layers前未由父类设置,导致to_diff_dict()崩溃;2. processing_ernie4_5_vl.py中的顶层import decord在没有安装decord时阻塞tokenizer加载。这些bug导致vLLM的测试失败,因此需要更新revision以使用修复后的版本。
此PR值得快速浏览以了解CI依赖管理实践,重点关注gemini-code-assist[bot]的建议(尽管未采纳),它提醒在测试中应优先使用commit hash以确保长期稳定性和可复现性。
review中gemini-code-assist[bot]提出:'For improved test stability and reproducibility, it is best practice to pin the revision to a specific commit hash rather than a pull request reference.' 建议使用commit hash而非PR引用以避免未来测试失败。但该建议未被采纳,PR最终使用PR引用,讨论揭示了CI测试中依赖可变引用 vs 固定hash的权衡。
参与讨论