Skip to content

fix: align MLX PPO config with standard config - #196

Merged
TATP-233 merged 1 commit into
mainfrom
fix/issue-174-mlx-ppo-config-alignment
Apr 10, 2026
Merged

TATP-233 merged 1 commit into
mainfrom
fix/issue-174-mlx-ppo-config-alignment

Conversation

@TATP-233

Copy link
Copy Markdown
Collaborator

Summary

Fixes #174

This PR aligns the MLX PPO configuration with the standard PPO configuration by adding missing fields and migrating hardcoded values to config.

Changes

conf/ppo/config_mlx.yaml

  • Added algo.save_interval: 100 (was missing)
  • Added algo.resume: false (was missing)
  • Added algo.checkpoint: -1 (was missing)
  • Added training.device: mlx (was missing)
  • Added training.task_step_tuning section (migrated from hardcoded dict)
  • Changed algo.algorithm.fast_mode from false to true (to match standard config)

scripts/train_mlx_ppo.py

  • Removed hardcoded TASK_STEP_TUNING dictionary
  • These values are now configured via YAML

Checklist

@TATP-233
TATP-233 force-pushed the fix/issue-174-mlx-ppo-config-alignment branch 2 times, most recently from 13c8941 to c33941f Compare April 10, 2026 07:38
Add missing fields to conf/ppo/config_mlx.yaml:
- algo.save_interval: 100
- algo.resume: false
- algo.checkpoint: -1
- training.device: mlx
- training.task_step_tuning (migrated from hardcoded dict)

Change fast_mode default from false to true to match standard config.

Remove TASK_STEP_TUNING hardcoded dict from scripts/train_mlx_ppo.py.

Fixes #174
@TATP-233
TATP-233 force-pushed the fix/issue-174-mlx-ppo-config-alignment branch from c33941f to 3132007 Compare April 10, 2026 07:44
@TATP-233
TATP-233 merged commit 974722a into main Apr 10, 2026
5 checks passed
@TATP-233
TATP-233 deleted the fix/issue-174-mlx-ppo-config-alignment branch April 10, 2026 08:04
Jaui7 pushed a commit that referenced this pull request Apr 14, 2026
…lignment

fix: align MLX PPO config with standard config
TATP-233 added a commit that referenced this pull request May 4, 2026
…lignment

fix: align MLX PPO config with standard config
TATP-233 added a commit that referenced this pull request May 30, 2026
…lignment

fix: align MLX PPO config with standard config
TATP-233 added a commit that referenced this pull request Sep 4, 2026
…lignment

fix: align MLX PPO config with standard config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Work: MLX PPO 配置与标准配置对齐 — 补齐缺失字段

1 participant