Continual / root_gainlora

Commit History

  1. new v2

    bd400be

  1. v2

    8b682f9
  2. v2

    d1be546
  3. fix FT score

    b9eaa7b
  4. fix FT score

    b58da25

  1. update OOM fix

    6152366
  2. Fix OOM: prev LoRA on CPU + no_grad entire prev contribution (no saved tensors for backward)

    3aef764
  3. Fix OOM: agg_lora_states accumulate weighted sum incrementally instead of O(N) cat

    62e82d3
  4. Fix deprecation warnings: torch.load weights_only, cupy fromDlpack, as_target_tokenizer

    3c3ef28
  5. fix: re-initialize trans_input/prompt_key after from_pretrained, add epsilon to norm, use_reentrant=False⁠

    d6a9f4f

  1. fix: pass attention_mask directly to model.generate(), not via GenerationConfig

    915a112
  2. fix: override _save to disable safetensors for T5 shared embedding weights

    bb4c9d9
  3. fix: denumpify_detensorize moved to trainer_utils in transformers 4.40+

    a57a027
  4. fix: add explicit trainer_pt_utils imports (nested_truncate etc.) removed from trainer.* in 4.40+

    e4e078c
  5. fix: comprehensive transformers 4.40 compat across all trainer files⁠

    2e720a9
  6. fix: replace removed _pad_across_processes with accelerator API⁠

    164f658
  7. fix: synced_gpus must be passed to generate(), not GenerationConfig⁠

    a92aa8a
  8. fix: LoRALayer.forward reshape incompatible with T5-small⁠

    b50bff4
  9. fix: preserve task_config_dir in T5_small scripts⁠

    8b246a8
  10. feat: add T5_small benchmark scripts for 4 comparison scenarios⁠

    e84f283
  11. fix: restore _set_gradient_checkpointing + enable_input_require_grads for gradient checkpointing

    2b87f4b
  12. fix: use default use_reentrant=True for gradient checkpointing (model expects it)

    008c76c
  13. fix: enable --gradient_checkpointing to fit T4 GPU memory

    4791c61
  14. fix: revert eval_strategy back to evaluation_strategy (4.40.2 uses old name)

    2f6ffef
  15. fix: rename --evaluation_strategy to --eval_strategy (transformers 4.40+)

    fb265db
  16. fix: add typing imports to all trainer files

    6331426
  17. fix: add Union to typing imports in cl_collator

    acd898c
  18. fix: add Optional/Any import to cl_collator, ipdb try/except in score.py

    467dac1
  19. fix: add FP16 safety check, dataset script check, LoRA sanity check

    dfdd675
  20. fix: LoRA reinit, gradient checkpointing use_reentrant=False, checkpoint existence check, collator padding alignment

    5299479
  21. fix: restore notebook cells

    6a339c3
  22. add root_gainlora to repo for testing

    e2bef95
  23. reduce rubish

    5d89844
  24. resize

    993fff4

  1. fix bug root

    816d960
  2. fix: _maybe_log_save_evaluate add grad_norm param for transformers 4.40.2

    67281b3
  3. fix: do_grad_scaling compat for transformers 4.40.2

    642dc3d
  4. fix: gradient checkpointing compat for transformers 4.40.2 (OOM fix)

    7bd8512
  5. fix: sanitize NaN/Inf values before SVD computation

    13c81ff
  6. fix: add compat shim for is_torch_tpu_available

    74a4551
  7. fix: SVD CPU fallback for ill-conditioned matrices

    3a19926
  8. fix: use gesvd driver for robust SVD + larger regularization

    c2c5218
  9. fix: robust SVD fallback with direct regularization instead of pinv

    f9548d4
  10. fix: replace self.use_apex and self.fsdp with getattr for compat

    3f132e5
  11. fix: compat shim for ShardedDDPOption and sharded_ddp attribute

    6f52dc6
  12. fix: replace deprecated torch.pinv with torch.linalg.pinv

    d7fe0d8
  13. fix: add explicit imports for DistributedSampler, DataLoader, IterableDatasetShard, ipdb

    fd8e73c
  14. fix: trust_remote_code and abs paths for load_dataset

    5e730b3
  15. update

    d8766fe
  16. clean code

    b8c0787