Skip to content

Add BDN weight loading example with Qwen3-0.6B - #77

Open
pat-baseten wants to merge 2 commits into
mainfrom
pat/cor-1260
Open

Add BDN weight loading example with Qwen3-0.6B#77
pat-baseten wants to merge 2 commits into
mainfrom
pat/cor-1260

Conversation

@pat-baseten

Copy link
Copy Markdown
Contributor

Summary

  • Adds qwen3-0.6b-bdn-weights example demonstrating BDN weight loading for training jobs.
  • Shows WeightsSource with hf:// (active) and s3:// (commented, ready to customize) in config.py.
  • Training script loads model from BDN mount path (/app/models/Qwen/Qwen3-0.6B) with no download code.
  • README covers HF integration, S3 integration with auth, and links to BDN docs.

Why

Training docs now document BDN weight loading (docs.baseten.co PR #471), but ml-cookbook had no working example. This provides a runnable reference.

Validation

Pushed to Baseten and ran end-to-end:

  • Job ID: 32p150q, Status: TRAINING_JOB_COMPLETED
  • BDN-mounted Qwen3-0.6B weights loaded successfully from /app/models/Qwen/Qwen3-0.6B
  • 20 training steps completed, checkpoints synced

Fixes COR-1260

Demonstrates loading model weights through BDN (WeightsSource) instead
of downloading in the training script. Includes HF and S3 patterns.
Validated end-to-end on Baseten (job 32p150q, TRAINING_JOB_COMPLETED).

Fixes COR-1260
@linear

linear Bot commented Feb 26, 2026

Copy link
Copy Markdown

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.

1 participant