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

Cast max_length to int in build_sequence_matrix::pad #1295

Merged
merged 1 commit into from
Sep 9, 2021

Conversation

Yard1
Copy link
Contributor

@Yard1 Yard1 commented Sep 9, 2021

Running tests/integration_tests/test_ray.py using Ray Client caused an exception due to max_length in build_sequence_matrix::pad being of numpy.float64 dtype. Casting it to int fixed the exception.

@Yard1
Copy link
Contributor Author

Yard1 commented Sep 9, 2021

@tgaddair would love if this could get merged ASAP, thanks!

@tgaddair
Copy link
Collaborator

tgaddair commented Sep 9, 2021

Nice! Will merge once tests pass.

@tgaddair tgaddair merged commit 91ed166 into ludwig-ai:master Sep 9, 2021
@Yard1 Yard1 deleted the patch-1 branch September 9, 2021 23:04
ShreyaR pushed a commit that referenced this pull request Sep 18, 2021
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.

None yet

2 participants