project-codeflare / project-codeflare/codeflare-sdk
Adding a worker group to an additional network
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 35
- Forks
- 66
- Avg merge
- 48m
- Merged PRs (30d)
- 7
Description
Name of Feature or Improvement
RDMA Networks
Description of Problem the Feature Should Solve
RDMA Networks for Efficient LLM Training
Describe the Solution You Would Like to See
Description of the proposed solution.
"workerGroupSpecs": [
{
"replicas": cluster.config.num_workers,
"minReplicas": cluster.config.num_workers,
"maxReplicas": cluster.config.num_workers,
"groupName": f"small-group-{cluster.config.name}",
"rayStartParams": {
"block": "true",
"num-gpus": str(worker_gpu_count),
"resources": worker_resources,
},
"template": V1PodTemplateSpec(
metadata=V1ObjectMeta(
annotations={
"k8s.v1.cni.cncf.io/networks": [,,...]
}
),
spec=get_pod_spec(
cluster,
[get_worker_container_spec(cluster)],
cluster.config.worker_tolerations,
)
),
}
],
Describe Alternatives You Have Considered
Description of any alternative solutions or features you have considered.
Additional Context
Add any other context, screenshots, console logs, etc. about the request here.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Python code that builds workerGroupSpecs and the Kubernetes V1PodTemplateSpec shown in the issue. Trace how worker pod metadata and networks are currently configured; the work is done when a worker group can accept one or more additional network names and the resulting pods attach to them.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kubernetes, python
- Domain
- distributed-systems, infrastructure
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100