minimaxir/gpt-2-keyword-generation

Process getting stuck at ray.get()

pragnakalpdev8 opened this issue · 2 comments

I am using this repo in the google colab and it's getting stuck at the line

results = ray.get([c.generate_encoded_text.remote(row)
                    for c, row in list(zip(encoders, chunk))])

for the while, I am using top_reddit_posts.csv file only. and following given steps in the example readme file.

Colab might not play nice with ray; I haven't tested it there.

Try this it works in my case- use ray.init() without any parameters