google / flaxformer

Apache License 2.0
321 stars 31 forks source link

ModuleNotFoundError: No module named 'flaxformer.architectures.longt5' #3

Open nradwan opened 2 years ago

nradwan commented 2 years ago

Installing the flaxformer repo using pip results in the above error when importing flaxformer.architectures.longt5. I believe the issue is caused by the missing __init__.py file in the respective directory.

nicolay-r commented 1 year ago

Encountered with exact the same issue but came here because of the missed *.gin configs. Agree, this is likely because of __init__.py absence, since for t5x the related case has been covered as follows: https://github.com/google-research/t5x/blob/4c107feeefdcd8013118be841cf857f1d1921e77/setup.py#L44-L46