tvm
tvm copied to clipboard
Open deep learning compiler stack for cpu, gpu and specialized accelerators
Prior to this commit, any use of `tvm.nd.from_dlpack` to create a strided `NDArray`, or a `NDArray` whose alignment was less than `tvm::runtime::kAllocAlignment` would raise an error. As a result, views...
Previously, the `Array(IterType,IterType)` constructor required the class template parameter `T` to be explicitly provided. This commit adds a template deduction guide, specifying the intended type `T` as the type produced...
The `ComputePrimValue` transform is used to compute the value of symbolic expressions that may appear within a Relax function. For example, to compute a boolean condition used for a `relax::If`...
Prior to this commit, variable replacement by `BindSymbolicVars` would fail to replace variables that occur within a `relax::MatchCast` node. This pattern is rare, because the `bind_symbolic_vars` method can only replace...
While it is ill-formed for control-flow to occur within a `DataflowBlock`, it is legal for a `DataflowBlock` to be contained within a control-flow. Prior to this commit, the `FuseOps` and...
This PR updates the error message returned if the client doesn't have valid WebGPU adapter to make it more readible and user-friendly.
I noticed this while running https://github.com/apache/tvm/actions/runs/9188515282. @tqchen any idea who has access to AWS and can fix this? This is the error I see: ``` + aws s3 cp downloaded_file...
Here are some dead links of resnet in the TVM doc. one of these dead links has been caught in #17017 and a PR is submitted #17015 This PR fixes...
This PR improves the performance of low_batch_gemv on Metal by changing schedule config. The performance improvement is around 2x when bucket larger than 2.
When I try to compile the hexagon part of the hexagon graph launch, I get the following error: ``` In file included from /home/host/Documents/workspace/opensource/tvm/src/runtime/hexagon/hexagon_user_dma.cc:20: In file included from /home/host/Documents/workspace/opensource/tvm/src/runtime/hexagon/hexagon_user_dma.h:25: /home/host/Documents/workspace/opensource/tvm/src/runtime/hexagon/hexagon_user_dma_instructions.h:29:16:...