Skip to content

Conversation

@GokuMohandas
Copy link
Contributor

Description

I have removed the line indicating the TaskPoolStrategy in the notebook. It's not needed here and it's an internal compute concept we shouldn't introduce for these introductory examples. Also, it is not used in the other ray data map calls in this example.

@GokuMohandas GokuMohandas requested a review from a team as a code owner October 20, 2025 01:47
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request simplifies an example notebook by removing explicit compute strategy configuration (num_cpus, num_gpus, and compute=TaskPoolStrategy) from a ds.map() call. This change is well-justified as it removes an internal concept not suitable for an introductory example and makes the code consistent with other map calls in the notebook. The code now relies on Ray's sensible defaults, which improves simplicity and readability. The change is correct and I see no issues with it.

@GokuMohandas GokuMohandas added the go add ONLY when ready to merge, run all tests label Oct 20, 2025
@ray-gardener ray-gardener bot added docs An issue or change related to documentation data Ray Data-related issues labels Oct 20, 2025
Copy link
Contributor

@angelinalg angelinalg left a comment

Choose a reason for hiding this comment

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

stamp

@angelinalg angelinalg merged commit b4f7a70 into master Oct 20, 2025
6 checks passed
@angelinalg angelinalg deleted the mmai-taskactor-fix branch October 20, 2025 16:45
xinyuangui2 pushed a commit to xinyuangui2/ray that referenced this pull request Oct 22, 2025
elliot-barn pushed a commit that referenced this pull request Oct 23, 2025
Aydin-ab pushed a commit to Aydin-ab/ray-aydin that referenced this pull request Nov 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data Ray Data-related issues docs An issue or change related to documentation go add ONLY when ready to merge, run all tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants