# Wandb + ray tune weird logging in dashboard

**URL:** <https://community.wandb.ai/t/wandb-ray-tune-weird-logging-in-dashboard/4705>\
**Category:** W&B Help\
**Tags:** sweeps\
**Created:** [July 8, 2023, 7:37pm UTC](https://community.wandb.ai/t/wandb-ray-tune-weird-logging-in-dashboard/4705 "2023-07-08T19:37:01Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![clabornd](https://sea2.discourse-cdn.com/flex020/user_avatar/community.wandb.ai/clabornd/32/1392_2.png) [@clabornd](https://community.wandb.ai/u/clabornd)\
**Post date:** [July 8, 2023, 7:37pm UTC](https://community.wandb.ai/t/wandb-ray-tune-weird-logging-in-dashboard/4705/1 "2023-07-08T19:37:02Z")

</div>

I am trying to use wandb and ray-tune integration, following the ‘RayTune\_with\_wandb’ notebook (sorry can only do two links).

My code is here: [Google Colab](https://colab.research.google.com/drive/1nuxuHKygfcmTe-Xherot2CdILAZR7Pb-?usp=sharing)

Currently I’m getting weird behavior where I see runs showing up in the ‘ppo-basic’ project, but with no metrics being logged: [Weights & Biases](https://wandb.ai/clabornd/ppo-basic). In addition to those runs, there are also other runs spawned in an ‘uncategorized’ project that seem to contain the metrics I’m logging. **Edit: after switching to using tune.Tuner, I see both the ‘empty’ runs and the runs with metrics in the ppo-basic project.**

As a separate issue, I had also tried setting the project to an existing project and specifying the group. Similar to above, two sets of runs were spawned, one without metrics, one with. The one with metrics also had a parallel line plots but only showed the hyperparameters that overlapped with ones from runs from another experiment.

Should I be using the examples from the ray docs?

Thanks for any help.

---

<div class="post-metadata">

**Author:** ![nathank](https://avatars.discourse-cdn.com/v4/letter/n/7ea924/32.png) [@nathank](https://community.wandb.ai/u/nathank)\
**Post date:** [July 13, 2023, 5:52pm UTC](https://community.wandb.ai/t/wandb-ray-tune-weird-logging-in-dashboard/4705/2 "2023-07-13T17:52:41Z")

</div>

Hi @clabornd, I see a similar issue reported in the past but it appears to have been fixed. I’ll pass the Colab onto our engineering team to take a look at and follow up shortly.

Thank you,  
Nate

---

<div class="post-metadata">

**Author:** ![nathank](https://avatars.discourse-cdn.com/v4/letter/n/7ea924/32.png) [@nathank](https://community.wandb.ai/u/nathank)\
**Post date:** [July 24, 2023, 2:32pm UTC](https://community.wandb.ai/t/wandb-ray-tune-weird-logging-in-dashboard/4705/3 "2023-07-24T14:32:42Z")

</div>

Hi @clabornd, is the code in the [Colab](https://colab.research.google.com/drive/1nuxuHKygfcmTe-Xherot2CdILAZR7Pb-?usp=sharing#scrollTo=cBXkUFVP4w1P) you sent still the code you are using? I get an import error when running it as is.

---

<div class="post-metadata">

**Author:** ![clabornd](https://sea2.discourse-cdn.com/flex020/user_avatar/community.wandb.ai/clabornd/32/1392_2.png) [@clabornd](https://community.wandb.ai/u/clabornd)\
**Post date:** [July 25, 2023, 3:15pm UTC](https://community.wandb.ai/t/wandb-ray-tune-weird-logging-in-dashboard/4705/4 "2023-07-25T15:15:07Z")

</div>

@nathank Apologies, there was a stale import in there: `from ray.tune.integration.wandb import wandb_mixin` just removed it, hopefully it works now. I just gave it a try and I’m seeing the behavior of runs with no metrics spawning in the project space, and then other runs with metrics getting sent to the ‘uncategorized’ project.

---

<div class="post-metadata">

**Author:** ![nathank](https://avatars.discourse-cdn.com/v4/letter/n/7ea924/32.png) [@nathank](https://community.wandb.ai/u/nathank)\
**Post date:** [July 27, 2023, 3:35pm UTC](https://community.wandb.ai/t/wandb-ray-tune-weird-logging-in-dashboard/4705/5 "2023-07-27T15:35:06Z")

</div>

@clabornd I see. Yes, I get the same behavior. I actually get something similar if I run the [example Colab](https://colab.research.google.com/github/wandb/examples/blob/master/colabs/raytune/RayTune_with_wandb.ipynb#scrollTo=sKjgQif97xXM) you are referring to. However, there are metrics logged in the correct project but they are not the ones logged with wandb.log(). I’ll raise this to our integrations team and follow up shortly.

---

<div class="post-metadata">

**Author:** ![nathank](https://avatars.discourse-cdn.com/v4/letter/n/7ea924/32.png) [@nathank](https://community.wandb.ai/u/nathank)\
**Post date:** [August 14, 2023, 2:40pm UTC](https://community.wandb.ai/t/wandb-ray-tune-weird-logging-in-dashboard/4705/6 "2023-08-14T14:40:48Z")

</div>

Hi @clabornd, apologies for the delay on this. This is a known bug and we are currently working on a fix for this. I’ve added you to the ticket so I can follow up here once we have a fix on this.

Thank you,  
Nate

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/wandb/original/1X/366b649231631dbab896843020da0056074ac79d.png) [@system](https://community.wandb.ai/u/system)\
**Post date:** [October 13, 2023, 2:41pm UTC](https://community.wandb.ai/t/wandb-ray-tune-weird-logging-in-dashboard/4705/7 "2023-10-13T14:41:46Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/wandb/original/1X/366b649231631dbab896843020da0056074ac79d.png) [@system](https://community.wandb.ai/u/system)\
**Post date:** [February 15, 2024, 6:06pm UTC](https://community.wandb.ai/t/wandb-ray-tune-weird-logging-in-dashboard/4705/8 "2024-02-15T18:06:44Z")

</div>

Dear Daniel,

I am updating you that we have now fixed the logging issue with WandB and Ray tune that you were experiencing and the fixing PR has been merged here [https://github.com/wandb/examples/pull/479](https://github.com/wandb/examples/pull/479).

Please let us know if you need anything further and if not I will close this off for you.

Best wishes,

Frida
