mirror of
https://github.com/deepseek-ai/DeepSeek-MoE.git
synced 2026-11-05 00:57:43 +00:00
[PR #50] fix: correct logger.info() syntax in finetune.py #50
Labels
No labels
pull-request
WIP
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/DeepSeek-MoE#50
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/deepseek-ai/DeepSeek-MoE/pull/50
Author: @yurekami
Created: 12/25/2025
Status: 🔄 Open
Base:
main← Head:fix-logger-info-syntax📝 Commits (1)
e635d8dfix: correct logger.info() syntax in finetune.py📊 Changes
1 file changed (+4 additions, -4 deletions)
View changed files
📝
finetune/finetune.py(+4 -4)📄 Description
Summary
Fix incorrect
logger.info()calls that used print-style multiple arguments instead of proper string formatting.Problem
The Python
loggingmodule'slogger.info()method doesn't support multiple arguments likeprint()does. The current code:This only logs
"PAD Token:"and silently ignores the remaining arguments, losing important debugging information.Solution
Changed to f-string formatting:
Changes
Fixed 4
logger.info()calls:Test plan
python3 -m py_compile🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.