Skip to content

Conversation

@alisonshao
Copy link
Collaborator

Summary

  • Add adapter_model.safetensors to the list of files validated for corruption in CI

The existing safetensors corruption detection added in #13729 only validates model.safetensors and pytorch_model.safetensors, but LoRA adapters use adapter_model.safetensors. This causes CI failures when cached LoRA adapter files are corrupted.

Error seen in CI:

RuntimeError: Failed to load LoRA adapter philschmid/code-llama-3-1-8b-text-to-sql-lora: Error while deserializing header: invalid JSON in header: EOF while parsing a value at line 1 column 0

Test plan

  • CI should now detect and clean up corrupted LoRA adapter files

@gemini-code-assist
Copy link
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@alisonshao
Copy link
Collaborator Author

/tag-and-rerun-ci

@alisonshao alisonshao force-pushed the fix/lora-safetensors-validation branch from 94b094e to 886f6cb Compare November 26, 2025 21:27
@Kangyan-Zhou Kangyan-Zhou merged commit a223402 into main Nov 26, 2025
67 of 88 checks passed
@Kangyan-Zhou Kangyan-Zhou deleted the fix/lora-safetensors-validation branch November 26, 2025 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants