Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/guides/max-execution-time.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"id": "a0d6acc5-754c-4955-8cf0-5e3e12b9dd1f",
"metadata": {},
"source": [
"To ensure fairness, there is a [service-calculated](#max-QPU) maximum amount of time each Qiskit Runtime job can run. If a job exceeds this time limit, it is forcibly canceled and a `RuntimeJobMaxTimeoutError` exception is raised. You can also [set a maximum execution time](#max-job) on your jobs to help control costs.\n",
"To ensure fairness, there is a [service-enforced](#max-QPU) maximum amount of time each Qiskit Runtime job can run. If a job exceeds this time limit, it is forcibly canceled and a `RuntimeJobMaxTimeoutError` exception is raised. You can also [set a maximum execution time](#max-job) on your jobs to help control costs.\n",
"\n",
"\n",
" <Admonition>\n",
Expand All @@ -42,7 +42,7 @@
"The maximum execution time for a job is the smaller of these values:\n",
"\n",
"- The value set for `max_execution_time`\n",
"- The service-determined job timeout value\n",
"- The service-enforced maximum limit (3 hours)\n",
Comment thread
JJRBEST marked this conversation as resolved.
Outdated
"\n",
"The `max_execution_time` value is based on *QPU usage*, not wall clock time.\n",
"\n",
Expand All @@ -68,9 +68,9 @@
"```\n",
"\n",
"<span id=\"max-QPU\"></span>\n",
"## Service-calculated maximum execution time\n",
"## Service-enforced maximum execution time\n",
"\n",
"The service calculates an appropriate job timeout value based on the input circuits and options. This service-calculated timeout is capped at 3 hours to ensure fair device usage. If a `max_execution_time` is also specified for the job, the lesser of the two values is used.\n",
"The service enforces a maximum execution time limit of 3 hours to ensure fair device usage. If a `max_execution_time` is also specified for the job, the lesser of the two values is used.\n",
Comment thread
JJRBEST marked this conversation as resolved.
Outdated
"\n",
"For example, if you specify `max_execution_time=5000` (approximately 83 minutes), but the service determines it should not take more than 5 minutes (300 seconds) to execute the job, then the job is canceled after 5 minutes.\n",
Comment thread
JJRBEST marked this conversation as resolved.
Outdated
Comment thread
JJRBEST marked this conversation as resolved.
Outdated
"\n",
Expand Down
Loading