Skip to content

feat: export W&B run files as Lake-structured folder#173

Open
alok wants to merge 3 commits into
fix/alok-dafnybench-numpyspecfrom
feat/wandb-run-export-20250908-233036
Open

feat: export W&B run files as Lake-structured folder#173
alok wants to merge 3 commits into
fix/alok-dafnybench-numpyspecfrom
feat/wandb-run-export-20250908-233036

Conversation

@alok
Copy link
Copy Markdown
Contributor

@alok alok commented Sep 9, 2025

Updates:

  • Ensures mkdir -p by creating parent directories for every file path derived from W&B (both run files and artifact contents).
  • Auto-promotes W&B's default code/ snapshot to the export root when it contains lakefile.lean (reconstructs the Lake project root). Use --no-promote-code-root to disable.

Usage remains the same; new flags:

  • --no-promote-code-root to opt out of promotion

alok added 3 commits September 8, 2025 23:30
…te Multiset stub; keep default build green via sub-targets with needs
…de/' Lake root to export root\n\n- Ensure parent dirs exist (mkdir -p) before saving run files and artifact entries\n- Optionally (default) promote W&B 'code/' snapshot to project root if it contains lakefile.lean\n- Add --no-promote-code-root to opt out
@TheodoreEhrenborg
Copy link
Copy Markdown
Contributor

@Kukovec Did this work for you?

@Kukovec
Copy link
Copy Markdown
Contributor

Kukovec commented Sep 9, 2025

@Kukovec Did this work for you?

I'm able to use it to download runs, if that's what you're asking.

@TheodoreEhrenborg
Copy link
Copy Markdown
Contributor

I'd ask @claude to make a PR with just scripts/wandb_pull_run_files.py, but IIRC it doesn't have credits at the moment. I can manually pull out that script later, maybe tomorrow

@claude
Copy link
Copy Markdown
Contributor

claude Bot commented Sep 9, 2025

Claude encountered an error —— View job


I'll analyze this and get back to you.

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.

3 participants