Skip to content

Conversation

@g-w1
Copy link
Contributor

@g-w1 g-w1 commented Feb 11, 2024

No description provided.

@g-w1 g-w1 force-pushed the mixed branch 4 times, most recently from d3590e4 to 1352213 Compare February 11, 2024 23:19
@g-w1 g-w1 force-pushed the mixed branch 4 times, most recently from b30dc78 to d97113e Compare June 26, 2024 04:12
@lululxvi
Copy link
Owner

If I use the API here to set mixed precision, then all the demo code can run in mixed precision?

@g-w1
Copy link
Contributor Author

g-w1 commented Jun 26, 2024

Not all. The L-BFGS optimizer doesn't work in mixed precision. But if you add the line dde.config.set_default_float("mixed") to the top of your file, it should work unless it uses a feature (like L-BFGS) that is not supported with mixed precision. I have tested this on the Burgers.py example and it works.

@g-w1
Copy link
Contributor Author

g-w1 commented Mar 4, 2025

Sorry for the late reply, hopefully I've addressed some of the issues

@g-w1 g-w1 force-pushed the mixed branch 2 times, most recently from 099d767 to 4122884 Compare March 5, 2025 17:01
@lululxvi lululxvi merged commit 99c3626 into lululxvi:master Mar 8, 2025
14 checks passed
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.

2 participants