Instructions to use KexuanShi/Megatron-LM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- NeMo
How to use KexuanShi/Megatron-LM with NeMo:
# tag did not correspond to a valid NeMo domain.
- Notebooks
- Google Colab
- Kaggle
| # Copyright (c) 2024, NVIDIA CORPORATION. All rights reserved. | |
| try: | |
| from packaging.version import Version | |
| except ImportError: | |
| pass | |
| from .distributed_data_parallel import DistributedDataParallel | |
| from .distributed_data_parallel_config import DistributedDataParallelConfig | |
| from .finalize_model_grads import finalize_model_grads | |
| from .fsdp.mcore_fsdp_adapter import FullyShardedDataParallel | |
| from .torch_fully_sharded_data_parallel import TorchFullyShardedDataParallel | |
| from .torch_fully_sharded_data_parallel_config import TorchFullyShardedDataParallelConfig | |