google-deepmind / google-deepmind/ai-foundations

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

Open
#25 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
305
Forks
153
PR merge metrics
No merged PRs in 30d

Description

### 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.