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 num_tasks in spark integration #1028

Merged
merged 6 commits into from
Jun 13, 2024
Merged

fix num_tasks in spark integration #1028

merged 6 commits into from
Jun 13, 2024

Conversation

jmoralez
Copy link
Member

@jmoralez jmoralez commented Jun 10, 2024

Moves the logic of the distributed processing to separate methods to make it easier to follow the original methods (fit and predict).

During this refactor I found and fixed the error here:

num_tasks = distributed_config.devices * distributed_config.devices

After this I reran and updated the sample notebook, which was missing from the sidebar, so this adds it as well.

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@jmoralez jmoralez added the fix label Jun 10, 2024
@jmoralez jmoralez marked this pull request as ready for review June 10, 2024 22:08
nbs/common.base_model.ipynb Show resolved Hide resolved
nbs/core.ipynb Show resolved Hide resolved
@jmoralez jmoralez changed the title move distributed logic to separate methods and bug fixes move distributed logic to separate methods Jun 12, 2024
@jmoralez jmoralez removed the fix label Jun 12, 2024
@jmoralez jmoralez added the fix label Jun 12, 2024
@jmoralez jmoralez changed the title move distributed logic to separate methods fix num_tasks in spark integration Jun 12, 2024
@jmoralez jmoralez requested a review from elephaint June 12, 2024 21:45
@jmoralez jmoralez merged commit e1dc723 into main Jun 13, 2024
17 checks passed
@jmoralez jmoralez deleted the refactors branch June 13, 2024 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants