# All trials PENDING, never RUNNING

**URL:** <https://discuss.ray.io/t/all-trials-pending-never-running/2758>\
**Category:** Ray Tune\
**Created:** [July 2, 2021, 5:28pm UTC](https://discuss.ray.io/t/all-trials-pending-never-running/2758 "2021-07-02T17:28:44Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![rkechols](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/rkechols/32/1237_2.png) [@rkechols](https://discuss.ray.io/u/rkechols)\
**Post date:** [July 2, 2021, 6:44pm UTC](https://discuss.ray.io/t/all-trials-pending-never-running/2758/5 "2021-07-02T18:44:46Z")

</div>

After much messing around with the Windows virtual environment, I’ve gotten it to the point where `torch.cuda.is_available()` returns `True`.

But now I have a totally different problem: calling `ray.init()` (and my original script) outputs this line:

```auto
2021-07-02 12:41:47,233	INFO services.py:1274 -- View the Ray dashboard at http://127.0.0.1:8265

```

then **hangs**.

I’m using ray 1.4.1

Created a new discussion: [Ray.init() hangs](https://discuss.ray.io/t/ray-init-hangs/2759)

---

_[View the full topic](https://discuss.ray.io/t/all-trials-pending-never-running/2758)._
