question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[core/win] ray.init is hanging forever on windows (vscode)

See original GitHub issue

What is the problem?

ray.init() doesn’t work. It starts and hangs forever as can be seen below:

Imgur

Ray version and other system information (Python version, TensorFlow version, OS):

ray version: 1.1.0.dev0 and 1.0.1.post1

Vs Code

Imgur

Python dependencies:

requiremets lock

Reproduction (REQUIRED)

Please provide a script that can be run to reproduce the issue. The script should have no external library dependencies (i.e., use fake or mock data / environments):

Originally discovered by using tune_sklearn, then smallest instructions to reproduce were found by @richardliaw . More information can be found here.

Problem reproduction

import ray
ray.init()

If we cannot run your script, we cannot fix your issue.

  • [✔️] I have verified my script runs in a clean environment and reproduces the issue.
  • [✔️] I have verified the issue also occurs with the latest wheels.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:6
  • Comments:25 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
DanielAtKryptoncommented, Jun 4, 2021

Neither here or at the duplicate issue https://github.com/ray-project/ray/issues/13794, a solution was developed as of now. In my understanding the ability to isolate concerns and environment is paramount. Maybe ray-project folks do not think this way…

0reactions
mattipcommented, Oct 20, 2022

I am closing this, since we did not get any response after #25806 was merged. Please open a new issue if this returns, with a complete reproducer.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Core] Ray.init() hanging
Hello, I have a training script that runs well locally on my machine, but not always when I deploy it on an online...
Read more >
Ray init() is very slow - python - Stack Overflow
I noticed that import resource in worker.py fails. Not sure if it is relevant. Looks like it is a normal failure for Windows....
Read more >
Untitled
Diviseur de 841, Ms university baroda girls hostel, Volumeid windows 2008, ... Priyanjana ghosh, Ray prasetya yang sekarang, Shizuku whisper of the heart, ......
Read more >
cookie run thailand - CSDN
Built using nodejs and vuejs2; vuejs-extension-pack vscode - An extension packf or vscode with popular VS Code extensions for Vue.js development.
Read more >
enigmatic - OSCHINA - 中文开源技术交流社区
奉献 25 个最酷的 Windows 8 墙纸 ... ie: <PrimaryButton>Text</PrimaryButton> Recommended VS Code Plugin: vscode-styled-components To install: Open VS Code ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found