Skip to content

AttributeError: module 'kauldron.checkpoints' has no attribute 'AbstractPartialLoader' in gdm_lab_4_1_attention_visualization.ipynb #25

Description

@mayura-andrew

Description: When running the gdm_lab_4_1_attention_visualization.ipynb notebook, specifically during the installation of ai_foundations and its dependencies, an AttributeError occurs:

AttributeError: module 'kauldron.checkpoints' has no attribute 'AbstractPartialLoader'
This error arises because the ai_foundations library (installed from git+https://github.com/google-deepmind/ai-foundations.git@main) depends on the kauldron library, and the version of kauldron implicitly installed or available in the environment does not provide the AbstractPartialLoader attribute within its checkpoints module. The specific version kauldron==0.0.12 contains this attribute and resolves the error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions