Skip to content

Don't serialize the states of intermediate variables - #598

Open
arcondello wants to merge 1 commit into
dwavesystems:0.8.xfrom
arcondello:breaking-change/all-nodes-are-deterministic
Open

Don't serialize the states of intermediate variables#598
arcondello wants to merge 1 commit into
dwavesystems:0.8.xfrom
arcondello:breaking-change/all-nodes-are-deterministic

Conversation

@arcondello

Copy link
Copy Markdown
Member

This is a backwards compatibility breaking change.

Don't serialize the states of intermediate variables. This simplifies some aspects of serialization significantly. Models serialized before this change will have the states of intermediate variables ignored.

AI Generation Disclosure

No AI used.

@arcondello arcondello added the enhancement New feature or request label Aug 6, 2026
@smharwood

Copy link
Copy Markdown
Contributor

I've tried serializing and loading a model with different versions and they all act as expected.

Though, I keep wondering if there is a test we can add - for instance, commit a small model to the repo that was serialized with the old behavior and make sure it can be loaded with the latest version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants