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

Add a default scale dtype to AutoScaleConfig #79

Merged
merged 1 commit into from
Jan 11, 2024

Conversation

balancap
Copy link
Contributor

The default scale dtype can be set with AutoScaleConfig(scale_dtype=xxx) context manager. Having a default scale dtype information when the dtype of data and scale are not the same. If no information is provided, the autoscale JAX interpreter has no way of deciding which dtype is the proper one during the initial tracing.

The default scale dtype can be set with `AutoScaleConfig(scale_dtype=xxx)` context manager.
Having a default scale dtype information when the dtype of `data` and `scale` are not the same. If no
information is provided, the `autoscale` JAX interpreter has no way of deciding which dtype is the proper
one during the initial tracing.
@balancap balancap added bug Something isn't working enhancement New feature or request labels Jan 11, 2024
@balancap balancap self-assigned this Jan 11, 2024
@balancap balancap merged commit 7329bc7 into main Jan 11, 2024
2 checks passed
@balancap balancap deleted the add-default-scale-dtype-autoscale-config branch January 11, 2024 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant