Skip to content

Bump grain from 0.2.16 to 0.2.18 - #337

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/grain-0.2.18
Open

Bump grain from 0.2.16 to 0.2.18#337
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/grain-0.2.18

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 22, 2026

Copy link
Copy Markdown
Contributor

Bumps grain from 0.2.16 to 0.2.18.

Release notes

Sourced from grain's releases.

Grain 0.2.18

  • New features:
    • Added PyGrain telemetry metrics (bytes read, read latency, and prefetch depth) for OSS via Prometheus.
    • Added support for non-sequence meta-features in PyGrain packing transformations.
  • Bug fixes:
    • InterleaveDatasetIterator now overrides start_prefetch() such that it indeed starts prefetching (it did not do anything before).

Grain 0.2.17

  • New features:

    • Adds automated batching into shared memory when multiprocess prefetch is used to save one data copy.
    • Updates TfMixtureIndexSampler to accept dynamic 1D/2D Tensor/Variable proportions that could be updated during runtime.
    • Automatic Xprof subprocess trace collection into PyGrain workers. To enable, set flag grain_enable_multiprocess_worker_profiling=true and add "profile_subprocesses" = True in advanced profiler options.
  • Breaking changes:

    • Force index shuffle rounds to not be bigger than 1024
  • Bug fixes:

    • Preserve and reconstruct tracebacks for exceptions thrown in worker processes across multiprocessing boundaries
    • Fixes performance regression in traceback filtering when workers are frequently exhausting small datasets.
    • Fixes silent string truncation in shared memory batching.
Changelog

Sourced from grain's changelog.

Grain 0.2.18 (June 17, 2026)

  • New features:

    • Added Grain telemetry metrics (bytes read, read latency, and prefetch depth) for OSS via Prometheus.
    • Added support for non-sequence meta-features in Grain packing transformations.
  • Bug fixes:

    • InterleaveDatasetIterator now overrides start_prefetch() such that it indeed starts prefetching (it did not do anything before).

Grain 0.2.17 (June 1, 2026)

  • New features:

    • Adds automated batching into shared memory when multiprocess prefetch is used to save one data copy.
    • Adds experimental ShapeDtypeStructProtocol and ShapeDtypeStruct to represent dataset element specs.
    • Updates TfMixtureIndexSampler to accept dynamic 1D/2D Tensor/Variable proportions that could be updated during runtime.
    • Adds profiling of multiprocess workers when using XProf profiler. To enable, set flag grain_enable_multiprocess_worker_profiling=true and add "profile_subprocesses" = True in advanced profiler options.
    • Adds support for non-sequence meta-features in packing transformations.
  • Breaking changes:

    • Force index shuffle rounds to not be bigger than 1024.
  • Deprecations:

  • Bug fixes:

    • Fixes bug causing tracebacks to be swallowed in worker processes.
    • Fixes performance regression in traceback filtering when workers are frequently exhausting small datasets.
    • Fixes silent string truncation in shared memory batching.
    • Preserve and reconstruct tracebacks for exceptions thrown in worker processes across multiprocessing boundaries
Commits
  • d256826 Calling start_prefetch on InterleaveIterDataset now correctly starts prefetch...
  • 4af068d Support non-sequence meta-features in PyGrain packing transformations.
  • d6f2b1c DOC: add jax training tutorial
  • a67edcc Internal
  • b827fda Add PyGrain telemetry metrics (bytes read, read latency, and prefetch depth).
  • 2f9057f Bump version after release.
  • af38253 internal
  • 7443a2a Correct next index calculation in dataloader set state.
  • 50d2dd0 Fix silent string truncation in PyGrain shared memory batching
  • 679e0db internal
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [grain](https://github.com/google/grain) from 0.2.16 to 0.2.18.
- [Release notes](https://github.com/google/grain/releases)
- [Changelog](https://github.com/google/grain/blob/main/CHANGELOG.md)
- [Commits](google/grain@v0.2.16...v0.2.18)

---
updated-dependencies:
- dependency-name: grain
  dependency-version: 0.2.18
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jun 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants