Skip to content

Commit d550968

Browse files
committed
fixup! [feat] Use ruff for formatting and linting new files by default
Signed-off-by: Robin Kobus <[email protected]>
1 parent e3e865f commit d550968

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

examples/models/core/qwen2audio/run_chat.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,12 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515

16+
# isort: off
1617
import torch
18+
from run import QWenInfer, parse_arguments
1719

1820
import tensorrt_llm
19-
from run import QWenInfer, parse_arguments
21+
# isort: on
2022

2123
if __name__ == '__main__':
2224
args = parse_arguments()

examples/models/core/qwenvl/run_chat.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@
1414
# limitations under the License.
1515
import re
1616

17+
# isort: off
1718
import torch
18-
1919
from run import QWenInfer, parse_arguments, vit_process
20+
# isort: on
2021

2122

2223
def make_display(port=8006):

0 commit comments

Comments
 (0)