Skip to content

Commit

Permalink
chore(config): clean up old log for Qwen (#1034)
Browse files Browse the repository at this point in the history
  • Loading branch information
NanoCode012 committed Jan 3, 2024
1 parent 8ba27f3 commit 74532dd
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/axolotl/utils/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,11 +422,6 @@ def validate_config(cfg):
if cfg.warmup_steps and cfg.warmup_ratio:
raise ValueError("warmup_steps and warmup_ratio are mutually exclusive")

if cfg.is_qwen_derived_model and cfg.gradient_checkpointing:
LOG.warning(
"Gradient checkpointing is broken for Qwen models for transformers>=4.35.0, except main branch."
)

if cfg.wandb_run_id and not cfg.wandb_name:
cfg.wandb_name = cfg.wandb_run_id

Expand Down

0 comments on commit 74532dd

Please sign in to comment.