Skip to content

fix(merger): copy processor_config.json for custom processors#156

Merged
kcz358 merged 1 commit intomainfrom
fix/merger-copy-processor-config
Apr 15, 2026
Merged

fix(merger): copy processor_config.json for custom processors#156
kcz358 merged 1 commit intomainfrom
fix/merger-copy-processor-config

Conversation

@kcz358
Copy link
Copy Markdown
Collaborator

@kcz358 kcz358 commented Apr 15, 2026

Summary

AutoProcessor.from_pretrained does not recognize custom processors (e.g. AeroRealtimeProcessor) and falls back to the base Qwen2Tokenizer, so save_pretrained only emits tokenizer files and misses processor_config.json.

  • Copy processor_config.json from the source checkpoint directory if it exists

AutoProcessor.from_pretrained falls back to the base tokenizer for
custom processors (e.g. AeroRealtimeProcessor), so save_pretrained
does not emit processor_config.json. Copy it from the source
checkpoint if present.
@kcz358 kcz358 merged commit ae4513b into main Apr 15, 2026
1 check failed
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