Skip to content

fix: pass through trust_remote_code everywhere - #562

Merged
luciaquirke merged 1 commit into
mainfrom
fix/trust-remote-code-max-tokens
Oct 20, 2026
Merged

luciaquirke merged 1 commit into
mainfrom
fix/trust-remote-code-max-tokens

Conversation

@luciaquirke

@luciaquirke luciaquirke commented Oct 20, 2026 •

Copy link
Copy Markdown
Collaborator

.

setup_data_pipeline loaded the model config without model_kwargs, so a
model with custom code failed before it was loaded with
model_kwargs=trust_remote_code=True.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@luciaquirke
luciaquirke force-pushed the fix/trust-remote-code-max-tokens branch from 25fb8b7 to d2ff163 Compare October 20, 2026 05:08
@luciaquirke luciaquirke changed the title fix: Forward trust_remote_code when reading the model's max length fix: pass through trust_remote_code when reading model's max length Oct 20, 2026
@luciaquirke luciaquirke changed the title fix: pass through trust_remote_code when reading model's max length fix: pass through trust_remote_code everywhere Oct 20, 2026
@luciaquirke
luciaquirke merged commit a20a28e into main Oct 20, 2026
8 checks passed
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