2020-04-10 10:55:51 +00:00
|
|
|
# YAO-scheduler
|
|
|
|
|
|
|
|
|
|
|
|
## API
|
|
|
|
|
|
|
|
**GetHeartCounter**
|
|
|
|
|
|
|
|
```
|
|
|
|
?action=get_counter
|
|
|
|
```
|
|
|
|
|
|
|
|
**GetJobTaskStatusJHL**
|
|
|
|
|
|
|
|
```
|
|
|
|
?action=jhl_job_status&job=
|
2020-04-12 02:44:32 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
**GetBindings**
|
|
|
|
|
|
|
|
GPU is occupied by which job(s)
|
|
|
|
|
|
|
|
```
|
|
|
|
?action=get_bindings
|
2020-04-13 10:26:40 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
**EnableSchedule**
|
|
|
|
```
|
|
|
|
?action=debug_enable
|
|
|
|
```
|
|
|
|
|
|
|
|
**DisableSchedule**
|
|
|
|
```
|
|
|
|
?action=debug_disable
|
2020-04-13 15:53:38 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
**UpdateMaxParallelism**
|
|
|
|
```
|
|
|
|
?action=debug_update_parallelism¶llelism=5
|
2020-04-30 08:11:34 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
**getAllPredicts**
|
|
|
|
```
|
|
|
|
?action=debug_get_predicts
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
**getAllGPUUtils**
|
|
|
|
```
|
|
|
|
?action=debug_get_gpu_utils
|
2020-04-30 10:50:50 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
**SetShareRatio**
|
|
|
|
```
|
|
|
|
?action=debug_update_enable_share_ratio&ratio=0.75
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
**SetPreScheduleRatio**
|
|
|
|
```
|
|
|
|
?action=debug_update_enable_pre_schedule_ratio&ratio=0.95
|
2020-05-02 13:09:25 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
**FeedDLData**
|
|
|
|
```
|
|
|
|
?action=debug_optimizer_feed_dl&job=lstm&seq=1&value=2
|
|
|
|
```
|
|
|
|
|
|
|
|
**TrainDL**
|
|
|
|
```
|
|
|
|
?action=debug_optimizer_train_dl&job=lstm
|
|
|
|
```
|
|
|
|
|
|
|
|
**PredictDL**
|
|
|
|
```
|
|
|
|
?action=debug_get_predict_dl&job=lstm&seq=1
|
2020-05-27 10:04:05 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
**UpdateAllocateStrategy**
|
|
|
|
```
|
|
|
|
?action=allocator_update_strategy&strategy=bestfit
|
2020-05-28 03:44:15 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
**SchedulerDump**
|
|
|
|
```
|
|
|
|
?action=debug_scheduler_dump
|
2020-04-10 10:55:51 +00:00
|
|
|
```
|