Skip to content

Dev#15

Merged
JeremieGince merged 6 commits intomainfrom
dev
Nov 28, 2025
Merged

Dev#15
JeremieGince merged 6 commits intomainfrom
dev

Conversation

@JeremieGince
Copy link
Contributor

@JeremieGince JeremieGince commented Nov 28, 2025

Description

This pull request updates several Jupyter notebooks and the project dependencies to improve compatibility, reproducibility, and hardware specification. The most significant changes include explicitly setting the computation accelerator to CPU in training pipelines, updating the matchcake package version, and refactoring quantum operation imports and usage in the deep learning notebook.

Dependency updates:

  • Updated the matchcake package requirement in pyproject.toml from >=0.0.4 to >=0.1.2 to ensure compatibility with newer features and fixes.
  • Added jupyter and notebook as development dependencies in pyproject.toml for improved local notebook support.

Notebook improvements:

  • Explicitly set accelerator="cpu" in the pipeline initialization for notebooks/nif_deep_learning.ipynb, notebooks/ligthning_pipeline_tutorial.ipynb, and notebooks/automl_pipeline_tutorial.ipynb to ensure CPU usage for training. [1] [2] [3] [4]
  • Refactored quantum operation imports and usage in notebooks/nif_deep_learning.ipynb from SptmfRxRx and SptmFHH to CompRxRx and CompHH for improved clarity and compatibility with the updated matchcake package. [1] [2]

Minor notebook adjustments:

  • Reduced automl_iterations and inner_max_time parameters in notebooks/nif_deep_learning.ipynb to enable faster tutorial runs.
  • Added empty outputs and execution_count fields to several notebook cells for consistency with Jupyter notebook standards. [1] [2] [3]

Checklist

Please complete the following checklist when submitting a PR. The PR will not be reviewed until all items are checked.

  • All new features include a unit test.
    Make sure that the tests passed and the coverage is
    sufficient by running pytest tests --cov=src --cov-report=term-missing.
  • All new functions and code are clearly documented.
  • The code is formatted using Black.
    You can do this by running black src tests.
  • The imports are sorted using isort.
    You can do this by running isort src tests.
  • The code is type-checked using Mypy.
    You can do this by running mypy src tests.

github-actions bot and others added 6 commits November 3, 2025 15:51
Added 'accelerator="cpu"' to pipeline initialization in all relevant notebooks for consistent device selection. Updated pyproject.toml to require matchcake>=0.1.2 and added jupyter and notebook to dev dependencies. Also replaced SptmfRxRx and SptmFHH with CompRxRx and CompHH in the deep learning notebook, and updated execution metadata and outputs.
Removed execution counts, outputs, and execution metadata from all code cells in nif_deep_learning.ipynb. Also reduced AutoML iterations and max time for faster runs.
…nvention

Add CPU accelerator option and update dependencies
The workflow now runs 'uv lock' after bumping the package version and adds 'uv.lock' to the commit. This ensures the lock file stays in sync with version changes. Also, the PyPI publish step was moved to the end of the workflow.
@github-actions
Copy link

github-actions bot commented Nov 28, 2025

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
882 859 97% 90% 🟢

New Files

No new covered files...

Modified Files

No covered modified files...

updated for commit: ee7bca9 by action🐍

@JeremieGince JeremieGince merged commit 898c2b5 into main Nov 28, 2025
6 checks passed
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.

1 participant