Lightning-Universe / lightning-flash

Your PyTorch AI Factory - Flash enables you to easily configure and run complex AI recipes for over 15 tasks across 7 data domains
https://lightning-flash.readthedocs.io
Apache License 2.0
1.74k stars 212 forks source link

No module named 'pytorch_lightning.utilities.apply_func' #1621

Closed DanTaranis closed 1 year ago

DanTaranis commented 1 year ago

🐛 Bug

the line of code "import flash" results in '''No module named 'pytorch_lightning.utilities.apply_func''''

To Reproduce

pip install lightning-flash

Environment

Borda commented 1 year ago

this shall be fixed with latest 0.8.2 :rabbit:

amorehead commented 11 months ago

Sadly, I am still encountering this issue with lightning==2.0.9 and pytorch-lightning==2.0.9. I have to manually downgrade to pytorch-lightning==1.9.5 to get around this error.

Borda commented 11 months ago

Mind try install Flash from source/master?

amorehead commented 11 months ago

Using pip install 'git+https://github.com/Lightning-Universe/lightning-flash.git' sadly gave the same result.