Remove threading atexit monkey patch (#28812)

This commit is contained in:
Lianmin Zheng
2026-06-20 18:30:50 -07:00
committed by GitHub
parent 2552b860a3
commit 54b9b9d0c9
2 changed files with 0 additions and 7 deletions
-3
View File
@@ -42,9 +42,6 @@ from typing import (
Union,
)
# Fix a bug of Python threading
setattr(threading, "_register_atexit", lambda *args, **kwargs: None)
import torch
import uvloop
import zmq
@@ -38,10 +38,6 @@ from typing import (
Union,
)
# Fix a bug of Python threading
setattr(threading, "_register_atexit", lambda *args, **kwargs: None)
import numpy as np
import requests
import uvicorn