Commit a1645ea
ascend-robot
[fix] fix race condition for modifying torch num_threads
Co-authored-by: 0oshowero0<o0shower0o@outlook.com>
# message auto-generated for no-merge-commit merge:
!5 merge fix_race_condition into main
[fix] fix race condition for modifying torch num_threads
Created-by: hanzhenyu8
Commit-by: 0oshowero0
Merged-by: ascend-robot
Description: fix race condition for modifying torch num_threads
See merge request: Ascend/TransferQueue!51 parent 55913b8 commit a1645ea
2 files changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| |||
141 | 143 | | |
142 | 144 | | |
143 | 145 | | |
144 | | - | |
| 146 | + | |
145 | 147 | | |
146 | 148 | | |
147 | | - | |
| 149 | + | |
148 | 150 | | |
149 | 151 | | |
150 | 152 | | |
| |||
0 commit comments