Skip to content

Commit

Permalink
Fix logging import (#316)
Browse files Browse the repository at this point in the history
  • Loading branch information
lewtun authored Feb 13, 2025
1 parent 7832290 commit 272b648
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -175,4 +175,6 @@ data/
wandb/
logs/
eval_results/
results/
results/

.vscode/
2 changes: 1 addition & 1 deletion src/open_r1/grpo.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
reasoning_steps_reward,
)
from open_r1.utils.callbacks import get_callbacks
from open_r1.utils.logging import init_wandb_training
from open_r1.utils.wandb_logging import init_wandb_training
from trl import GRPOTrainer, ModelConfig, ScriptArguments, TrlParser, get_peft_config


Expand Down
2 changes: 1 addition & 1 deletion src/open_r1/sft.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@

from open_r1.configs import SFTConfig
from open_r1.utils.callbacks import get_callbacks
from open_r1.utils.logging import init_wandb_training
from open_r1.utils.wandb_logging import init_wandb_training
from trl import (
ModelConfig,
ScriptArguments,
Expand Down

0 comments on commit 272b648

Please sign in to comment.