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

Strange fail on Kaggle with PT 1.11 #1302

Closed Borda closed 2 years ago

Borda commented 2 years ago

🐛 Bug

after installing Flash it fail import and seem to kill kernel without any error message

To Reproduce

https://www.kaggle.com/code/jirkaborovec/plant-pathology-with-pytorch-lightning-flash?scriptVersionId=93524389 remove the installation of PT 1.10

Expected behavior

import Flash without any issue

Environment

Additional context

ethanwharris commented 2 years ago

Closing this as couldn't reproduce. Install / import is working for me on kaggle GPU notebook if I do:

!pip uninstall -y torchtext
!pip install lightning-flash[image]
!pip install --upgrade torch