Skip to content
This repository has been archived by the owner on Feb 5, 2024. It is now read-only.

Improved stopping_condition method and more performant wheel build. #77

Merged
merged 12 commits into from
Nov 24, 2022

Conversation

AmintorDusko
Copy link
Contributor

@AmintorDusko AmintorDusko commented Nov 23, 2022

Context: This PR optimizes the wheels build for Linux, improves the stopping_condition method for lightning.gpu, and improve the testing.

Description of the Change:

  • Wheels for Linux are now parallelized and are taking less than 10 min.
  • A new and improved stopping_condition, relying on the supports_operation method, was implemented. [Lightning-#386]
  • Tests were expanded to cover tape execution.
  • Condition to run Expval tests was updated.

Benefits:
Faster wheel builds, more reliable stopping_condition, and more tests in the repository.

Possible Drawbacks:

Related GitHub Issues:

@AmintorDusko
Copy link
Contributor Author

I removed, for now, the workflow update_dev_version. Without the proper setting, it is guaranteed that it will always fail.

@AmintorDusko AmintorDusko changed the title Test Improved stopping_condition method Improved stopping_condition method, and more performant wheel builds. Nov 23, 2022
@AmintorDusko AmintorDusko marked this pull request as ready for review November 23, 2022 20:24
@AmintorDusko
Copy link
Contributor Author

[sc-29883]

@AmintorDusko
Copy link
Contributor Author

[sc-29886]

Copy link
Member

@mlxd mlxd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job @AmintorDusko
Nothing extra to add here.

tests/test_expval.py Show resolved Hide resolved
Copy link
Member

@multiphaseCFD multiphaseCFD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @AmintorDusko , Nice work!

@AmintorDusko AmintorDusko merged commit 324e3d0 into main Nov 24, 2022
@AmintorDusko AmintorDusko changed the title Improved stopping_condition method, and more performant wheel builds. Improved stopping_condition method and more performant wheel build. Nov 24, 2022
@vincentmr vincentmr deleted the improve/stopping_condition branch April 25, 2023 14:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants