-
Notifications
You must be signed in to change notification settings - Fork 8
fix: Fix for Ray deployment in nemo-run script #266
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
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Abhishree <[email protected]>
…ialization errors Signed-off-by: Abhishree Thittenamane <[email protected]>
Signed-off-by: Abhishree <[email protected]>
| --tensor_parallelism_size {tensor_model_parallel_size} \ | ||
| --pipeline_parallelism_size {pipeline_model_parallel_size} \ | ||
| --tensor_model_parallel_size {tensor_model_parallel_size} \ | ||
| --pipeline_model_parallel_size {pipeline_model_parallel_size} \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use the same name between Pytriton and Ray script for TP, PP. PR in ED for this: NVIDIA-NeMo/Export-Deploy#501
scripts/evaluation_with_nemo_run.py
Outdated
| "max_batch_size": args.batch_size, | ||
| "devices": args.devices, | ||
| "max_batch_size": args.batch_size, #TODO check in llama 405B run | ||
| "num_gpus": args.devices if args.serving_backend == "pytriton" else args.devices * args.nodes, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ray requires num_gpus to be total num of gpus in case of multi node.
Signed-off-by: Abhishree Thittenamane <[email protected]>
Signed-off-by: Abhishree Thittenamane <[email protected]>
|
/ok to test 522994a |
Signed-off-by: Abhishree <[email protected]>
|
/ok to test a4d4956 |
Adds fixes for nemo-run script to enable nemo-fw checkpoint deployment with Ray backend. Works for single node, multiple replicas and multi node, single replica. Does not work for multi node, multi replica case. This will be addressed in a follow up PR.
Some accuracy numbers (GSM8k, 10%) attained using this script for ray serve backend: