Skip to content

Conversation

MasterJH5574
Copy link
Member

@MasterJH5574 MasterJH5574 commented Sep 7, 2025

This PR applies the recent TVM ffi refactor that renames NDArray to Tensor, to align with the PyTorch name convention.

Aside from the rename, this PR also updates the device API renaming and the register_global_func renaming.


NOTE: This PR is a breaking change:

  • all compiled model libraries are invalidated. Please recompile all models with mlc_llm compile or MLC_JIT_POLICY=REDO.

  • ndarray-cache.json is now renamed to tensor-cache.json. Please apply this rename in your local model directories.

This PR applies the recent TVM ffi refactor that renames NDArray
to Tensor, to align with the PyTorch name convention.

Aside from the rename, this PR also updates the device API renaming
and the `register_global_func` renaming.

---

NOTE: This PR is a breaking changes:

- all compiled model libraries are invalidated. Please recompile all
models with `mlc_llm compile` or `MLC_JIT_POLICY=REDO`.

- `ndarray-cache.json` is now renamed to `tensor-cache.json`. Please
apply this rename in your local model directories.
@MasterJH5574 MasterJH5574 merged commit 91d95f9 into mlc-ai:main Sep 8, 2025
1 of 2 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