From c425d60bb983991bafa33dcaebd6bceb2bfce577 Mon Sep 17 00:00:00 2001 From: Sylvain Gugger Date: Wed, 12 Jan 2022 09:32:53 -0500 Subject: [PATCH] Fix link to deepspeed config --- docs/source/main_classes/deepspeed.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/main_classes/deepspeed.mdx b/docs/source/main_classes/deepspeed.mdx index fb7ac7c4cb..93bcda1113 100644 --- a/docs/source/main_classes/deepspeed.mdx +++ b/docs/source/main_classes/deepspeed.mdx @@ -1707,13 +1707,13 @@ Work is being done to enable estimating how much memory is needed for a specific ## Non-Trainer Deepspeed Integration -The [`~integrations.HfDeepSpeedConfig`] is used to integrate Deepspeed into the 🤗 Transformers core +The [`~deepspeed.HfDeepSpeedConfig`] is used to integrate Deepspeed into the 🤗 Transformers core functionality, when [`Trainer`] is not used. When using [`Trainer`] everything is automatically taken care of. When not using [`Trainer`], to efficiently deploy DeepSpeed stage 3, you must instantiate the -[`~integrations.HfDeepSpeedConfig`] object before instantiating the model. +[`~deepspeed.HfDeepSpeedConfig`] object before instantiating the model. For example for a pretrained model: