From ad8321512d857578ce2e2469eb82a8e8e45c9037 Mon Sep 17 00:00:00 2001 From: Kevin Lloyd Bernal Date: Wed, 2 Aug 2023 23:48:39 +0800 Subject: [PATCH] recommend DeepSpeed's Argument Parsing documentation (#25268) --- docs/source/en/main_classes/deepspeed.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/source/en/main_classes/deepspeed.md b/docs/source/en/main_classes/deepspeed.md index bb0cd54372..ae0292e8ee 100644 --- a/docs/source/en/main_classes/deepspeed.md +++ b/docs/source/en/main_classes/deepspeed.md @@ -168,6 +168,8 @@ If after trying everything suggested you still encounter build issues, please, p To deploy the DeepSpeed integration adjust the [`Trainer`] command line arguments to include a new argument `--deepspeed ds_config.json`, where `ds_config.json` is the DeepSpeed configuration file as documented [here](https://www.deepspeed.ai/docs/config-json/). The file naming is up to you. + It's recommended to use DeepSpeed's `add_config_arguments` utility to add the necessary command line arguments to your code. + For more information please see [DeepSpeed's Argument Parsing](https://deepspeed.readthedocs.io/en/latest/initialize.html#argument-parsing) doc. You can use a launcher of your choice here. You can continue using the pytorch launcher: