facebookresearch/fairseq

Importing `hydra.experimental` results with an ImportError

Opened this issue · 0 comments

Hey!
Firstly, thanks for creating and maintaining the package!

In my project I use both fairseq & hydra (hydra-core) packages. Importing hydra's experimental components results with an ImportError while using hydra's version_base at least 1.2.

IMO, the problematic line in your code:

from hydra.experimental import compose, initialize

In my case, the ImportError in hydra-core is being raised here.

My suggestion in to remove the .experimental .

Thanks in advance!