Skip to content

Fix concurrent uploads#386

Merged
mishig25 merged 2 commits into
mainfrom
fix_concurrent_commit
Jul 6, 2023
Merged

Fix concurrent uploads#386
mishig25 merged 2 commits into
mainfrom
fix_concurrent_commit

Conversation

@mishig25

@mishig25 mishig25 commented Jul 6, 2023

Copy link
Copy Markdown
Contributor

Problem

When upload_version_yml flag is on, doc-builder pushes two updates to hf hub: 1. updated _version.yml files 2. zipped doc built artifacts. However, this was causing a concurrency problem as two files were being uploaded same time

Solution

Put the two files in a same folder and upload the folder instead of uploading two files separately

@coyotte508 coyotte508 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@mishig25 mishig25 force-pushed the fix_concurrent_commit branch from 66d081f to f282716 Compare July 6, 2023 12:04
@mishig25 mishig25 merged commit 834c154 into main Jul 6, 2023
@mishig25 mishig25 deleted the fix_concurrent_commit branch July 6, 2023 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants