Ramiro Leal-Cavazos

Results 77 comments of Ramiro Leal-Cavazos

Can you rebase your branch to resolve the conflicts so that the CI can run?

Can you add the `div.int` op in a separate PR? This makes the PRs more self-contained and easier to review

Hey @albertdmath, you can also run the lit tests locally by doing `cmake --build build --target check-torch-mlir-all`.

> Just to confirm, the cast would happen with AtenToDtypeOp? Can you create the lowering for `AtenDivInt` in a separate PR, since it is not really related to the goal...

Hi @MissyDu, The pass `createTorchScriptModuleToTorchBackendPipeline` does several things to the MLIR. First, it simplifies the MLIR code by getting rid of dead code and turning what originally looks like a...

> > hi @ramiro050 , i'm wondering how to modify the contents of a `torch.vtensor`. For example, how to modify it's shape. Is there any example to refer? Hi @Tengxu-Sun,...

1. You're right, `input0.getType()` does return an `mlir::Type` always independent of the actual type of the `Value` (https://mlir.llvm.org/doxygen/classmlir_1_1Value.html#a5348fc13d5201e2adf7ded6b4b2fb1ad). And yes, `BaseTensorType` and `ValueTensorType` are subclasses of `mlir::Type`. (`ValueTensorType` is also...

> Thanks very much for your reply. In question 2, how to understand the `linalg-on-tensors` level. Is it like `BaseTensorType ` and its subclass? > > In the code of...

Hi @Tengxu-Sun, I just wanted to let you know that we have [torch-MLIR office hours](https://discourse.llvm.org/t/announcing-torch-mlir-office-hours/63973) every Thursday where I can show you my approach for debugging issues like this one....

> Was there a solution to this? I'm getting the same error. Hi @kkiningh, I was not able to recreate this issue on my machine. Do you have this commit...