Skip to content

Add glm4 moe adapter#1424

Open
dylanberens wants to merge 2 commits into
TransformerLensOrg:mainfrom
dylanberens:add-glm4-moe-adapter
Open

Add glm4 moe adapter#1424
dylanberens wants to merge 2 commits into
TransformerLensOrg:mainfrom
dylanberens:add-glm4-moe-adapter

Conversation

@dylanberens

Copy link
Copy Markdown

Description

Removed *model_args from 'run_with_cache()' and 'run_with_hooks()' functions, and replaced all those function calls' positional arguments with keyword arguments-- as input= (and inputs= for all audio model calls)

Fixes #798

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Screenshots

N/A

Checklist:

  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have not rewritten tests relating to key interfaces which would affect backward compatibility

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.

[Proposal] Remove instances where model_args and model_kwargs are provided

1 participant