whittle-org / whittle

Python library to compress LitGPT models for resource efficient inference.
https://whittle-org.github.io/whittle/latest/
Apache License 2.0
10 stars 4 forks source link

ci: add python 3.12 support #174

Closed snikhil24 closed 4 days ago

snikhil24 commented 5 days ago

Reference Issues/PRs

Closes #166

What does this implement/fix? Explain your changes.

This PR adds support for Python 3.12 by updating the GitHub Actions workflows (unit-test.yml, run-examples.yml, pyproject.toml and release.yml). This includes adding Python 3.12 to the testing matrix, ensuring compatibility across supported Python versions.

Minimal Example / How should this PR be tested?

Any other comments?

All tests have been verified to pass for Python 3.12 locally, with minor warnings noted from external dependencies (such as Pydantic and PyTorch) due to Python 3.12's stricter deprecation tracking. These do not affect functionality.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

aaronkl commented 4 days ago

thanks @snikhil24 for the PR, could you change the title to follow the conventional commit guidelines?

snikhil24 commented 4 days ago

thanks @aaronkl! I’ve updated the PR title.