-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Description
Summary
In versions 0.6.0 through 0.6.6, the mainnet fine-tuning contract address is set to the zero address (0x0000000000000000000000000000000000000000). This was fixed in v0.7.0 when the actual mainnet address 0x4e3474095518883744ddf135b7E0A23301c7F9c0 was added.
Problem
Users who have @0glabs/0g-serving-broker pinned to ^0.6.x in their package.json will resolve to 0.6.6 at most (semver doesn't cross minor boundaries). This means they silently get a broken mainnet fine-tuning setup.
Affected file (at v0.6.5 and v0.6.6):
src.ts/sdk/broker.ts, lines ~26-30:
mainnet: {
// TODO: Update with actual mainnet addresses when available
ledger: '0x2dE54c845Cd948B72D2e32e39586fe89607074E3',
inference: '0x47340d900bdFec2BD393c626E12ea0656F938d84',
fineTuning: '0x0000000000000000000000000000000000000000',
},Fixed version (v0.7.0+):
src.ts/sdk/constants.ts:
mainnet: {
ledger: '0x2dE54c845Cd948B72D2e32e39586fe89607074E3',
inference: '0x47340d900bdFec2BD393c626E12ea0656F938d84',
fineTuning: '0x4e3474095518883744ddf135b7E0A23301c7F9c0',
},Evidence
Fine-tuning is confirmed live on mainnet (chain ID 16661):
- Provider:
0x940b4a101CaBa9be04b16A7363cafa29C1660B0d - Available models:
Qwen2.5-0.5B-Instruct,Qwen3-32B - Verified via CLI:
0g-compute-cli fine-tuning list-providersandlist-models
Suggestion
Consider one of:
- Backport the correct address to a
0.6.7patch release so^0.6.xusers get the fix - Deprecate the 0.6.x line in npm with a message pointing to 0.7.x
- Document the minimum required version for mainnet fine-tuning in the README
Versions Affected
| Version | Mainnet fineTuning Address | Status |
|---|---|---|
| 0.6.0 - 0.6.6 | 0x000...000 (zero) |
Broken |
| 0.7.0+ | 0x4e3474...9c0 |
Fixed |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels