🚨🚨🚨 [Refactor] Move third-party related utility files into integrations/ folder 🚨🚨🚨 (#25599)
* move deepspeed to `lib_integrations.deepspeed` * more refactor * oops * fix slow tests * Fix docs * fix docs * addess feedback * address feedback * final modifs for PEFT * fixup * ok now * trigger CI * trigger CI again * Update docs/source/en/main_classes/deepspeed.md Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * import from `integrations` * address feedback * revert removal of `deepspeed` module * revert removal of `deepspeed` module * fix conflicts * ooops * oops * add deprecation warning * place it on the top * put `FutureWarning` * fix conflicts with not_doctested.txt * add back `bitsandbytes` module with a depr warning * fix * fix * fixup * oops * fix doctests --------- Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
This commit is contained in:
@@ -32,7 +32,7 @@ from copy import deepcopy # noqa
|
||||
|
||||
from parameterized import parameterized # noqa
|
||||
from transformers import TrainingArguments, is_torch_available # noqa
|
||||
from transformers.deepspeed import is_deepspeed_available # noqa
|
||||
from transformers.integrations.deepspeed import is_deepspeed_available # noqa
|
||||
from transformers.file_utils import WEIGHTS_NAME # noqa
|
||||
from transformers.testing_utils import ( # noqa
|
||||
CaptureLogger,
|
||||
|
||||
Reference in New Issue
Block a user