Lightning-Universe/lightning-flash

No module named 'pytorch_lightning.utilities.apply_func'

DanTaranis opened this issue ยท 4 comments

๐Ÿ› Bug

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

To Reproduce

pip install lightning-flash

Environment

  • OS (e.g., Linux): ubuntu 20
  • Python version: (3.9)
  • PyTorch/Lightning/Flash Version (e.g., 1.10/1.5/0.7): (2.0.1/2.0.4/0.8.1.post0)
  • GPU models and configuration: (has 4 gpus)
  • Any other relevant information:
Borda commented

this shall be fixed with latest 0.8.2 ๐Ÿฐ

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

Mind try install Flash from source/master?

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