TECHNOLOGY

Comet start modes: strict resume and forced creation protect different experiment identities

In this article
THE QUICK TAKE

get requires the intended existing experiment, while create establishes a fresh one; default reuse is a separate policy that must match the trial lifecycle.

Start with the identity the application intends

A tuning controller invokes a training library repeatedly in the same process. Each invocation calls Comet initialization, and the researcher expects a separate experiment for every candidate. The start API reference supports distinct policies for creating, retrieving and getting-or-creating an experiment. Choose the policy from the intended trial identity rather than assuming every initialization call necessarily produces a new remote record.

Make a missing resume target visible

If an application expects to continue a known experiment, silently creating another one when the key is missing obscures that expectation. The initialization guide explains the strict get mode and the default get-or-create behavior. Record the expected key and handle a missing or inaccessible target as its own event. A new empty experiment may be valid for a fresh trial but should not look like successful continuation of an earlier record.

Account for the running object in the process

Initialization can be called by the main script, callbacks and imported libraries. Depending on compatibility and mode, an existing running experiment may be reused instead of creating another. This is useful when the calls belong to the same execution, and misleading when independent candidate trials should remain separate. Keep ownership of experiment creation and ending in the controller that knows the trial boundary. Do not infer a new trial identity from a helper’s initialization call alone.

Separate resumed logging from resumed computation

The resume guide describes appending tracking data to an identified experiment. That operation does not itself restore the training application’s checkpoint, optimizer or data position. Reusing a key also requires deliberate metric progress handling so new reports do not accidentally replace earlier points. Preserve the relationship between a process execution and the remote experiment, especially when multiple executions intentionally contribute evidence to a shared result.

Probe fresh, existing and missing targets

Exercise initialization with an intended new trial, an accessible existing key and a deliberately absent target. Inspect the resulting experiment identities and where a recognizable metric arrives. Related guides cover request identity scope and controlled experiment replay. These checks establish the logging identity policy before a long search. They leave model-state restoration and scientific comparability as explicit responsibilities of the training workflow rather than hidden assumptions of a tracking initializer.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles