Skip to content

DeepHealthCheckOnStart

Source code in docs_src/capo_pcs/types/deep_health_check_on_start.py
class DeepHealthCheckOnStart(TypedDict, closed=True):
    profile: NotRequired[
        "capo_pcs.types.deep_health_check_on_start_profile.DeepHealthCheckOnStartProfile"
    ]
    """<p>The deep health check profile to run. Each profile other than <code>NONE</code> runs NVIDIA Data Center GPU Manager (DCGM) diagnostics. More thorough profiles run more tests and add more time to instance launch. A profile other than <code>NONE</code> requires instance types with NVIDIA GPUs. This value is required when you specify <code>onStart</code>. There is no default value. Valid values:</p> <ul> <li> <p> <code>NONE</code> – Turns off the deep health check. You can't specify <code>repairAction</code> with this profile.</p> </li> <li> <p> <code>QUICK</code> – Runs basic GPU tests (DCGM diagnostics level 1). This profile adds the least time to instance launch.</p> </li> <li> <p> <code>MEDIUM</code> – Runs extended GPU tests (DCGM diagnostics level 2).</p> </li> <li> <p> <code>LONG</code> – Runs GPU stress and diagnostic tests (DCGM diagnostics level 3). This profile adds the most time to instance launch.</p> </li> </ul>"""
    repair_action: NotRequired[
        "capo_pcs.types.deep_health_check_on_start_repair_action.DeepHealthCheckOnStartRepairAction"
    ]
    """<p>The action that PCS takes when an instance fails the deep health check. You can't specify this value when <code>profile</code> is <code>NONE</code>. If you don't specify this value and <code>profile</code> isn't <code>NONE</code>, PCS uses <code>AUTO</code>. <code>GetComputeNodeGroup</code> doesn't return a <code>repairAction</code> that you didn't specify. Valid values:</p> <ul> <li> <p> <code>AUTO</code> – PCS chooses the repair action based on the fault.</p> </li> <li> <p> <code>REPLACE</code> – Replaces the instance before it accepts jobs.</p> </li> <li> <p> <code>ISOLATE</code> – Stops new jobs on the instance and keeps the instance running until you investigate.</p> </li> <li> <p> <code>NONE</code> – Records the fault in Slurm and leaves the instance available for jobs.</p> </li> </ul>"""

profile instance-attribute

profile: NotRequired[DeepHealthCheckOnStartProfile]

The deep health check profile to run. Each profile other than NONE runs NVIDIA Data Center GPU Manager (DCGM) diagnostics. More thorough profiles run more tests and add more time to instance launch. A profile other than NONE requires instance types with NVIDIA GPUs. This value is required when you specify onStart. There is no default value. Valid values:

  • NONE – Turns off the deep health check. You can't specify repairAction with this profile.

  • QUICK – Runs basic GPU tests (DCGM diagnostics level 1). This profile adds the least time to instance launch.

  • MEDIUM – Runs extended GPU tests (DCGM diagnostics level 2).

  • LONG – Runs GPU stress and diagnostic tests (DCGM diagnostics level 3). This profile adds the most time to instance launch.

repair_action instance-attribute

repair_action: NotRequired[DeepHealthCheckOnStartRepairAction]

The action that PCS takes when an instance fails the deep health check. You can't specify this value when profile is NONE. If you don't specify this value and profile isn't NONE, PCS uses AUTO. GetComputeNodeGroup doesn't return a repairAction that you didn't specify. Valid values:

  • AUTO – PCS chooses the repair action based on the fault.

  • REPLACE – Replaces the instance before it accepts jobs.

  • ISOLATE – Stops new jobs on the instance and keeps the instance running until you investigate.

  • NONE – Records the fault in Slurm and leaves the instance available for jobs.