Skip to content

Conversation

@shinaoka
Copy link
Member

@shinaoka shinaoka commented Dec 31, 2025

This PR keeps T4ATensorCI backwards compatible while extracting foundational pieces into:

  • T4ATensorTrain.jl
  • T4AMatrixCI.jl

It also fixes local docs builds by developing the local package in the docs environment and avoiding fragile @ref links in extension docstrings.

Related PRs:

Local verification (logs saved):

  • Pkg.test()
  • julia --project=docs docs/make.jl

Ensure docs env develops local T4ATensorCI (and local deps when present) and avoid fragile @ref links in docs/extension docstrings.
@shinaoka shinaoka changed the title Refactor: extract MatrixCI/TT to T4AMatrixCI & T4ATensorTrain Refactor: split MatrixCI/TensorTrain + docs fixes Dec 31, 2025
- Grant contents: write for Documenter gh-pages deployment\n- Work around registry UUID mismatch by developing T4AMatrixCI/T4ATensorTrain from GitHub in CI (temporary)
Pkg.develop does not support rev=; use Pkg.add(PackageSpec(url=..., rev=...)) so CI can override registry versions.
Pkg.add needs General for std deps like QuadGK; add default registries before adding git-based deps.
Stop defining duplicate ITensor/T4AITensorCompat conversion methods in T4ATensorCI extensions (they live in T4ATensorTrain ext/). Also disable Aqua persistent_tasks to avoid registry-resolution flakiness in CI.
Conversion implementations are delegated to T4ATensorTrain extensions; remove now-unused files from T4ATensorCI to avoid confusion and dead code.
Fix docs CI resolution issues by instantiating docs/ with T4AMatrixCI and T4ATensorTrain added via git URL before julia-docdeploy runs.
Avoid kwcall when forwarding evaluate to T4AMatrixCI for MatrixCI/MatrixACA. This fixes JET failures caused by always using keyword-splat forwarding.
JET flags keyword forwarding to T4AMatrixCI.evaluate (which has no keyword methods). Disallow keywords for MatrixCI/MatrixACA forwarding and always call positional-only.
@shinaoka shinaoka merged commit 5767e31 into main Dec 31, 2025
3 checks passed
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.

2 participants