-
Notifications
You must be signed in to change notification settings - Fork 254
uv for CI - faster CI #563
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
Merged
Merged
Changes from 44 commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
77e5dc5
Update CI workflow to utilize UV for Python package management and te…
aniketmaurya 20cd348
fiix
aniketmaurya 3838fb2
fix
aniketmaurya c99a59e
updae
aniketmaurya c615787
upgrade uv
aniketmaurya eaec97b
add env
aniketmaurya ff33c3a
Merge branch 'main' into faster-ci-with-uv
aniketmaurya ba61048
fix
aniketmaurya 19e687f
update
aniketmaurya ce76130
fix
aniketmaurya 624de5d
fix
aniketmaurya 7600c9a
up
aniketmaurya 058fdeb
Update project configuration and dependencies in pyproject.toml and .…
aniketmaurya 000b696
Merge branch 'main' into faster-ci-with-uv
aniketmaurya 8378946
Merge branch 'migrate-uv' into faster-ci-with-uv
aniketmaurya ad5c537
update
aniketmaurya bd1681a
Refactor project configuration by consolidating setup into pyproject.…
aniketmaurya cd655af
fix
aniketmaurya 7cf8a03
fix
aniketmaurya eafb4b7
fic ci
aniketmaurya d8677eb
fix
aniketmaurya be5385b
update
aniketmaurya f5dc4a4
Merge branch 'main' into faster-ci-with-uv
aniketmaurya 0a0ca9b
fix
aniketmaurya 00ff528
Merge branch 'main' into faster-ci-with-uv
aniketmaurya 0770334
sync
aniketmaurya 1b992e4
fix
aniketmaurya 9009bf9
fix
aniketmaurya 4b7e683
fix azure
aniketmaurya 168dc12
fix requirements
aniketmaurya 93a346f
fix toml
aniketmaurya ee76360
backward compatibility
aniketmaurya 890c178
fix
aniketmaurya 99d09eb
fix ci
aniketmaurya b6c6d44
fix gpu test
aniketmaurya 256cacb
fix python script subprocess
aniketmaurya 2efcd81
update
aniketmaurya a2c2e8e
fix gpu test
aniketmaurya e4bba1e
fix gpu
aniketmaurya 8a4f787
Apply suggestions from code review
Borda dd5a323
Apply suggestions from code review
Borda 47b9965
cat requirements.txt
Borda e068929
list before and after
aniketmaurya 37ae942
echo
Borda f4c4e78
echo
Borda fd8e804
remove min dep
aniketmaurya 3e249a6
Update ci-testing.yml
Borda d49312d
fixes
aniketmaurya 9c130bc
Merge branch 'faster-ci-with-uv' of github.com:Lightning-AI/LitServe …
aniketmaurya File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -130,3 +130,4 @@ venv.bak/ | |
| lightning_logs/ | ||
| MNIST | ||
| .DS_Store | ||
| uv.lock | ||
This file was deleted.
Oops, something went wrong.
aniketmaurya marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,12 +2,63 @@ | |
| license_file = "LICENSE" | ||
| description-file = "README.md" | ||
|
|
||
| [build-system] | ||
| requires = [ | ||
| "setuptools", | ||
| "wheel", | ||
| [project] | ||
| name = "litserve" | ||
| dynamic = ["version"] | ||
| description = "Lightweight AI server." | ||
| readme = "README.md" | ||
| license = {text = "Apache-2.0"} | ||
| authors = [ | ||
| {name = "Lightning-AI et al.", email = "[email protected]"} | ||
| ] | ||
| requires-python = ">=3.9" | ||
| keywords = ["deep learning", "pytorch", "AI"] | ||
| classifiers = [ | ||
| "Environment :: Console", | ||
| "Natural Language :: English", | ||
| "Development Status :: 4 - Beta", | ||
| "Intended Audience :: Developers", | ||
| "Topic :: Scientific/Engineering :: Artificial Intelligence", | ||
| "Topic :: Scientific/Engineering :: Information Analysis", | ||
| "License :: OSI Approved :: Apache Software License", | ||
| "Operating System :: OS Independent", | ||
| "Programming Language :: Python :: 3", | ||
| "Programming Language :: Python :: 3.8", | ||
| "Programming Language :: Python :: 3.9", | ||
| "Programming Language :: Python :: 3.10", | ||
| "Programming Language :: Python :: 3.11", | ||
| "Programming Language :: Python :: 3.12", | ||
| ] | ||
|
|
||
| dependencies = [ | ||
| "fastapi>=0.100", | ||
| "pyzmq>=22.0.0", | ||
| "uvicorn[standard]>=0.29.0", | ||
| ] | ||
|
|
||
| [project.urls] | ||
| Homepage = "https://github.com/Lightning-AI/litserve" | ||
| "Bug Tracker" = "https://github.com/Lightning-AI/litserve/issues" | ||
| Documentation = "https://lightning-ai.github.io/litserve/" | ||
| "Source Code" = "https://github.com/Lightning-AI/litserve" | ||
| Download = "https://github.com/Lightning-AI/litserve" | ||
|
|
||
| [project.scripts] | ||
| litserve = "litserve.__main__:main" | ||
| lightning = "litserve.cli:main" | ||
|
|
||
|
|
||
| [build-system] | ||
| requires = ["hatchling"] | ||
| build-backend = "hatchling.build" | ||
|
|
||
| [tool.hatch.version] | ||
| path = "src/litserve/__about__.py" | ||
| pattern = "__version__ = \"(?P<version>.+)\"" | ||
Borda marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
|
|
||
| [tool.hatch.metadata] | ||
| allow-direct-references = true | ||
|
|
||
| [tool.check-manifest] | ||
| ignore = [ | ||
|
|
@@ -16,7 +67,6 @@ ignore = [ | |
| ".github/*" | ||
| ] | ||
|
|
||
|
|
||
| [tool.pytest.ini_options] | ||
| norecursedirs = [ | ||
| ".git", | ||
|
|
@@ -128,3 +178,30 @@ convention = "google" | |
| [tool.ruff.lint.mccabe] | ||
| # Unlike Flake8, default to a complexity level of 10. | ||
| max-complexity = 10 | ||
|
|
||
| [dependency-groups] | ||
| dev = [ | ||
| "asgi-lifespan>=2.1.0", | ||
| "coverage[toml]>=7.5.3", | ||
| "fastmcp>=2.9.2 ; python_full_version >= '3.10'", | ||
| "httpx>=0.27.0", | ||
| "lightning>2.0.0", | ||
| "mypy==1.16.1", | ||
| "numpy<3.0", | ||
| "openai>=1.12.0", | ||
| "pillow>=11.3.0", | ||
| "psutil>=7.0.0", | ||
| "pytest>=8.0", | ||
| "pytest-asyncio>=1.0.0", | ||
| "pytest-cov>=6.2.1", | ||
| "pytest-retry>=1.6.3", | ||
| "python-multipart>=0.0.20", | ||
| "requests>=2.32.4", | ||
| "torch>2.0.0", | ||
| "transformers>=4.53.0", | ||
| "uvloop>=0.21.0 ; sys_platform != 'win32'", | ||
| "tenacity>=9.1.2", | ||
| "jsonargparse", | ||
| "rich", | ||
| "torchvision>=0.22.1", | ||
| ] | ||
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.