Commit 91afae3
committed
Ignore type checks for torch.cuda.stream
Add `# type: ignore` to two usages of `torch.cuda.stream` (in trt_base.py and vila_processor.py) to suppress static type-checker complaints about the CUDA stream context manager. This is a no-op at runtime and only affects linting/type-checking to keep CI clean.1 parent 6dd9ad4 commit 91afae3
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
214 | | - | |
| 214 | + | |
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
| |||
0 commit comments