Skip to content
This repository was archived by the owner on Jan 12, 2026. It is now read-only.
This repository was archived by the owner on Jan 12, 2026. It is now read-only.

cmake not found by matxscript PyTorch extension, please install it!!! #277

@hyfeng

Description

@hyfeng

when i test this exmaple, encounted the error: cmake not found by matxscript PyTorch extension, please install it!!!
what's the matxscript pytorch extension?
import torch import matx class Mycell(torch.nn.Module): def __init__(self): super(Mycell, self).__init__() self.linear = torch.nn.Linear(4, 4) def forward(self, x, h): new_h = torch.tanh(self.linear(x) + h) return new_h, new_h device = torch.device("cpu") mycel = Mycell().to(device) scipt_model = torch.jit.trace(mycel,(torch.rand(3,4).to(device),torch.rand(3,4).to(device))) infer_op = matx.script(scipt_model)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions