Skip to content

updates GRPOTrainer compatible with trl 0.17 #3969

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

Merged
merged 33 commits into from
Apr 30, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'main' into trl-dev
  • Loading branch information
hjh0119 authored Apr 29, 2025
commit 5285e70332dd9ee993af45b23901d4580bc14427
1 change: 1 addition & 0 deletions swift/llm/argument/infer_args.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ class VllmArguments:
use_async_engine: bool = True
data_parallel_size: int = 1
log_level: Literal['critical', 'error', 'warning', 'info', 'debug', 'trace'] = 'info'
vllm_quantization: Optional[str] = None

def __post_init__(self):
self.limit_mm_per_prompt = ModelArguments.parse_to_dict(self.limit_mm_per_prompt)
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.