-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #39 from y1xiaoc/master
reorganize package init, setup and dargs doc
- Loading branch information
Showing
17 changed files
with
136 additions
and
170 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 |
---|---|---|
|
@@ -10,7 +10,6 @@ jobs: | |
strategy: | ||
matrix: | ||
python-version: | ||
- 3.6 | ||
- 3.7 | ||
- 3.8 | ||
- 3.9 | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,63 +1,61 @@ | ||
resources_dict: | ||
resources: | ||
| type: ``dict`` | ||
| argument path: ``resources_dict`` | ||
| argument path: ``resources`` | ||
number_node: | ||
| type: ``int`` | ||
| argument path: ``resources_dict/number_node`` | ||
| argument path: ``resources/number_node`` | ||
The number of node need for each `job` | ||
|
||
cpu_per_node: | ||
| type: ``int`` | ||
| argument path: ``resources_dict/cpu_per_node`` | ||
| argument path: ``resources/cpu_per_node`` | ||
cpu numbers of each node. | ||
cpu numbers of each node assigned to each job. | ||
|
||
gpu_per_node: | ||
| type: ``int`` | ||
| argument path: ``resources_dict/gpu_per_node`` | ||
| argument path: ``resources/gpu_per_node`` | ||
gpu numbers of each node. | ||
gpu numbers of each node assigned to each job. | ||
|
||
queue_name: | ||
| type: ``str`` | ||
| argument path: ``resources_dict/queue_name`` | ||
| argument path: ``resources/queue_name`` | ||
The queue name of batch job scheduler system. | ||
|
||
group_size: | ||
| type: ``int`` | ||
| argument path: ``resources_dict/group_size`` | ||
| argument path: ``resources/group_size`` | ||
The number of `tasks` in a `job`. | ||
|
||
custom_flags: | ||
| type: ``str``, optional | ||
| argument path: ``resources_dict/custom_flags`` | ||
| argument path: ``resources/custom_flags`` | ||
The extra lines pass to job submitting script header | ||
|
||
strategy: | ||
| type: ``dict``, optional | ||
| argument path: ``resources_dict/strategy`` | ||
| argument path: ``resources/strategy`` | ||
strategies we use to generation job submitting scripts. | ||
|
||
if_cuda_multi_devices: | ||
| type: ``bool``, optional, default: ``True`` | ||
| argument path: ``resources/strategy/if_cuda_multi_devices`` | ||
para_deg: | ||
| type: ``int``, optional | ||
| argument path: ``resources_dict/para_deg`` | ||
| type: ``int``, optional, default: ``1`` | ||
| argument path: ``resources/para_deg`` | ||
Decide how many tasks will be run in parallel. | ||
|
||
source_list: | ||
| type: ``list``, optional | ||
| argument path: ``resources_dict/source_list`` | ||
| type: ``list``, optional, default: ``[]`` | ||
| argument path: ``resources/source_list`` | ||
The env file to be sourced before the command execution. | ||
|
||
kwargs: | ||
| type: ``dict``, optional | ||
| argument path: ``resources_dict/kwargs`` | ||
extra key-value pair |
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.