1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-06-07 14:21:55 +00:00
YAO-scheduler/README.md
2020-05-28 11:44:15 +08:00

88 lines
1.0 KiB
Markdown

# YAO-scheduler
## API
**GetHeartCounter**
```
?action=get_counter
```
**GetJobTaskStatusJHL**
```
?action=jhl_job_status&job=
```
**GetBindings**
GPU is occupied by which job(s)
```
?action=get_bindings
```
**EnableSchedule**
```
?action=debug_enable
```
**DisableSchedule**
```
?action=debug_disable
```
**UpdateMaxParallelism**
```
?action=debug_update_parallelism&parallelism=5
```
**getAllPredicts**
```
?action=debug_get_predicts
```
**getAllGPUUtils**
```
?action=debug_get_gpu_utils
```
**SetShareRatio**
```
?action=debug_update_enable_share_ratio&ratio=0.75
```
**SetPreScheduleRatio**
```
?action=debug_update_enable_pre_schedule_ratio&ratio=0.95
```
**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
```
**UpdateAllocateStrategy**
```
?action=allocator_update_strategy&strategy=bestfit
```
**SchedulerDump**
```
?action=debug_scheduler_dump
```