Repository navigation
Conversation
xiaoyifan
force-pushed
the
codex/fireworks-serverless-training
branch
from
August 21, 2026 08:01
5f657e1 to
b2bb3d2
Compare
xiaoyifan
force-pushed
the
codex/fireworks-serverless-training
branch
from
August 21, 2026 08:11
231e243 to
472c318
Compare
xiaoyifan
marked this pull request as ready for review
August 21, 2026 21:34
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
TRAINING_BACKEND=fireworksas a Tinker-compatible LoRA training backendaccounts/.../models/...training resourceScope
This PR keeps Fireworks behavior parallel to the existing Tinker integration:
LoRA SFT, sampler checkpoint creation, checkpoint evaluation, and provider
budget accounting. It does not add optimizer-state persistence, an online RL
algorithm, or a new training orchestration layer.
Flow
flowchart LR A[Data agent] --> B[train_messages.jsonl] B --> C{Training backend} C -->|Tinker| D[Tinker LoRA SFT] C -->|Fireworks| E[Serverless LoRA SFT] D --> F[Sampler checkpoint] E --> F E --> G[Session ID and tokenizer] F --> H[E2B checkpoint proxy] G --> H H --> I[Harbor evaluation] I --> J[Score and provider cost state]Review cleanup
save_statecall and resumable-checkpoint metadata because no RSIBench runner consumes them and Tinker has no parallel behaviorTRAINING_MODELbefore constructing the remote service clientValidation
python3 -m unittest discover -s tests -v— 75 tests passedbash -nfor runner, pipeline, official-eval, environment, setup, and Docker wrapper scriptsaccounts/fireworks/models/qwen3p5-9b, LoRA rank 8step_limit=5The credentialed runs exposed and verified fixes for provider model naming,
explicit tokenizer loading, checkpoint DNS-label length, dependency
compatibility, and pricing fail-fast behavior.