viable/strict/1789195030: Make test_aoti_observer's failure path actually fail (#195088)
- PyTorch 近 90 天出现 838 次
- PyTorch 近 90 天第 827 次发版
- 上一次:同一天稍早 · ciflow/trunk/196858: Update
发生了什么
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
摘要按规则整理自下方来源原文