-
Notifications
You must be signed in to change notification settings - Fork 14
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
Llm/mem mgmt #117
Merged
Merged
Llm/mem mgmt #117
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Greatly reduces memory usage from calling DEC functions and seems to work well with contract operators
Do not run Brusselator on an earth-sized mesh!
Strange error occuring in Simulations Test
commit 9fc12f8 Author: Micah Halter <micah@mehalter.com> Date: Mon Mar 20 12:08:24 2023 -0400 fix missing compat entries commit 7533c9f Author: Micah Halter <micah@mehalter.com> Date: Mon Mar 20 10:48:23 2023 -0400 add more contributors commit 71a015f Author: Micah Halter <micah@mehalter.com> Date: Mon Mar 20 10:39:05 2023 -0400 fix github action versionf for julia-actions commit 1790e48 Author: Luke Morris <70283489+lukem12345@users.noreply.github.com> Date: Tue Mar 7 15:28:59 2023 -0500 Import compile from Catlab.Programs (#104) commit e7ffee9 Author: Luke Morris <70283489+lukem12345@users.noreply.github.com> Date: Wed Feb 22 00:53:43 2023 -0500 Fix old tests and add compatibility specs (#103) * Explicitly give initial primal orientations * Fix MvNormal deprecation * Set some compatibilities commit 69d63b5 Author: GeorgeR227 <78235421+GeorgeR227@users.noreply.github.com> Date: Tue Feb 21 17:46:08 2023 -0500 Gr/parsing overhaul (#95) * Basic literal support * Added Lit data term * Fix composed op2s and add test * Replaced Var for term in \circ decomp * Quick patch for arbitrary multiplication support. * Fixed Tvar's unable to parse on rhs * Added inferred spaces for variables * Do not infer literals as states * Check types are in recognized set * Fixed strange TVar behavior * Fix cache invalidation error and add tests * Add new parsing features tests * Updated visualization for support new parsing. Also cleaned up the parsing code. * Support Literals in simulations * Do not namespace Literals, and do not vcat Nothing * Move CombinatorialSpaces using * Remove erroneous for loop --------- Co-authored-by: Luke Morris <lukelukemorrismorris@gmail.com> Co-authored-by: Luke Morris <70283489+lukem12345@users.noreply.github.com> commit ead3181 Author: Luke Morris <70283489+lukem12345@users.noreply.github.com> Date: Sat Feb 18 13:07:37 2023 -0500 Add Brusselator Example * Add Brusselator, type, and function resolve * Generate and run first phase of simulation * Change alpha and add gif * Perform second stage of simulation * Showcase using F as a time-varying parameter * Keep compatibility with old CombinatorialSpaces * Demonstrate brusselator on sphere * Clean and change gif frames * Add GLMakie back commit 4027d3e Author: Luke Morris <70283489+lukem12345@users.noreply.github.com> Date: Fri Feb 3 16:47:44 2023 -0500 Check if name attribute is nothing (#96)
Still need to handle dual forms and add specific constant/parameter typing
Also added AdvDiff and Brusselator simulations to test new compilation
Also moved out type inference rules relating to parameters.
commit 34ea660 Author: AlgebraicJulia Bot <129184742+algebraicjuliabot@users.noreply.github.com> Date: Mon Apr 24 10:39:01 2023 -0400 Set version to 0.2.0 commit f80c513 Author: Micah Halter <micah@mehalter.com> Date: Fri Apr 21 09:49:04 2023 -0400 Remove architecture specific integer types commit 3b3ab55 Author: Luke Morris <70283489+lukem12345@users.noreply.github.com> Date: Mon Apr 10 14:55:55 2023 -0400 Remove NamedDecapode constructor and compiler commit d2d5cfb Author: Luke Morris <70283489+lukem12345@users.noreply.github.com> Date: Mon Apr 10 14:44:44 2023 -0400 Use @decapode macro commit 28d6eb5 Author: Micah Halter <micah@mehalter.com> Date: Mon Mar 27 10:36:20 2023 -0400 Move to organization level github actions commit b3c2476 Author: Luke Morris <70283489+lukem12345@users.noreply.github.com> Date: Mon Mar 20 14:38:08 2023 -0400 Remove Decapodes_v0.1 files commit a40d7a1 Author: Luke Morris <70283489+lukem12345@users.noreply.github.com> Date: Tue Apr 18 14:46:50 2023 -0400 Do not convert edge labels that are already Strings (#115) commit 9fc12f8 Author: Micah Halter <micah@mehalter.com> Date: Mon Mar 20 12:08:24 2023 -0400 fix missing compat entries commit 7533c9f Author: Micah Halter <micah@mehalter.com> Date: Mon Mar 20 10:48:23 2023 -0400 add more contributors commit 71a015f Author: Micah Halter <micah@mehalter.com> Date: Mon Mar 20 10:39:05 2023 -0400 fix github action versionf for julia-actions commit 1790e48 Author: Luke Morris <70283489+lukem12345@users.noreply.github.com> Date: Tue Mar 7 15:28:59 2023 -0500 Import compile from Catlab.Programs (#104) commit e7ffee9 Author: Luke Morris <70283489+lukem12345@users.noreply.github.com> Date: Wed Feb 22 00:53:43 2023 -0500 Fix old tests and add compatibility specs (#103) * Explicitly give initial primal orientations * Fix MvNormal deprecation * Set some compatibilities commit 69d63b5 Author: GeorgeR227 <78235421+GeorgeR227@users.noreply.github.com> Date: Tue Feb 21 17:46:08 2023 -0500 Gr/parsing overhaul (#95) * Basic literal support * Added Lit data term * Fix composed op2s and add test * Replaced Var for term in \circ decomp * Quick patch for arbitrary multiplication support. * Fixed Tvar's unable to parse on rhs * Added inferred spaces for variables * Do not infer literals as states * Check types are in recognized set * Fixed strange TVar behavior * Fix cache invalidation error and add tests * Add new parsing features tests * Updated visualization for support new parsing. Also cleaned up the parsing code. * Support Literals in simulations * Do not namespace Literals, and do not vcat Nothing * Move CombinatorialSpaces using * Remove erroneous for loop --------- Co-authored-by: Luke Morris <lukelukemorrismorris@gmail.com> Co-authored-by: Luke Morris <70283489+lukem12345@users.noreply.github.com> commit ead3181 Author: Luke Morris <70283489+lukem12345@users.noreply.github.com> Date: Sat Feb 18 13:07:37 2023 -0500 Add Brusselator Example * Add Brusselator, type, and function resolve * Generate and run first phase of simulation * Change alpha and add gif * Perform second stage of simulation * Showcase using F as a time-varying parameter * Keep compatibility with old CombinatorialSpaces * Demonstrate brusselator on sphere * Clean and change gif frames * Add GLMakie back commit 4027d3e Author: Luke Morris <70283489+lukem12345@users.noreply.github.com> Date: Fri Feb 3 16:47:44 2023 -0500 Check if name attribute is nothing (#96)
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #117 +/- ##
==========================================
+ Coverage 87.14% 88.34% +1.19%
==========================================
Files 9 9
Lines 770 995 +225
==========================================
+ Hits 671 879 +208
- Misses 99 116 +17
☔ View full report in Codecov by Sentry. |
lukem12345
reviewed
Apr 28, 2023
Deleted unnecessary files and cleaned up default_dec_generate
lukem12345
reviewed
Apr 28, 2023
As per request
This shift allows us to infer types for variables that were originally parameters or constants before being set to infer by the compiler.
lukem12345
approved these changes
May 2, 2023
This was referenced May 2, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Introduces numerous improvements to the simulation code in Decapodes.