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

Cannot compile function with Module as parameter #357

Closed
Pangoraw opened this issue Dec 10, 2024 · 0 comments · Fixed by #358
Closed

Cannot compile function with Module as parameter #357

Pangoraw opened this issue Dec 10, 2024 · 0 comments · Fixed by #358

Comments

@Pangoraw
Copy link
Collaborator

ref #351.

julia> f(a, b) = sum(a);

julia> Reactant.@jit f(Reactant.to_rarray(randn(Float32, 10)), Main)
ERROR: TypeError: in new, expected DataType, got Type{Module}
Stacktrace:
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 a pull request may close this issue.

1 participant