Imageomics / Imageomics/hpc-inference

Refactor `assign_files_to_rank` into a Scheduler Class

Open
#22 0 comments 0 reactions 1 assignee Claimed by @NetZissou View on GitHub
enhancement question
Dominant language
Python
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

I’m thinking we should refactor [`assign_files_to_rank` ](https://github.com/Imageomics/hpc-inference/blob/f992676172728237d95b042d6ca27e698f5afa4d/src/hpc_inference/utils/distributed.py#L16) into a proper `Scheduler` class.

Right now, it's just a standalone function, but wrapping it in a class would give us better state management, easier testing, and make it way simpler to plug in new file distribution algorithms later.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.