-
Notifications
You must be signed in to change notification settings - Fork 58
UV enablement #325
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
UV enablement #325
Conversation
0de2ace to
0f21594
Compare
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.
Pull Request Overview
This PR enables UV package manager as the primary dependency management tool for optimum-benchmark, replacing the traditional setup.py approach with modern pyproject.toml configuration.
- Migration from setup.py to pyproject.toml with hatchling build backend
- Addition of UV configuration files (uv.toml, .python-version)
- Complete overhaul of CI/CD workflows to use UV instead of pip
Reviewed Changes
Copilot reviewed 32 out of 33 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| setup.py | Removed legacy setup.py configuration file |
| pyproject.toml | Added modern project configuration with dependencies and build system |
| uv.toml | Added UV-specific configuration for package management |
| .python-version | Set Python 3.10 as the project version |
| tests/conftest.py | Added pytest configuration to handle empty test scenarios |
| Makefile | Comprehensive rewrite with UV-based commands and improved organization |
| README.md | Updated installation instructions to recommend UV |
| .github/workflows/* | Updated all CI workflows to use UV instead of pip |
| optimum_benchmark/trackers/energy.py | Added null check for emission data |
| optimum_benchmark/task_utils.py | Fixed diffusers import compatibility issue |
| optimum_benchmark/preprocessors/dataset_preprocessor.py | Simplified audio preprocessing logic |
| optimum_benchmark/backends/vllm/config.py | Removed redundant configuration |
| optimum_benchmark/backends/vllm/backend.py | Fixed vLLM API compatibility issues |
| optimum_benchmark/backends/pytorch/backend.py | Enhanced torch compile support |
| optimum_benchmark/backends/ipex/backend.py | Added OS compatibility fix |
| examples/cuda_vllm_llama.yaml | Added vLLM version environment variable |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
No description provided.