-
Notifications
You must be signed in to change notification settings - Fork 5k
Tiny unpin uvloop for other backends #13858
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -61,7 +61,7 @@ runtime_common = [ | |||||
| "tqdm", | ||||||
| "transformers==4.57.1", | ||||||
| "uvicorn", | ||||||
| "uvloop==0.21.0", | ||||||
| "uvloop", | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Completely unpinning the
Suggested change
|
||||||
| "xgrammar==0.1.27", | ||||||
| "grpcio==1.75.1", # keep it align with compile_proto.py | ||||||
| "grpcio-tools==1.75.1", # keep it align with compile_proto.py | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -63,7 +63,7 @@ dependencies = [ | |||||
| "tqdm", | ||||||
| "transformers==4.57.1", | ||||||
| "uvicorn", | ||||||
| "uvloop==0.21.0", | ||||||
| "uvloop", | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Completely unpinning the
Suggested change
|
||||||
| # "xgrammar==0.1.24", , xgrammar depends on CUDA PyTorch and Triton only | ||||||
| "grpcio==1.75.1", # keep it align with compile_proto.py | ||||||
| "grpcio-tools==1.75.1", # keep it align with compile_proto.py | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Completely unpinning the
uvloopdependency can introduce instability. If a future version ofuvloopcontains breaking changes, it could break builds or cause unexpected runtime behavior. It is safer to specify a compatible version range. Using~=0.21.0allows for patch releases (e.g.,0.21.1) but prevents potentially breaking minor or major version updates (e.g.,0.22.0), striking a good balance between receiving bug fixes and maintaining stability.