Skip to content

v1.1.0

Choose a tag to compare

@github-actions github-actions released this 29 Jul 17:51
· 144 commits to main since this release
7bded96

Added

  • Read straight from the HuggingFace Hub with hf:// URLs, on every entry point
    that already took a remote URL — read, iread, scan, infer_schema, the
    batch readers, and the oxyz.ase/oxyz.metatomic/oxyz.torch_sim targets:
    oxyz.read("hf://datasets/owner/repo/data/train.extxyz"). The path grammar is
    hf://[datasets|spaces|models/]owner/repo[@revision]/path, defaulting to a
    model repo on the default branch. A URL copied from the browser is accepted as
    well: the blob page it names is rewritten to the raw-bytes endpoint, so it
    yields the file rather than markup. Only huggingface.co and hf.co URLs are
    claimed — http(s) in general is still not a supported scheme. Gated and
    private repos authenticate with HF_TOKEN (or HUGGING_FACE_HUB_TOKEN), or
    an explicit storage_options header, which takes precedence. Needs the
    existing oxyz[s3] extra; no new dependency.
  • Read zstd-compressed tars (.tar.zst, .tzst), locally and from object
    storage. Datasets shipped this way — the ELEMENTA release among them — were
    previously unreadable: the extension matched the plain .zst rule, so the
    tar headers reached the parser and surfaced as an atom-count error.
  • All three tar codecs are now selectable through compression= for reading
    ("tar", "tar.gz", "tar.zst"), and through --compression on oxyz scan,
    check, and freeze; writing still accepts only tar and tar.gz. A tar
    carries no magic bytes, so one under an unrecognised name previously could not
    be read at all.

Internal

  • Bumped the developer toolchain: uv 0.12.0, ruff 0.16, ty 0.0.64, rumdl 0.2.45,
    prek 0.4.11. uv is now pinned exactly, in both pyproject.toml and every
    setup-uv step, so CI cannot float off the version the lockfile was written
    by.
  • The ruff selection is select = ["ALL"] with documented opt-outs, in place
    of a hand-picked list: each exclusion now carries its reason, and a new
    release's rules arrive evaluated rather than unnoticed. No change to the
    shipped behaviour.