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

Try using Arrays in RF model #1212

Merged
merged 1 commit into from
Aug 21, 2022
Merged

Try using Arrays in RF model #1212

merged 1 commit into from
Aug 21, 2022

Conversation

charleskawczynski
Copy link
Member

This is an alternative to #1211. This PR uses Arrays in the Random Feature model, since large SArrays and Tuples (O(1000)) are really expensive for the compiler. This PR tests out ordinary arrays.

It'll be interesting to compare both the compile time and runtime.

@charleskawczynski
Copy link
Member Author

RF model with Arrays run in 5 min, so this basically fixes the problem. I'm inclined to say we should merge this in the name of getting CI to run faster, but we should think of a long-term stack allocated-friendly way to do this. My other concern is that people will start extending the condition for using Arrays and we'll end up making the code not compatible with gpus.

@charleskawczynski
Copy link
Member Author

bors r+

@bors
Copy link
Contributor

bors bot commented Aug 21, 2022

Build succeeded:

@bors bors bot merged commit 81b0a41 into main Aug 21, 2022
@bors bors bot deleted the ck/RF_perf_arr branch August 21, 2022 21:13
This was referenced Aug 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant