Skip to content

Commit

Permalink
modify torch cpp log level to Error to avoid annoying print
Browse files Browse the repository at this point in the history
  • Loading branch information
inisis committed May 8, 2024
1 parent 920c721 commit 04bfde8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions export.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
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 04bfde8

Please sign in to comment.