DiNTS: missing graph-break regression test (follow-up to #9145)
維護者通常 3 天內回覆
評估
研究方向
從 test_dints_network.py 開始,放在現有的 TestDintsTopologyCache 測試旁邊,並檢查 #9145 中合併的圖數量與圖中斷斷言,讓風格保持一致。新增一個測試,使用 torch._dynamo.is_dynamo_supported() 作為守衛,並斷言(圖數量,圖中斷數量)這一組值為 (1, 0)。當新測試在本機通過,且在不支援 dynamo 的環境中被乾淨地跳過時,即視為完成。
由索引模型根據 Issue 內容生成。
描述
Describe the bug
Follow-up to #9145 (fixes #9144). Per @ericspod's review: the merged tests don't check the condition from the issue, and we'd want to assert graph count to be 1 and graph breaks to be 0.
test_dints_network.py has no dynamo coverage today — TestDintsTopologyCache tests the snapshot mechanism, not the zero-graph-break outcome, so a regression in the topology branches would land silently.
Expected behavior
A test in test_dints_network.py asserting (1, 0), guarded by torch._dynamo.is_dynamo_supported().
- 主要語言
- Python
- 星號
- 8.8k
- 分支
- 1.7k
- 平均合併
- 6 天 1 小時
- 30 天內合併 PR
- 15
環境準備
- 提供 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
Project-MONAI/MONAI 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 84/100
Project-MONAI/MONAI#9258 ·
維護者通常 3 天內回覆
-
Small-integer inputs produce incorrect regression metric values or runtime errors可能已有人在做 @leecoring 於 5 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 70/100
Project-MONAI/MONAI#9246 ·
維護者通常 3 天內回覆
-
partition_dataset可能已有人在做 @rtmalikian 於 11 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 72/100
Project-MONAI/MONAI#9220 ·
維護者通常 3 天內回覆
-
partition_dataset with ratios leaves some items out of every partition可能已有人在做 @mottopanikeiku 於 16 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 78/100
Project-MONAI/MONAI#9216 ·
維護者通常 3 天內回覆
-
FocalLoss mean reduction is multiplied by the number of channels when ignore_index is set可能已有人在做 @mottopanikeiku 於 16 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 82/100
Project-MONAI/MONAI#9214 ·
維護者通常 3 天內回覆
查看 Project-MONAI/MONAI 的全部 Issue
相似的 Issue
-
kind/bug priority/medium qa_automation
難度 2/5 1-3 小時 新手友好度 78/100
yugabyte/yugabyte-db#37324 ·
維護者通常 1 天內回覆
-
good first issue
難度 1/5 1 小時以內 新手友好度 87/100
btclib-org/btclib-node#2260 ·
維護者通常 1 天內回覆
-
ChatBedrockConverse changes the keys of JSON tool results to camelCase (`order_id` becomes `orderId`)可能已有人在做 @geyazheng 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 78/100
langchain-ai/langchain-aws#1469 ·
維護者通常 1 天內回覆
-
GCToggler leaves collection enabled if the body re-enables it可能已有人在做 @Gambit-Checkmate 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 76/100
維護者通常 7 天內回覆
-
難度 1/5 1 小時以內 新手友好度 88/100
維護者通常 1 天內回覆