aehrc / cvt2distilgpt2

Improving Chest X-Ray Report Generation by Leveraging Warm-Starting
GNU General Public License v3.0
64 stars 6 forks source link

Issue on importing HorovodRayPlugin #10

Open o0windseed0o opened 1 year ago

o0windseed0o commented 1 year ago

After installation and configuration of everything and trying to run the main script, the following import error was raised. It looks like a version issue relevant to the ray_lightning package. Anyone knows how to solve it? I think it is not necessary to use Horovod but how to comment all of them? Thanks. The trace: Traceback (most recent call last): File "/home/windseed/workplace/cvt2distilgpt2-main/main.py", line 14, in from transmodal.trainer import create_trainer File "/home/windseed/workplace/cvt2distilgpt2-main/transmodal/trainer.py", line 8, in from ray_lightning import HorovodRayPlugin, RayPlugin ImportError: cannot import name 'HorovodRayPlugin' from 'ray_lightning' (/home/windseed/anaconda3/envs/light/lib/python3.10/site-packages/ray_lightning/init.py)

anicolson commented 1 year ago

Please use the updated repository and its requirements.