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

Automatically remove unused nodes with side effects #2690

Merged

Conversation

RunDevelopment
Copy link
Member

This implements option 2. I did this by adding a new optimizeChain function that handles frontend chain optimizations.

While I was at it, I also fixed a minor bug: type errors are formatted as <category>: <node name>: <error> when you try to run a chain with errors. However, the formatting code used the category ID instead of the category name.

Closes #2681

@joeyballentine joeyballentine merged commit a7275b1 into chaiNNer-org:main Mar 20, 2024
4 checks passed
@RunDevelopment RunDevelopment deleted the remove-side-effects-option-2 branch March 20, 2024 19:55
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.

None yet

2 participants