Skip to content

[BUG/CLN] Refactor tensor handling and cleanup lazy weight logic #18

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

Draft
wants to merge 2 commits into
base: changes_for_server
Choose a base branch
from

Conversation

Leguark
Copy link
Member

@Leguark Leguark commented Aug 5, 2025

[BUG/CLN] Refactor tensor handling and cleanup lazy weight logic

Updated tensor operations in symbolic_evaluator.py to use lazy_weights consistently, replacing redundant LazyTensor calls. Adjusted dtype handling in backend_tensor.py for better compatibility with PyTorch.

[CLN] Rename pykeops_enabled to use_pykeops across codebase

Standardized the naming of the pykeops_enabled flag to use_pykeops for consistency and clarity in backend configuration. Updated relevant test cases, API calls, and internal logic accordingly.

Leguark added 2 commits July 26, 2025 13:26
Updated tensor operations in `symbolic_evaluator.py` to use `lazy_weights` consistently, replacing redundant `LazyTensor` calls. Adjusted dtype handling in `backend_tensor.py` for better compatibility with PyTorch.
Standardized the naming of the `pykeops_enabled` flag to `use_pykeops` for consistency and clarity in backend configuration. Updated relevant test cases, API calls, and internal logic accordingly.
Copy link
Member Author

Leguark commented Aug 5, 2025

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

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