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.

[CLI]: sync offline-run artifacts get duplicated on web-server

See original GitHub issue

Describe the bug

When syncing an offline run to the web via the sync command, the artifacts get duplicated.

In my code I have a loop logging each time a table artifact:

wandb.log({'table': table = wandb.Table(...})

When I use an online run I get the wanted output of a table with versions (each representing a loop iteration) as follows: Screen Shot 2022-07-20 at 23 17 03 In this example, the loop performed the python code above 8 times creating versions 0-7.

The problem starts when I train it with WANDB_MODE=offline and then run the following command:

wandb sync offline-run-<run-id>

The first time it will work correctly and will upload all versions up to the current loop status (lets say versions 0-2), when the loop will continue, if I’ll run the command again, instead of uploading versions 3-7, it will upload 0-2 again and start the counting from version 3, ending up with versions 0-10, where versions 0-2 are the same as versions 3-5.

Additional Files

No response

Environment

WandB version: 0.12.21

OS: CentOS Stream 8

Python version: 3.9.12

Versions of relevant libraries:

Additional Context

No response

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:1
  • Comments:20 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
thanos-wandbcommented, Jul 22, 2022

Hi @urielsinger, I tried to replicate your issue but I wasn’t able to run to the same issue as you did.

I used this command wandb sync --sync-all to sync my artifacts. Can you provide me with some more information why you used the wand sync offline-run-<run-id> statement relative to --sync-all?

0reactions
ramit-wandbcommented, Sep 26, 2022

Hey @yuvalkirstain,

Understood, we have already created an internal ticket to track this issue and resolve it, and I absolutely agree that this is something we should resolve. I’ll reach out to you once some movement has been made here.

Thanks, Ramit

Read more comments on GitHub >

github_iconTop Results From Across the Web

Offline Sync Stalls after Missing Artefact - W&B Help
I'm using Hydra+PL+WandB (Offline) to log a sweep of runs. env: Python 3.7.11 ... Find logs at: /tmp/debug-cli.aime.log Syncing: ...
Read more >
Repository Replication - JFrog - JFrog Documentation
A replication loop occurs ("Cyclic" or "Bi-directional" replication) occurs when two instances of Artifactory running on different servers are ...
Read more >
GitLab CI/CD artifacts reports types
Use artifacts:reports to: Collect test reports, code quality reports, security reports, and other artifacts generated by included templates in jobs.
Read more >
How to setup a local Maven repository server for artifact hosting
One of the benefits of Maven is that it helps to reduce the duplication of dependent software libraries and JAR files required to...
Read more >
MirrorSync advanced topics
9.2 I don't want to sync my entire database to my offline users. ... Run MirrorSync on just the FileMaker Server, instead of...
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