Lightning-AI / pytorch-lightning

Pretrain, finetune ANY AI model of ANY size on multiple GPUs, TPUs with zero code changes.
https://lightning.ai
Apache License 2.0
28.47k stars 3.39k forks source link

Support Python 3.10 #9980

Closed akihironitta closed 2 years ago

akihironitta commented 3 years ago

🚀 Feature

We should support Python 3.10 as Python 3.10 was released at the beginning of this month.

Required dependencies supporting Python 3.10

The above checklist is mainly based on PyPI badge on pypi.org


If you enjoy Lightning, check out our other projects! ⚡

cc @borda @carmocca @akihironitta @tchaton @rohitgr7

Borda commented 3 years ago

let's try but what I tried last time still does not have the full support of all our required packages (dependencies)

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it hasn't had any recent activity. This issue will be closed in 7 days if no further activity occurs. Thank you for your contributions, Pytorch Lightning Team!

Borda commented 2 years ago

Let's try now when PT 1.11 is out... 🐰

carmocca commented 2 years ago

@akihironitta is this done?

akihironitta commented 2 years ago

@carmocca Will start working on it :)

akihironitta commented 2 years ago

TODO:

carmocca commented 2 years ago

I believe this can be closed now @akihironitta

carmocca commented 2 years ago

One follow-up improvement would be to use 3.10 in the mypy job cc @otaj

function2-llx commented 2 years ago

Hello, want to ask here if Python 3.10 is supported now? The badge seems not to include 3.10.

carmocca commented 2 years ago

It is! Would you like to open a PR updating the badge?

function2-llx commented 2 years ago

I'd love to!