[BUGFIX] Delete the CUDA context in the stage process. (#661)

Signed-off-by: Chenguang ZHENG <645327136@qq.com>
Signed-off-by: Chenguang Zheng <645327136@qq.com>
This commit is contained in:
Chenguang Zheng authored and GitHub committed 2026-01-06 22:22:04 +08:00
1 parent 14c04d0fd4
commit aaba243832
2 files changed
+1 -58

No files matched your search

-1
View File
@@ -55,4 +55,3 @@ def test_set_stage_devices_respects_logical_ids(monkeypatch):
set_stage_devices(stage_id=0, devices="0,1")
assert os.environ["CUDA_VISIBLE_DEVICES"] == "6,7"
assert call_log and call_log[0] == 0 # current device set after remap