Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data same_dim_tags_as fix auto_create_placeholders #1159

Merged
merged 5 commits into from
Oct 19, 2022

Conversation

albertz
Copy link
Member

@albertz albertz commented Oct 19, 2022

Don't first create a new size placeholder and then later call declare_same_as.

Esp this is required when declare_same_as becomes stricter (#1143).

Don't first create a new size placeholder
and then later call declare_same_as.

Esp this is required
when declare_same_as becomes stricter (#1143).
The dim tag could have an old invalid batch info.
E.g. the global batch_dim when it comes from an old run.

If we really need this, we should validate the dim tag first.

But probably it's better to remove it and clean it up.
@albertz albertz marked this pull request as ready for review October 19, 2022 18:44
@albertz albertz requested a review from a team as a code owner October 19, 2022 18:44
@albertz albertz merged commit 0189da5 into master Oct 19, 2022
@albertz albertz deleted the albert-fix-wrong-create-placeholder branch October 19, 2022 18:48
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