Skip to content

Conversation

@copybara-service
Copy link
Contributor

Add a caching strategy version number.

When a weight cache implementation persists data between runs, it needs to be
informed when the caching strategy changes (for instance when caching is added
to an operation).

Note that implementations could already find out if caching for a specific
operation has changed by checking caching fingerprints. This doesn't work when
an operation that wasn't cached previously starts being cached.

When a weight cache implementation persists data between runs, it needs to be
informed when the caching strategy changes (for instance when caching is added
to an operation).

Note that implementations could already find out if caching for a specific
operation has changed by checking caching fingerprints. This doesn't work when
an operation that wasn't cached previously starts being cached.

PiperOrigin-RevId: 859494304
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant