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

Allow pytorch 2.0 & pytorch-lightning 2.0 (changes via Copilot Workspace) #61

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Sep 28, 2024

  1. 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).
    EvenStrangest committed Sep 28, 2024
    Configuration menu
    Copy the full SHA
    9e0aeb5 View commit details
    Browse the repository at this point in the history