diff --git a/pyproject.toml b/pyproject.toml index 567954ca4a1..31ff63048fa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,12 @@ build-backend = "setuptools.build_meta" include-package-data = true [tool.setuptools.packages.find] -include = ["megatron.core", "megatron.core.*"] +include = [ + "megatron.core", + "megatron.core.*", + "miles_megatron_plugins", + "miles_megatron_plugins.*", +] [tool.setuptools.dynamic] version = { attr = "megatron.core.package_info.__version__" } @@ -187,7 +192,7 @@ emerging_optimizers = { git = "https://github.com/NVIDIA-NeMo/Emerging-Optimizer profile = "black" # black-compatible line_length = 100 # should match black parameters py_version = 310 # python 3.8 as a target version -known_first_party = ["megatron"] # FIRSTPARTY section +known_first_party = ["megatron", "miles_megatron_plugins"] # FIRSTPARTY section known_third_party = ["transformer_engine"] # THIRDPARTY section sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"] default_section = "THIRDPARTY"