Skip to content

Conversation

@NihaalChowdary
Copy link

legate-boost tutorial doc with code files

@NihaalChowdary
Copy link
Author

NihaalChowdary commented Aug 30, 2025

Hi @RAMitchell,
I have moved the code files to the examples/tutorial_examples folder. I also modified the code to select a smaller dataset for CI runs. I have checked, and I don’t see any examples that overlap in terms of dataset used or problem type execution.

@RAMitchell
Copy link
Contributor

/ok to test d58f7a6

Signed-off-by: Rory Mitchell <[email protected]>
Copy link
Contributor

@RAMitchell RAMitchell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will fix the pre-commit errors, many of which are not related to this PR.

legate-boost.rst needs to be included in index.rst so sphinx knows to build it.

Have you been able to check the docs build locally? make html from the docs folder and then you can use a web server to preview the html pages.

Legate-boost currently has no dependency on legate-dataframe so I will have to add that for the tests to pass.

Generally speaking the examples look great. I don't think people will take seriously the comparison of 1 cpu core against a gpu for inference. I suspect most of the time here is latency inherent in legate and cupynumeric anyway - 1 gpu should be able to predict orders of magnitude faster than 1 cpu core, there just isn't enough work in this task to saturate the GPU. You can still keep all the timing code, I would just bump the cpus to 8 and then mention that this task is not compute bound. You will probably see a dramatic speed-up of GPU vs CPU during training with a neural network model if that is what you want to show.

@RAMitchell
Copy link
Contributor

/ok to test 370aff0

@RAMitchell
Copy link
Contributor

I think I've solved the other unrelated CI issues, and have removed the binary files.

I added the new rst file to the index and built the docs locally and they look good!

The tests that run the examples fail currently. You can run them locally like
legate --module pytest legateboost/test/test_examples.py

Please have a go at fixing these up.

@RAMitchell
Copy link
Contributor

/ok to test b90ef34

Signed-off-by: Rory Mitchell <[email protected]>
@RAMitchell
Copy link
Contributor

/ok to test 0c0931e

@RAMitchell
Copy link
Contributor

/ok to test a432096

@RAMitchell
Copy link
Contributor

/ok to test 07f19b2

@dongb
Copy link

dongb commented Oct 2, 2025

Hi Rory, any update on this doc publishing?
thanks
-bo

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.

4 participants