save_mtp_tensors_to_checkpoint lazy download - #791
Conversation
Signed-off-by: Kyle Sayers <kylesayrs@gmail.com>
Signed-off-by: Kyle Sayers <kylesayrs@gmail.com>
Signed-off-by: Kyle Sayers <kylesayrs@gmail.com>
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Team Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
This pull request has merge conflicts that must be resolved before it can be |
|
@coderabbitai fix merge conflict |
|
✅ Merge conflicts resolved successfully! Resolved 1 conflict file(s). Commit: 2 file operation(s)
View agent analysis |
Resolved conflicts in: - src/compressed_tensors/utils/mtp.py (content) Co-authored-by: CodeRabbit <noreply@coderabbit.ai>
Merge Protections🔴 1 of 1 protections blocking · waiting on 👀 reviews
🔴 Require one maintainer reviewWaiting for any of
This rule is failing.All PRs must have at least one approving review from a maintainer before merging.
|
Align test_save_mtp_tensors with the incremental index update logic: total_size/total_parameters are now derived from tensor byte/element counts, and an empty destination synthesises a fresh index instead of raising. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Purpose
Changes
save_mtp_tensors_to_checkpointto be used without requiring all source model files to be downloaded; only the required files are downloadedTesting