You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 1.1 kB

4 years ago
1234567891011121314151617181920212223242526272829303132333435
  1. ## Usage
  2. * Complex Pipeline Parallel (not using heturun):
  3. ```bash
  4. mpirun --allow-run-as-root --tag-output -np 8 python complex_pipeline_mlp.py
  5. ```
  6. * Simple Pipeline Parallel:
  7. ```bash
  8. heturun -c config8.yml python simple_pipeline_mlp.py
  9. ```
  10. * Data + Pipeline Parallel:
  11. ```bash
  12. heturun -c config8.yml python data_pipeline_mlp.py
  13. ```
  14. * Multiple Machine Data + Pipeline Parallel:
  15. ```bash
  16. heturun -c dist_config8.yml python dist_data_pipeline_mlp.py
  17. ```
  18. * Test Model Parallel (the following commands should give the same results):
  19. ```bash
  20. heturun -c config3.yml python test_model_mlp_base.py --save
  21. heturun -c config4.yml python test_model_mlp.py --split left
  22. heturun -c config4.yml python test_model_mlp.py --split right
  23. heturun -c config4.yml python test_model_mlp.py --split middle
  24. ```
  25. * Data + Model (+ Pipeline) Parallel:
  26. ```bash
  27. heturun -c config8.yml python data_model_pipeline_mlp.py --split left
  28. heturun -c config8.yml python data_model_pipeline_mlp.py --split right
  29. heturun -c config8.yml python data_model_pipeline_mlp.py --split middle
  30. ```