Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

#544 Feature/sg 456 centralize ddp setup

Merged
Ghost merged 1 commits into Deci-AI:master from deci-ai:feature/SG-456-centralise_ddp_setup
@@ -3,6 +3,7 @@ from super_gradients.training import ARCHITECTURES, losses, utils, datasets_util
 from super_gradients.examples.train_from_recipe_example import train_from_recipe
 from super_gradients.examples.train_from_recipe_example import train_from_recipe
 from super_gradients.examples.train_from_kd_recipe_example import train_from_kd_recipe
 from super_gradients.examples.train_from_kd_recipe_example import train_from_kd_recipe
 from super_gradients.sanity_check import env_sanity_check
 from super_gradients.sanity_check import env_sanity_check
+from super_gradients.training.utils.distributed_training_utils import setup_device
 
 
 __all__ = [
 __all__ = [
     "ARCHITECTURES",
     "ARCHITECTURES",
@@ -18,6 +19,7 @@ __all__ = [
     "train_from_recipe",
     "train_from_recipe",
     "train_from_kd_recipe",
     "train_from_kd_recipe",
     "env_sanity_check",
     "env_sanity_check",
+    "setup_device",
 ]
 ]
 
 
 __version__ = "3.0.5"
 __version__ = "3.0.5"
Discard
Tip!

Press p or to see the previous file or, n or to see the next file