|
13 | 13 | "source": [ |
14 | 14 | "# Automating Orchestration\n", |
15 | 15 | "Previously, we've demonstrated [using Ax for ask-tell optimization](../getting_started), a paradigm in which we \"ask\" Ax for candidate configurations and \"tell\" Ax our observations.\n", |
16 | | - "This can be effective in many scenerios, and it can be automated through use of flow control statements like `for` and `while` loops.\n", |
17 | | - "However there are some situations where it would be beneficial to allow Ax to orchestrate the entire optimization: deploying trials to external systems, polling their status, and reading reading their results.\n", |
| 16 | + "This can be effective in many scenarios, and it can be automated through use of flow control statements like `for` and `while` loops.\n", |
| 17 | + "However there are some situations where it would be beneficial to allow Ax to orchestrate the entire optimization: deploying trials to external systems, polling their status, and reading their results.\n", |
18 | 18 | "This can be common in a number of real world engineering tasks, including:\n", |
19 | 19 | "* **Large scale machine learning experiments** running workloads on high-performance computing clusters\n", |
20 | 20 | "* **A/B tests** conducted using an external experimentation platform\n", |
|
165 | 165 | "`poll_trial` queries the external system to see if the trial has completed, failed, or if it's still running.\n", |
166 | 166 | "In this mock example, we will check to see how many seconds have elapsed since the `run_trial` was called and only report a trial as completed once 5 seconds have elapsed.\n", |
167 | 167 | "\n", |
168 | | - "Runner's may also optionally implement a `stop_trial` method to terminate a trial's execution before it has completed.\n", |
| 168 | + "Runners may also optionally implement a `stop_trial` method to terminate a trial's execution before it has completed.\n", |
169 | 169 | "This is necessary for using [early stopping](../early_stopping) in closed-loop experimentation, but we will skip this for now." |
170 | 170 | ] |
171 | 171 | }, |
|
0 commit comments