forked from borchero/pycave
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow pytorch 2.0 & pytorch-lightning 2.0 via Copilot Workspace
Fixes borchero#54 Update the package to support PyTorch 2.0 and PyTorch-Lightning 2.0. * **pyproject.toml** - Update `torch` version to "^2.0.0". - Update `pytorch-lightning` version to "^2.0.0". * **.github/workflows/ci.yml** - Add Python 3.11 to the matrix of Python versions for unit tests. * **pycave/bayes/gmm/lightning_module.py** - Update import for `EarlyStopping` to ensure compatibility with PyTorch-Lightning 2.0. * **pycave/bayes/markov_chain/estimator.py** - Add import for `Trainer` from `pytorch_lightning`. * **pycave/utils/lightning_module.py** - Update import for `pytorch_lightning` to `lightning.pytorch` to ensure compatibility with PyTorch-Lightning 2.0. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/borchero/pycave/issues/54?shareId=XXXX-XXXX-XXXX-XXXX).
- Loading branch information
1 parent
3d25c64
commit 9e0aeb5
Showing
5 changed files
with
6 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters