Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

训练deepseek蒸馏的7B时,loss在每个epoch开始时翻倍 #7208

Open
1 task done
Y56611 opened this issue Mar 7, 2025 · 1 comment
Open
1 task done

训练deepseek蒸馏的7B时,loss在每个epoch开始时翻倍 #7208

Y56611 opened this issue Mar 7, 2025 · 1 comment
Labels
bug Something isn't working pending This problem is yet to be addressed

Comments

@Y56611
Copy link

Y56611 commented Mar 7, 2025

Reminder

  • I have read the above rules and searched the existing issues.

System Info

[2025-03-07 09:01:46,835] [INFO] [real_accelerator.py:222:get_accelerator] Setting ds_accelerator to cuda (auto detect)

  • llamafactory version: 0.9.2.dev0
  • Platform: Linux-5.4.119-19-0009.11-x86_64-with-glibc2.35
  • Python version: 3.10.12
  • PyTorch version: 2.3.0a0+ebedce2 (GPU)
  • Transformers version: 4.49.0
  • Datasets version: 3.2.0
  • Accelerate version: 1.2.1
  • PEFT version: 0.12.0
  • TRL version: 0.9.6
  • GPU type: NVIDIA A800-SXM4-80GB
  • GPU number: 8
  • GPU memory: 79.33GB
  • DeepSpeed version: 0.16.2

Reproduction

Put your message here.

Others

No response

@Y56611 Y56611 added bug Something isn't working pending This problem is yet to be addressed labels Mar 7, 2025
@Y56611
Copy link
Author

Y56611 commented Mar 7, 2025

{'loss': 0.7723, 'grad_norm': 0.3804401225661987, 'learning_rate': 3.7866236009990253e-06, 'epoch': 1.97}
{'loss': 0.7755, 'grad_norm': 0.3685096806372812, 'learning_rate': 3.77567508265225e-06, 'epoch': 1.98}
{'loss': 0.7701, 'grad_norm': 0.4337734736678332, 'learning_rate': 3.764693384223671e-06, 'epoch': 1.99}
{'loss': 0.7858, 'grad_norm': 0.4056827759511268, 'learning_rate': 3.753678791345311e-06, 'epoch': 1.99}
{'loss': 1.5318, 'grad_norm': 0.6894233935022746, 'learning_rate': 3.7426315905047694e-06, 'epoch': 2.01}
{'loss': 0.755, 'grad_norm': 0.4109267906585638, 'learning_rate': 3.731552069037774e-06, 'epoch': 2.01}
{'loss': 0.7521, 'grad_norm': 0.3946745772581362, 'learning_rate': 3.7204405151207036e-06, 'epoch': 2.02}
{'loss': 0.7519, 'grad_norm': 0.38307276099678733, 'learning_rate': 3.7092972177630998e-06, 'epoch': 2.03}
{'loss': 0.765, 'grad_norm': 0.4016667872509622, 'learning_rate': 3.6981224668001427e-06, 'epoch': 2.04}
{'loss': 0.7556, 'grad_norm': 0.3905259113566424, 'learning_rate': 3.686916552885115e-06, 'epoch': 2.04}
log的片段

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pending This problem is yet to be addressed
Projects
None yet
Development

No branches or pull requests

1 participant