# Synced runs still shows as unsynced

**URL:** <https://community.wandb.ai/t/synced-runs-still-shows-as-unsynced/6478>\
**Category:** W&B Help\
**Tags:** wandb\
**Created:** [April 20, 2024, 5:05pm UTC](https://community.wandb.ai/t/synced-runs-still-shows-as-unsynced/6478 "2024-04-20T17:05:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![streethagore](https://avatars.discourse-cdn.com/v4/letter/s/6a8cbe/32.png) [@streethagore](https://community.wandb.ai/u/streethagore)\
**Post date:** [April 20, 2024, 5:05pm UTC](https://community.wandb.ai/t/synced-runs-still-shows-as-unsynced/6478/1 "2024-04-20T17:05:34Z")

</div>

I have an offline run on my local machine.  
If I run:  
`wandb sync --sync-all`  
it uploads the run to my wandb dashboard.

However, if I then run:  
`wandb sync --clean --clean-force --include-offline --include-offline --clean-old-hours 0`  
then it tells me that there is no run older than 0 hours.

If I run `wandb sync --show 1`, it still shows me the local run as unsynced.  
I can run `wandb sync --sync-all --include-offline --include-synced` as many time as I want, the same behabior happens.

This is especially problematic because my main problem is that I want to append results on resumed runs, and this is already difficult to do with offline runs, which I need because my compute node doesn’t have internet connection, and long execution time are not allowed.  
Is there any possibity to solve the syncing problem first then make the `--append` option be compatible with offline runs ?

I’m currently testing it with wandb 0.16.5

Thanks.

---

<div class="post-metadata">

**Author:** ![jason-arkens17](https://avatars.discourse-cdn.com/v4/letter/j/f07891/32.png) [@jason-arkens17](https://community.wandb.ai/u/jason-arkens17)\
**Post date:** [May 1, 2024, 2:19pm UTC](https://community.wandb.ai/t/synced-runs-still-shows-as-unsynced/6478/2 "2024-05-01T14:19:38Z")

</div>

Hello streethagore,

Thanks so much for reaching out today.

When you run `wandb sync --sync-all` , it should upload all your runs to the W&B dashboard. However, if you immediately try to clean them with `--clean-old-hours 0` , it might not find any runs older than 0 hours because they were just synced. The `--clean-old-hours` flag is intended to clean runs that were created a certain number of hours ago, not the ones that were just synced.

To ensure that your runs are indeed synced, you can check the W&B dashboard to see if the runs appear there after the `wandb sync --sync-all` command.

As for appending offline runs I will look into if we already have a feature request for that and if not I would be more than happy to submit one for you!

I hope this helps. Let me know if you are able to sort out the syncing issue or if you had any other questions.

Have a great rest of your week!

Best,  
Jason

---

<div class="post-metadata">

**Author:** ![streethagore](https://avatars.discourse-cdn.com/v4/letter/s/6a8cbe/32.png) [@streethagore](https://community.wandb.ai/u/streethagore)\
**Post date:** [May 1, 2024, 2:26pm UTC](https://community.wandb.ai/t/synced-runs-still-shows-as-unsynced/6478/3 "2024-05-01T14:26:04Z")

</div>

Thanks for your reply.  
Unfortunately, even if I wait more than 24 hours, `wandb sync --clean` will not delete my offline runs that are synced.

For appending offline runs, there is an issue here: [[CLI]: wandb sync with --append option fails to sync offline runs with the same id · Issue #5865 · wandb/wandb · GitHub](https://github.com/wandb/wandb/issues/5865#issuecomment-2069690715)  
and here:  
[[Feature] Resume offline runs · Issue #2423 · wandb/wandb · GitHub](https://github.com/wandb/wandb/issues/2423)
