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-06-14 21:12:22 +08:00

123 lines
1.4 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
```
**DescribeJob**
```
?action=debug_optimizer_describe_job&job=
```
**EnableBatchAllocation**
```
?action=pool_enable_batch
```
**DisableBatchAllocation**
```
?action=pool_disable_batch
```
**UpdateBatchInterval**
```
?action=pool_set_batch_interval&interval=30
```
**PoolDump**
```
?action=debug_pool_dump
```
**EnableMock**
```
?action=debug_enable_mock
```
**DisableMock**
```
?action=debug_disable_mock
```