소스 검색

explicitly enable TOKENIZERS_PARALLELISM=true

Alex Cheema 6 달 전
부모
커밋
a8a9e3ffa1
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      exo/main.py

+ 1 - 0
exo/main.py

@@ -42,6 +42,7 @@ import psutil
 # TODO: figure out why this is happening
 os.environ["GRPC_VERBOSITY"] = "error"
 os.environ["TRANSFORMERS_VERBOSITY"] = "error"
+os.environ["TOKENIZERS_PARALLELISM"] = "true"
 
 # Configure uvloop for maximum performance
 def configure_uvloop():