facebookresearch / facebookresearch/fairseq2

Iterating through asset cards fails when unrelated asset is broken

Open
#1,486 0 comments 0 reactions 1 assignee Claimed by @cirquit View on GitHub
bug
Dominant language
Python
Stars
1.1k
Forks
144
Avg merge
4d 1h
Merged PRs (30d)
1

Description

**Describe the bug:**
Getting `AssetCardErrors` when iterating through a hub with `hub.iter_cards()` when unrelated assets are incomplete/incorrect.

Complete error:
```
File "/storage/home/gilkeren/code/omnilingual/.venv/lib/python3.12/site-packages/fairseq2/assets/store.py", line 126, in _do_retrieve_card
raise AssetCardError(leaf_name, msg)
fairseq2.assets.card.AssetCardError: ... base asset of the ... asset card does not exist.
```

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.