Skip to content
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

Add mamba tests [#75] #122

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Add mamba tests [#75] #122

wants to merge 2 commits into from

Conversation

ddilbazTT
Copy link
Contributor

Add tests for mamba and mamba2. Tests are marked xfail because they yield 'AssertionError: Attempt to trace forbidden callable <function mark_static_address at 0x744a0d11d3a0>' error. However, the tests generate a graph.

@pytest.mark.parametrize(
"model_name",
[
"state-spaces/mamba-790m-hf",
Copy link
Contributor

Choose a reason for hiding this comment

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

Does all these four models fail with same error/location?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes they do

Copy link
Contributor

Choose a reason for hiding this comment

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

Is the generated graph the full model?

Add tests for mamba and mamba2. Tests are marked xfail because they yield 'AssertionError: Attempt to
trace forbidden callable <function mark_static_address at
0x744a0d11d3a0>' error. However, the tests generate a graph.
…ly when trying to handle conv_states with mark_static_address. The fixes were recommended by gpt so needs more research, yet the models are passing as of now.
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.

4 participants