$ the-wire · showcase
PiSSA conversion keeps saved modules, P-H3-Image becomes P-Image-OSS
By RepoJournal · Filed · About Hugging Face · Composed from the cited sources · methodology
PEFT closed the gap that silently stripped non-LoRA weights during PiSSA/OLoRA-to-LoRA conversion, while diffusers renamed P-H3-Image to P-Image-OSS behind deprecated aliases and dropped two float32 copies per RoPE call.
FIX Keep modules_to_save/trainable tokens when converting PiSSA etc (#4211) huggingface/peft
LoraModel.subtract_mutated_init copied only lora_A and lora_B into the converted state dict, so a trained modules_to_save classifier or trainable tokens vanished and the converted adapter would not load. The fix carries every adapter weight through path_initial_model_for_weight_conversion.
FIX DeFT, TinyLoRA and PSOFT second adapter overwriting fan_in_fan_out huggingface/peft
A second adapter added via add_adapter or load_adapter reached update_layer with its own uncorrected config, so on a transformers Conv1D layer the flipped fan_in_fan_out was overwritten and TinyLoRA computed its SVD on the untransposed weight. DeFT, TinyLoRA and PSOFT now apply the same correction the first injection gets.
Avoid float32 copies of q / k in the RoPE helpers (#15215) huggingface/diffusers
apply_rotary_emb materialized float32 copies of q and k on every call through explicit .float() casts, which type promotion already provided with float32 cos and sin. Dropping the casts is bit-identical output with one less allocation per rotation.
fix : Rename to P-Image-OSS huggingface/diffusers
AutoencoderKLPH3Image, PH3ImageTextConnector and PH3ImageModularPipeline become AutoencoderKLPImageOSS, PImageOSSTextConnector and PImageOSSModularPipeline, with the old p_h3_image modules kept as deprecated aliases. Model code is unchanged, so imports still resolve but will warn.
Pin every tiny test model to a Hub commit huggingface/trl
TRL pinned every trl-internal-testing model to a Hub commit sha, because tests loaded them from main and an upstream fixture update could reach release branches that were never adapted to it. A commit's test result now depends on its code, not on when CI ran.
Action items
- → Replace imports of AutoencoderKLPH3Image, PH3ImageTextConnector and PH3ImageModularPipeline with their PImageOSS equi... huggingface/diffusers [plan]