Skip to content

Conversation

@lkdvos
Copy link
Member

@lkdvos lkdvos commented Jan 20, 2026

Here I am porting over a bunch of our chainrules to the Mooncake ones.

In particular, I am trying to identify the core computational routines and writing the rules for these, while not blindly taking the same methods.
For example, in ChainRules we overload rules for *(::Number, ::AbstractTensorMap), in Mooncake we simply define a rule for scale!(::AbstractTensorMap, ::Number).

To do:

  • Index manipulations
  • VectorInterface
  • LinearAlgebra
  • TensorOperations
  • PlanarOperations

@codecov
Copy link

codecov bot commented Jan 20, 2026

Codecov Report

❌ Patch coverage is 79.78142% with 37 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
ext/TensorKitMooncakeExt/indexmanipulations.jl 42.18% 37 Missing ⚠️
Files with missing lines Coverage Δ
ext/TensorKitMooncakeExt/TensorKitMooncakeExt.jl 100.00% <ø> (ø)
ext/TensorKitMooncakeExt/linalg.jl 100.00% <100.00%> (+100.00%) ⬆️
ext/TensorKitMooncakeExt/tangent.jl 100.00% <100.00%> (ø)
ext/TensorKitMooncakeExt/tensoroperations.jl 98.90% <100.00%> (+0.82%) ⬆️
ext/TensorKitMooncakeExt/vectorinterface.jl 100.00% <100.00%> (ø)
ext/TensorKitMooncakeExt/indexmanipulations.jl 42.18% <42.18%> (ø)

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@kshyatt
Copy link
Member

kshyatt commented Jan 21, 2026

I can likely pick up some of the linalg ones if you like

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.

3 participants