Skip to content

Iterating through asset cards fails when unrelated asset is broken #1486

@cirquit

Description

@cirquit

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions