Skip to content

Commit

Permalink
remove trl from dev
Browse files Browse the repository at this point in the history
  • Loading branch information
ByronHsu committed Dec 10, 2024
1 parent 32ca88a commit 92270b4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,12 @@ transformers = [
"transformers~=4.0"
]

trl = [
"trl>=0.11.0",
]

dev = [
"transformers>=4.44.2",
"trl>=0.11.0",
"matplotlib>=3.7.2",
"flake8>=4.0.1.1",
"black>=24.4.2",
Expand Down
4 changes: 1 addition & 3 deletions src/liger_kernel/transformers/trainer/orpo_trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,7 @@ def concatenated_forward(
padding_value=self.padding_value,
device=self.accelerator.device,
)
# if self.accelerator.is_main_process:
# import pdb; pdb.set_trace()
# torch.distributed.barrier()

model_kwargs = (
{
"decoder_input_ids": self._shift_right(
Expand Down

0 comments on commit 92270b4

Please sign in to comment.