# How to sync offline run on another computer?

**URL:** <https://community.wandb.ai/t/how-to-sync-offline-run-on-another-computer/3812>\
**Category:** W&B Help\
**Created:** [February 3, 2023, 10:29am UTC](https://community.wandb.ai/t/how-to-sync-offline-run-on-another-computer/3812 "2023-02-03T10:29:51Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![geyao](https://avatars.discourse-cdn.com/v4/letter/g/35a633/32.png) [@geyao](https://community.wandb.ai/u/geyao)\
**Post date:** [February 3, 2023, 10:29am UTC](https://community.wandb.ai/t/how-to-sync-offline-run-on-another-computer/3812/1 "2023-02-03T10:29:51Z")

</div>

The offline runs are generated by computer A. Because of the lack of network on A, I copied the whole wandb directory to another computer B and excuted the sync command on B. But I have:

```shell
wandb: No runs to be synced.

```

I want to know is this way possible?

---

<div class="post-metadata">

**Author:** ![geyao](https://avatars.discourse-cdn.com/v4/letter/g/35a633/32.png) [@geyao](https://community.wandb.ai/u/geyao)\
**Post date:** [February 4, 2023, 2:42am UTC](https://community.wandb.ai/t/how-to-sync-offline-run-on-another-computer/3812/2 "2023-02-04T02:42:25Z")

</div>

I found this issue and meet the same problem.

> <https://github.com/wandb/wandb/issues/3098>
>
> If I train on a gpu machine that cannot be connected to the Internet and use off…line wandb to record metrics, can I move the generated offline folder to another machine and synchronize it to the cloud? Which files must I save and move?

---

<div class="post-metadata">

**Author:** ![mohammadbakir](https://avatars.discourse-cdn.com/v4/letter/m/a9a28c/32.png) [@mohammadbakir](https://community.wandb.ai/u/mohammadbakir)\
**Post date:** [February 6, 2023, 10:14pm UTC](https://community.wandb.ai/t/how-to-sync-offline-run-on-another-computer/3812/3 "2023-02-06T22:14:07Z")

</div>

Hi @geyao , happy to help. Could you please provide me the command you are using to sync the run(s)? If you try to sync a single run folder, does this execute successfully?

`wandb sync --project <PROJECT> --entity <ENTITY> wandb/<run-folder-name>`

---

<div class="post-metadata">

**Author:** ![mohammadbakir](https://avatars.discourse-cdn.com/v4/letter/m/a9a28c/32.png) [@mohammadbakir](https://community.wandb.ai/u/mohammadbakir)\
**Post date:** [February 10, 2023, 12:24am UTC](https://community.wandb.ai/t/how-to-sync-offline-run-on-another-computer/3812/4 "2023-02-10T00:24:04Z")

</div>

Hi @geyao , since we have not heard back from you we are going to close this request. If you would like to re-open the conversation, please let us know!

---

<div class="post-metadata">

**Author:** ![geyao](https://avatars.discourse-cdn.com/v4/letter/g/35a633/32.png) [@geyao](https://community.wandb.ai/u/geyao)\
**Post date:** [February 11, 2023, 2:02am UTC](https://community.wandb.ai/t/how-to-sync-offline-run-on-another-computer/3812/5 "2023-02-11T02:02:17Z")

</div>

Sorry for late reply. Finally, I successfully sync the run. But I have to remove this before the run starts:

```python
wandb.run.log_code(...)

```

The reason is in the above github issue. I don’t know if there is any solution to deal with the exist of `log_code` operation.

---

<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:** [April 12, 2023, 2:02am UTC](https://community.wandb.ai/t/how-to-sync-offline-run-on-another-computer/3812/6 "2023-04-12T02:02:27Z")

</div>

Closed on April 12, 2023, 2:02am UTC

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