Skip to content

Commit

Permalink
Set TORCH_CPP_LOG_LEVEL=ERROR for reduced verbosity (#12989)
Browse files Browse the repository at this point in the history
* modify torch cpp log level to Error to avoid annoying print

* Auto-format by https://ultralytics.com/actions

---------

Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
  • Loading branch information
inisis and UltralyticsAssistant committed May 12, 2024
1 parent 920c721 commit 2f6b91e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions export.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@
import contextlib
import json
import os

os.environ["TORCH_CPP_LOG_LEVEL"] = "ERROR"
import platform
import re
import subprocess
Expand Down

0 comments on commit 2f6b91e

Please sign in to comment.