Skip to content

fix(example): remove invalid Kimi LoRA flag - #2517

Open
Arist12 wants to merge 4 commits into
radixark:mainfrom
Arist12:fix/kimi-lora-example-undefined-filter-flag
Open

fix(example): remove invalid Kimi LoRA flag#2517
Arist12 wants to merge 4 commits into
radixark:mainfrom
Arist12:fix/kimi-lora-example-undefined-filter-flag

Conversation

@Arist12

@Arist12 Arist12 commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Problem

The Kimi K2.5 LoRA launcher and documentation include --filter-zero-reward-samples, an unsupported argument.

Change

Remove the argument from the launcher and documentation, and update the generated launch-script snapshot to match.

…uncher

No parser defines the flag and no other file references it, so
examples/lora/run-kimi-k25-megatron-lora.sh exits in argument parsing before it reaches a GPU,
on any platform:

    train.py: error: unrecognized arguments: --filter-zero-reward-samples

git log -S shows the flag arrived with the example itself, so this recipe has never started.

radixark#2355 already removed the same line from the sibling scripts/run-kimi-k25.sh by deleting it, and
its Python port keeps no dynamic-sampling filter, so deleting is what matches the settled intent
for this recipe rather than substituting a filter it has never run with.

docs/models/kimi/kimi-k2.5.md quotes the same block; the launch-script snapshot is regenerated.

The snapshot harness records argv and exits, so it never runs the parser -- which is why nothing
caught this.
@Arist12
Arist12 force-pushed the fix/kimi-lora-example-undefined-filter-flag branch from f92968e to a64cdef Compare August 13, 2026 16:12
@Arist12 Arist12 changed the title fix(example): drop the undefined --filter-zero-reward-samples from the Kimi LoRA launcher fix(example): drop --filter-zero-reward-samples from the Kimi LoRA launcher Aug 13, 2026
@Arist12
Arist12 marked this pull request as ready for review August 13, 2026 21:17
@Arist12
Arist12 marked this pull request as draft August 19, 2026 02:05
@Arist12 Arist12 changed the title fix(example): drop --filter-zero-reward-samples from the Kimi LoRA launcher fix(example): remove invalid Kimi LoRA flag Aug 19, 2026
@Arist12
Arist12 marked this pull request as ready for review August 19, 2026 21:31

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This pull request is from a fork — automated review is disabled. A repository maintainer can comment @claude review to run a one-time review.

@Arist12

Arist12 commented Aug 20, 2026

Copy link
Copy Markdown
Contributor Author

@yushengsu-thu should be quick fix to remove non-existent flag, could you help review? Thanks!

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.

1 participant