Skip to content
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

PyO3: Add CI #1135

Merged
merged 3 commits into from
Oct 20, 2023
Merged

PyO3: Add CI #1135

merged 3 commits into from
Oct 20, 2023

Conversation

LLukas22
Copy link
Contributor

You shouldn't have to trust me, that the tests i add actually pass. This PR adds a simple CI run to perform the following steps:

  • Build via maturin develop -r
  • Check that all stub files match the current implemenetation via: python stub.py --check
  • Check the formatting via: black --check .
  • Run the tests via: python -m pytest -s -v tests

This CI is only triggered if there were changes in the candle-pyo3 subdirectory, to not block the normal development of candle.

@LaurentMazare LaurentMazare merged commit cfb423a into huggingface:main Oct 20, 2023
11 of 13 checks passed
@LaurentMazare
Copy link
Collaborator

Thanks, that's a great thing to have!

EricLBuehler pushed a commit to EricLBuehler/candle that referenced this pull request Oct 25, 2023
* Add PyO3 ci

* Update python.yml

* Format `bert.py`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants