Browse Source

set GRPC_VERBOSITY=error; TRANSFORMERS_VERBOSITY=error

Alex Cheema 3 months ago
parent
commit
5c9bcb8620
1 changed files with 4 additions and 0 deletions
  1. 4 0
      exo/main.py

+ 4 - 0
exo/main.py

@@ -39,6 +39,10 @@ import socket
 import resource
 import psutil
 
+# TODO: figure out why this is happening
+os.environ["GRPC_VERBOSITY"] = "error"
+os.environ["TRANSFORMERS_VERBOSITY"] = "error"
+
 # Configure uvloop for maximum performance
 def configure_uvloop():
     # Install uvloop as event loop policy