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

Warning regarding rewrite of supports_weights #8

Closed
dongqiu93 opened this issue Apr 18, 2024 · 2 comments
Closed

Warning regarding rewrite of supports_weights #8

dongqiu93 opened this issue Apr 18, 2024 · 2 comments

Comments

@dongqiu93
Copy link

dongqiu93 commented Apr 18, 2024

When I try to precompile the package, it shows the following warning and error:

┌ NeuroTreeModels
│  WARNING: Method definition supports_weights(Type{var"#s27"} where var"#s27"<:NeuroTreeModels.NeuroTreeRegressor) in module NeuroTreeModels at /home/dong/.julia/packages/NeuroTreeModels/D6Ycs/src/MLJ.jl:71 overwritten at /home/dong/.julia/packages/MLJModelInterface/ihpHk/src/metadata_utils.jl:62.
│  ERROR: Method overwriting is not permitted during Module precompilation. Use `__precompile__(false)` to opt-out of precompilation.
@jeremiedb
Copy link
Member

This shouldn't affect the package functionnality. I'll ping MLJ author though in order to have it fixed.

@jeremiedb
Copy link
Member

Turned out I was at fault here! Fixed with #7

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

No branches or pull requests

2 participants