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

Investigate the potential support for mypyc. #10881

Open
trivialfis opened this issue Oct 10, 2024 · 0 comments
Open

Investigate the potential support for mypyc. #10881

trivialfis opened this issue Oct 10, 2024 · 0 comments

Comments

@trivialfis
Copy link
Member

Currently running into:

Traceback (most recent call last):
  File "mypyc/irbuild/builder.py", line 272, in accept
  File "mypy/nodes.py", line 1183, in accept
  File "mypyc/irbuild/visitor.py", line 169, in visit_class_def
  File "mypyc/irbuild/classdef.py", line 190, in transform_class_def
  File "mypyc/irbuild/classdef.py", line 297, in finalize
  File "mypyc/irbuild/classdef.py", line 727, in find_attr_initializers
  File "mypyc/ir/class_ir.py", line 230, in attr_type
  File "mypyc/ir/class_ir.py", line 227, in attr_details
./xgboost/callback.py:50: KeyError: "'TrainingCallback' has no attribute 'EvalsLog'"

But we should be able to refactor the callback type support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant