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

Lasr rename #345

Closed
wants to merge 4 commits into from
Closed

Lasr rename #345

wants to merge 4 commits into from

Conversation

atharvas
Copy link

No description provided.

atharvas and others added 4 commits September 12, 2024 11:32
* chore: update gitignore

* remove precompilation

* wip: get many parts of expression interface working

* get more parts working for parametric expressions

* fix constant optimization for expressions

* various fixes for expressions

* fix other parts of expression interface

* specialize operators

* wip: almost working creation

* more parts working

* fix up other parts of parametric expression

* create mutate constant for parameters

* fix strings

* fix strings

* formatting

* fix complexity

* chore: bump DynamicExpressions

* feat: undo abstract expression changes to InterfaceDynamicExpressions

* feat: add index parameter for Dataset

* feat: set node_type based on expression_type

* feat: export node_type

* generalize initialization for expressions

* add example of parameterized functions

* formatting

* fix various issues with expressions

* user expressions on regular trees

* fix various issues with expressions in tests

* turn back on precompilation

* fix conversion steps

* fix bug introduced by `get_tree_from_member`

* fix symbolic import

* missing union

* switch to zygote for optimization

* feat: allow user-specified autodiff backend; finite or zygote

* feat: add TODO item

* refactor: use callable structs rather than anonymous functions

* test: run parametrized function example

* ci: split up tests into three parts

* test: fix jet error

* feat: use DifferentiationInterface.jl for AD backend

* run parametrized_function example for test

* fix: `default_node -> default_node_type`

* feat: allow symbol for autodiff backend

* chore: set version to alpha instead

* test: commit Manifest to reference alpha DE

* build: delete Manifest.toml

* feat: better printing for halls of fame

* style: remove extra space

* refactor: improve printing of PopMember

* refactor: avoid holding operators within expressions

* refactor: rename expressions interface

* fix: stripping of metadata in loaded state

* test: fix stripping of metadata

* fix: order of ParametricExpression arguments

* test: declare instabilities

* test: fix remaining issues with test

* test: fix missing import

* refactor: use correct interface option

* chore: bump DynamicExpressions version

* chore: bump SymbolicUtils

* chore: fix symbolic regression version

* test: fix test interference

* test: fix stop on clock test

* fix: jet issues with union splitting

* test: skip jet test on 1.11

* fix: various method ambiguities

* chore: update DE

* fix: jet union split

* fix: use of `simplify_tree!`

* chore: bump DE version

* feat: add classes feature to MLJ interface

* fix: mlj interface for classes

* refactor: move jet test to end

* refactor: update MLJ scitype

* style: clean up interface code

* fix missing import

* limit max calls in optimization

* reduce `niterations`

* split up MLJ test

* split up test_mixed

* speed up mixed test

* add tags on integration tests

* clean up test mixed util

* float up redundant lines

* simpler type assertion

* tests of new print_tree behavior

* test derivative helper functions

* test other printing methods

* test that new options dont change PopMember printout

* full test of break random connection

* test form_random_connection!

* remove unused converter

* smoke test for warm start parametrized function

* add early_stop_condition to long mixed tests

* fix parameterized function test

* early stop condition for parameter test

* make sure MLJ tests run

* fix parametrized function test

* avoid recursion with keyword args

* add checks for classes in MLJ

* clear all variables in test_params.jl

* fix parametrized expressions being reset

* fix parameterized function example not selecting last

* fix: simplification within SingleIteration

* test: gradients during optimization

* test: fix parametrized function example

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* test: gradients of parametric expression

* feat: get Zygote gradients working for `ParametricExpressions`

* chore: bump DynamicExpression dependency

* fix: ensure we continue in parametrized function test

* chore: bump DE version

* feat: better monitor of bottlenecks

* feat: dont print occupation during warmup

* feat: use `Threads.@spawn` over `@async`

* feat: don't print worker occupation temporarily

* feat: wip Enzyme support

* feat: working Enzyme gradients in loss function

* deps: add Enzyme to dependencies

* test: update evaluator tests api calls

* refactor: fix ambiguity

* feat: Enzyme gradients for ParametricExpression

* fix: move back to `@async` to fix race condition

* test: only run Enzyme test on Julia 1.10

* feat: back to fast loss functions

* feat: explicit stack size for Enzyme

* feat: set stack size to 32 MB for Enzyme

* ci: move Enzyme test to part 3

* test: skip Enzyme test on 1.11

* refactor: remove unused function

* test: make stop condition earlier

* test: fix env in mlj tests

* test: avoid unicode line endings to fix JuliaSyntax bug

* fix: type instability in `init_dummy_pops`

This instability is seen only on some operating systems and Julia versions.

* fix: more type stability for Enzyme

* test: force specialized operators for Enzyme

* fix: issue with outer threads loop

* deps: update DynamicExpressions version

* refactor: clean up stale imports with ExplicitImports.jl

* feat: expose new `get_scalar_constants` and `set_scalar_constants!`

* fix: ensure `dataset.weights` is copied for Enzyme analysis

* refactor: only copy batched portion

* hack: delete all old artifacts

* ci: undo cache clearing

* deps: bump DE with depwarn fix

* feat: add new string representations via dispatch

* refactor: `dataset.weights` not actually Enzyme issue

* fix: avoid storing `StatsBase.Weights` within `Options`

* fix: ensure we mark `@nospecialize`d argument as `@unstable`

* fix: consistency checks in metadata stripping

* fix: ignore functions in Enzyme and ChainRulesCore

* fix: EnzymeRules marking

* Revert "fix: EnzymeRules marking"

This reverts commit 002df6d.

* Revert "fix: ignore functions in Enzyme and ChainRulesCore"

This reverts commit b4265c1.

* ci: test Enzyme separately

* ci: ensure Preferences.jl installed

* Revert "ci: ensure Preferences.jl installed"

This reverts commit eb7cde1.

* Revert "ci: test Enzyme separately"

This reverts commit 0d7fb80.

* ci: skip Enzyme tests completely

* refactor: create `@ignore`d code to appease static analysis

* refactor: clean up constructor of options

* refactor: clean up constraint constructor

* refactor: reduce some specialization

* test: ensure DynamicExpressions installed for preferences

* fix: mistaken assertion

* fix: repeated depwarns cause dict write error

* fix: prevent bad RNGs in MLJ tests

* test: improve parameterized function example

* refactor: clean up imports

* test: make clocked test use serial mode

* test: ensure options are lighterweight for clock test

* test: increase npop for mlj test that fails sometimes

* feat: create `PerThreadCache` for efficient caching

* refactor: use `PerThreadCache` for safe functions

* build: specify preferences in project

* deps: bump SymbolicUtils to 3

* deps: bump DynamicQuantities to 1

* deps: fix compat settings

* deps: force SymbolicUtils 2+

* deps: fix issue with [compat] on older Julia

* deps: add back old SymbolicUtils

* deps: fix DE version

* deps: skip ConstructionBase bug

See JuliaObjects/ConstructionBase.jl#92

* deps: move ConstructionBase to extras

* ci: force clear cache upon new Project.toml

* deps: force ConstructionBase dependency to fix version

* test: verbose printing of tests

* test: make dimensional test reproducible

* test: split up dimensional analysis tests

* test: set up early stopping for test

* test: note slow tests

* test: fix missing operator

* Lasr parametric expressions (#1)

* base integration commit

* add llm functions

* update package name

* Add prompts dir

* minor bug fixes while getting code in working order

* add integration tests

---------

Co-authored-by: Arya Grayeli <[email protected]>

---------

Co-authored-by: MilesCranmer <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Arya Grayeli <[email protected]>
@atharvas atharvas closed this Sep 13, 2024
@atharvas atharvas deleted the lasr-rename branch September 13, 2024 01:15
@atharvas atharvas restored the lasr-rename branch September 13, 2024 01:17
@atharvas atharvas deleted the lasr-rename branch September 16, 2024 18:27
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