-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'mblaz/fix-deprecation-notice' into 'main'
Fix `zarr` deprecation notice See merge request ADLR/megatron-lm!2042
- Loading branch information
Showing
6 changed files
with
118 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
# Copyright (c) 2022-2023, NVIDIA CORPORATION. All rights reserved. | ||
|
||
""" Various loading and saving strategies """ | ||
from megatron.core.dist_checkpointing.strategies.common import register_default_common_strategies | ||
|
||
# We mock imports to populate the `default_strategies` objects. | ||
# Since they are defined in base but populated in common, we have to mock | ||
# import both modules. | ||
from megatron.core.dist_checkpointing.strategies.base import _import_trigger | ||
from megatron.core.dist_checkpointing.strategies.common import _import_trigger | ||
# We load "common" strategies by default to be always available | ||
register_default_common_strategies() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.