Skip to content

Conversation

@willmj
Copy link
Collaborator

@willmj willmj commented Apr 29, 2025

Description of the change

Goes with #142 to allow all-linear for ScatterMoE. Without the fms-acceleration PR to filter it out, router was included since it is a linear layer, but will not be able to run vLLM inference if it is included. With the fms-acceleration PR, all-linear can be passed because router will always be filtered out

Related issue number

How to verify the PR

Was the PR tested

  • I have added >=1 unit test(s) for every new method I have added.
  • I have ensured all unit tests pass

willmj added 3 commits April 29, 2025 10:21
Signed-off-by: Will Johnson <[email protected]>
Signed-off-by: Will Johnson <[email protected]>
@github-actions
Copy link

Thanks for making a pull request! 😃
One of the maintainers will review and advise on the next steps.

@github-actions github-actions bot added the fix label Apr 29, 2025
Signed-off-by: Will Johnson <[email protected]>
@willmj willmj force-pushed the fix-fastmoe-lora-all-linear branch from fb21e7b to 789eb60 Compare April 29, 2025 17:51
@willmj willmj changed the title fix: fastmoe lora all-linear using exclude_modules fix: fastmoe lora all-linear excluding router Apr 29, 2025
Signed-off-by: Will Johnson <[email protected]>
Copy link
Collaborator

@anhuong anhuong left a comment

Choose a reason for hiding this comment

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

LGTM, allowing all-linear now but depends on this PR foundation-model-stack/fms-acceleration#142 being merged first

@willmj willmj merged commit dc77c63 into foundation-model-stack:main Apr 30, 2025
9 checks passed
dushyantbehl pushed a commit to dushyantbehl/fms-hf-tuning that referenced this pull request Jun 23, 2025
…tack#545)

* fix: all-linear passed through CLI

Signed-off-by: Will Johnson <[email protected]>

* fmt

Signed-off-by: Will Johnson <[email protected]>

* fix: exclude router module

Signed-off-by: Will Johnson <[email protected]>

* don't exclude

Signed-off-by: Will Johnson <[email protected]>

* warning update

Signed-off-by: Will Johnson <[email protected]>

* fix: more specific warning

Signed-off-by: Will Johnson <[email protected]>

---------

Signed-off-by: Will Johnson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants