← 返回事件
持续讨论AI发版

trunk/69b8e694b48fd05f739bb47335fd995388982b0d: Make test_aoti_observer's failure path actually fail (#195088)

发生了什么

test_aoti_observer's failure path omitted a constant, but w_pre/w_add are TensorConstants, which assert_all_constants only warns about and skips - so the update never failed. Use a kMeta-device tensor instead, which fails the device check regardless of whether the build is CPU or CUDA. Pull Request resolved: #195088 Approved by: https://github.com/desertfire

摘要按规则整理自下方来源原文

为什么在扩散

来源