Skip to content

Comet

Initialization for the Comet integration.

The CometML integrations currently enables you to use Comet tracking as a convenient way to visualize your experiment runs within the Comet ui.

CometIntegration

Bases: Integration

Definition of Comet integration for ZenML.

Source code in src/zenml/integrations/comet/__init__.py
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
class CometIntegration(Integration):
    """Definition of Comet integration for ZenML."""

    NAME = COMET
    REQUIREMENTS = ["comet-ml>=3.0.0"]

    @classmethod
    def flavors(cls) -> List[Type[Flavor]]:
        """Declare the stack component flavors for the Comet integration.

        Returns:
            List of stack component flavors for this integration.
        """
        from zenml.integrations.comet.flavors import (
            CometExperimentTrackerFlavor,
        )

        return [CometExperimentTrackerFlavor]

flavors() classmethod

Declare the stack component flavors for the Comet integration.

Returns:

Type Description
List[Type[Flavor]]

List of stack component flavors for this integration.

Source code in src/zenml/integrations/comet/__init__.py
35
36
37
38
39
40
41
42
43
44
45
46
@classmethod
def flavors(cls) -> List[Type[Flavor]]:
    """Declare the stack component flavors for the Comet integration.

    Returns:
        List of stack component flavors for this integration.
    """
    from zenml.integrations.comet.flavors import (
        CometExperimentTrackerFlavor,
    )

    return [CometExperimentTrackerFlavor]