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

fix tests failure caused by version incompatibility #995

Merged
merged 1 commit into from
Apr 15, 2023

Conversation

thinkall
Copy link
Collaborator

Why are these changes needed?

Pyspark now has 3.4.0 and transformers has 4.28.0, which fails test/spark/test_0sparkml.py and all the nlp tests.

Related issue number

Checks

@thinkall
Copy link
Collaborator Author

https://github.com/microsoft/FLAML/actions/runs/4698911242/jobs/8331756164?pr=995

@liususan091219 nlp test failed:

      y_pred=predictions.predictions,
        tokenizer=self.tokenizer,
        hf_args=self._training_args,
        X=X,
    )

E AttributeError: 'numpy.ndarray' object has no attribute 'predictions'

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.

3 participants