Skip to content

fix(datasets): upload local recordings to the active Hub account - #155

Open
voropaevv wants to merge 1 commit into
huggingface:mainfrom
voropaevv:codex/fix-local-dataset-hub-upload
Open

voropaevv wants to merge 1 commit into
huggingface:mainfrom
voropaevv:codex/fix-local-dataset-hub-upload

Conversation

@voropaevv

Copy link
Copy Markdown

Uploading a recording such as local/sushi2 currently uses local as the Hub namespace and fails with a 403. Open the recording with its local ID and use the signed-in account for the Hub destination. For example, the files from local/sushi2 can be uploaded to alice/sushi2.

For a private local upload, confirm that the destination is private before sending the files. The success screen opens the published repo using the privacy setting submitted with the request.

Verified with synthetic datasets and a stubbed Hub API on LeRobot v0.7.0. The full backend suite passed (426 tests), the frontend suite passed (60 tests), and the frontend build and pre-commit checks passed. An independent review reran the eight upload regressions against the final commit.

Fixes #148.

Codex assisted with implementation and verification.

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.

Uploading a local dataset fails with 403 because local/* is used as the Hub namespace

1 participant