Commit 2e97b73
[fix] logger add debug_once (#781)
## Purpose
add `debug_once` interface to be compatible with vllm 0.11.0
## Modifications
- add `debug_once` interface to logger
- stub the interface with `scope` keyword
## Test
<img width="1345" height="475" alt="image"
src="https://github.com/user-attachments/assets/a999ea0c-2adb-4187-9eb2-58c7f81ed7c2"
/>
Co-authored-by: lijiachen <lijiachen19@huawei.com>1 parent ae00195 commit 2e97b73
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
| 109 | + | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
145 | 149 | | |
146 | 150 | | |
147 | 151 | | |
| |||
0 commit comments