lightly-ai/lightly

Support for Python 3.12

IgorSusmelj opened this issue · 1 comments

This is just for people curious about why they can't use lightly with Python 3.12

The issue is that lightly uses PyTorch and there is not yet a stable release for Python 3.12. There is experimental support when you manually install the nightly build. You can read up more on that in the corresponding PyTorch issue.

We expect support to be there sometime in Q1 2024.

Python 3.12 is now supported with PyTorch 2.2: pytorch/pytorch#110436 although only as a preview. Most likely everything except torch compile already works.

Before supporting 3.12 officially we should also check if PyTorch Lightning has support: Lightning-AI/litgpt#1210