Skip to content

Bump the github-actions group with 10 updates - #1

Closed
dependabot[bot] wants to merge 3512 commits into
mainfrom
dependabot/github_actions/github-actions-394f49d8a2
Closed

Bump the github-actions group with 10 updates#1
dependabot[bot] wants to merge 3512 commits into
mainfrom
dependabot/github_actions/github-actions-394f49d8a2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 8, 2025

Copy link
Copy Markdown
Contributor

Bumps the github-actions group with 10 updates:

Package From To
actions/checkout 4.2.2 6.0.1
peter-evans/create-or-update-comment 4.0.0 5.0.0
actions/cache 4.2.3 4.3.0
peter-evans/create-pull-request 7.0.8 7.0.11
dawidd6/action-send-mail 5 6
actions/upload-artifact 4.6.2 5.0.0
hendrikmuhs/ccache-action 1.2.18 1.2.20
ad-m/github-push-action 0.8.0 1.0.0
ncipollo/release-action 1.16.0 1.20.0
actions/setup-python 5.6.0 6.1.0

Updates actions/checkout from 4.2.2 to 6.0.1

Release notes

Sourced from actions/checkout's releases.

v6.0.1

What's Changed

Full Changelog: actions/checkout@v6...v6.0.1

v6.0.0

What's Changed

Full Changelog: actions/checkout@v5.0.0...v6.0.0

v6-beta

What's Changed

Updated persist-credentials to store the credentials under $RUNNER_TEMP instead of directly in the local git config.

This requires a minimum Actions Runner version of v2.329.0 to access the persisted credentials for Docker container action scenarios.

v5.0.1

What's Changed

Full Changelog: actions/checkout@v5...v5.0.1

v5.0.0

What's Changed

⚠️ Minimum Compatible Runner Version

v2.327.1
Release Notes

Make sure your runner is updated to this version or newer to use this release.

Full Changelog: actions/checkout@v4...v5.0.0

v4.3.1

What's Changed

... (truncated)

Changelog

Sourced from actions/checkout's changelog.

Changelog

v6.0.0

v5.0.1

v5.0.0

v4.3.1

v4.3.0

v4.2.2

v4.2.1

v4.2.0

v4.1.7

v4.1.6

v4.1.5

... (truncated)

Commits

Updates peter-evans/create-or-update-comment from 4.0.0 to 5.0.0

Release notes

Sourced from peter-evans/create-or-update-comment's releases.

Create or Update Comment v5.0.0

⚙️ Requires Actions Runner v2.327.1 or later if you are using a self-hosted runner for Node 24 support.

What's Changed

... (truncated)

Commits
  • e8674b0 feat: v5 (#439)
  • fffe59e build(deps-dev): bump @​types/node from 18.19.127 to 18.19.129 (#438)
  • 076d572 build(deps-dev): bump @​types/node from 18.19.126 to 18.19.127 (#437)
  • 86a2645 build(deps-dev): bump @​vercel/ncc from 0.38.3 to 0.38.4 (#436)
  • be17e0c build(deps-dev): bump @​types/node from 18.19.124 to 18.19.126 (#435)
  • ef75eae build(deps-dev): bump @​types/node from 18.19.123 to 18.19.124 (#433)
  • 82a7ad0 build(deps): bump actions/setup-node from 4 to 5 (#432)
  • f7c845d build(deps-dev): bump @​types/node from 18.19.122 to 18.19.123 (#430)
  • 5da8e07 build(deps-dev): bump eslint-plugin-prettier from 5.5.3 to 5.5.4 (#428)
  • 2de7f66 build(deps-dev): bump @​types/node from 18.19.121 to 18.19.122 (#427)
  • Additional commits viewable in compare view

Updates actions/cache from 4.2.3 to 4.3.0

Release notes

Sourced from actions/cache's releases.

v4.3.0

What's Changed

New Contributors

Full Changelog: actions/cache@v4...v4.3.0

v4.2.4

What's Changed

New Contributors

Full Changelog: actions/cache@v4...v4.2.4

Changelog

Sourced from actions/cache's changelog.

Releases

4.3.0

  • Bump @actions/cache to v4.1.0

4.2.4

  • Bump @actions/cache to v4.0.5

4.2.3

  • Bump @actions/cache to v4.0.3 (obfuscates SAS token in debug logs for cache entries)

4.2.2

  • Bump @actions/cache to v4.0.2

4.2.1

  • Bump @actions/cache to v4.0.1

4.2.0

TLDR; The cache backend service has been rewritten from the ground up for improved performance and reliability. actions/cache now integrates with the new cache service (v2) APIs.

The new service will gradually roll out as of February 1st, 2025. The legacy service will also be sunset on the same date. Changes in these release are fully backward compatible.

We are deprecating some versions of this action. We recommend upgrading to version v4 or v3 as soon as possible before February 1st, 2025. (Upgrade instructions below).

If you are using pinned SHAs, please use the SHAs of versions v4.2.0 or v3.4.0

If you do not upgrade, all workflow runs using any of the deprecated actions/cache will fail.

Upgrading to the recommended versions will not break your workflows.

4.1.2

  • Add GitHub Enterprise Cloud instances hostname filters to inform API endpoint choices - #1474
  • Security fix: Bump braces from 3.0.2 to 3.0.3 - #1475

4.1.1

  • Restore original behavior of cache-hit output - #1467

4.1.0

  • Ensure cache-hit output is set when a cache is missed - #1404
  • Deprecate save-always input - #1452

... (truncated)

Commits
  • 0057852 Merge pull request #1655 from actions/Link-/prepare-4.3.0
  • 4f5ea67 Update licensed cache
  • 9fcad95 Upgrade actions/cache to 4.1.0 and prepare 4.3.0 release
  • 638ed79 Merge pull request #1642 from actions/GhadimiR-patch-1
  • 3862dcc Add note on runner versions
  • 0400d5f Merge pull request #1636 from actions/Link-/release-4.2.4
  • 374a27f Prepare release 4.2.4
  • 358a730 Merge pull request #1634 from actions/Link-/optimise-deps
  • 2ee706e Fix with another approach
  • 94f7b5d Fix bundle exec
  • Additional commits viewable in compare view

Updates peter-evans/create-pull-request from 7.0.8 to 7.0.11

Release notes

Sourced from peter-evans/create-pull-request's releases.

Create Pull Request v7.0.11

What's Changed

Full Changelog: peter-evans/create-pull-request@v7.0.10...v7.0.11

Create Pull Request v7.0.10

⚙️ Fixes an issue where updating a pull request failed when targeting a forked repository with the same owner as its parent.

What's Changed

New Contributors

Full Changelog: peter-evans/create-pull-request@v7.0.9...v7.0.10

Create Pull Request v7.0.9

⚙️ Fixes an incompatibility with the recently released actions/checkout@v6.

What's Changed

New Contributors

Full Changelog: peter-evans/create-pull-request@v7.0.8...v7.0.9

Commits
  • 22a9089 fix: restrict remote prune to self-hosted runners (#4250)
  • d4f3be6 fix: provider list pulls fallback for multi fork same owner (#4245)
  • bc8a47f build(deps-dev): bump prettier from 3.6.2 to 3.7.3 in the npm group (#4240)
  • a67ef28 build(deps): bump the github-actions group with 2 updates (#4235)
  • 84ae59a fix: compatibility with actions/checkout@v6 (#4230)
  • b4733b9 build(deps-dev): bump js-yaml from 4.1.0 to 4.1.1 (#4222)
  • 0edc001 build(deps-dev): bump the npm group with 2 updates (#4201)
  • 430aea0 build(deps): bump the github-actions group with 3 updates (#4200)
  • 46cdba7 build(deps-dev): bump the npm group with 3 updates (#4185)
  • b937339 build(deps): bump the github-actions group with 2 updates (#4184)
  • Additional commits viewable in compare view

Updates dawidd6/action-send-mail from 5 to 6

Release notes

Sourced from dawidd6/action-send-mail's releases.

v6

What's Changed

Full Changelog: dawidd6/action-send-mail@v5...v6

Commits

Updates actions/upload-artifact from 4.6.2 to 5.0.0

Release notes

Sourced from actions/upload-artifact's releases.

v5.0.0

What's Changed

BREAKING CHANGE: this update supports Node v24.x. This is not a breaking change per-se but we're treating it as such.

New Contributors

Full Changelog: actions/upload-artifact@v4...v5.0.0

Commits
  • 330a01c Merge pull request #734 from actions/danwkennedy/prepare-5.0.0
  • 03f2824 Update github.dep.yml
  • 905a1ec Prepare v5.0.0
  • 2d9f9cd Merge pull request #725 from patrikpolyak/patch-1
  • 9687587 Merge branch 'main' into patch-1
  • 2848b2c Merge pull request #727 from danwkennedy/patch-1
  • 9b51177 Spell out the first use of GHES
  • cd231ca Update GHES guidance to include reference to Node 20 version
  • de65e23 Merge pull request #712 from actions/nebuk89-patch-1
  • 8747d8c Update README.md
  • Additional commits viewable in compare view

Updates hendrikmuhs/ccache-action from 1.2.18 to 1.2.20

Release notes

Sourced from hendrikmuhs/ccache-action's releases.

v1.2.20

What's Changed

New Contributors

Full Changelog: hendrikmuhs/ccache-action@v1.2.19...v1.2.20

v1.2.19

What's Changed

... (truncated)

Commits
  • 5ebbd40 update code
  • 8eaa332 Bump @​actions/io from 1.1.3 to 2.0.0 (

justin-ngo-arm and others added 30 commits December 9, 2024 11:03
* Add int input handling for activation functions like erf, sigmoid, and
tanh
* Fix mixed dtype handling for scalar comparison ops
* Add mixed dtype handling for pow tensor op (with only floating point
result type support for now)
* Add Torch to TOSA lowering for torch.aten.tan


Change-Id: I3a8aa1e6febbc0e39ebdb5734f87ae171b03cd73

Signed-off-by: Justin Ngo <justin.ngo@arm.com>
This commit sets the PyTorch and TorchVision version to nightly release
2024-12-01.

This commit also updates the test checks in
`test/python/fx_importer/v2.3/auto_functionalized.py`.

Failing tests are tracked through
llvm/torch-mlir#3796.

---------

Signed-off-by: Vivek Khandelwal <vivekkhandelwal1424@gmail.com>
This pins and updates most actions. The PR is limited to those actions
that seem actively maintained and updated. The actions left unpined
should be reevaluated and eventually replaced with other actions. The
rational for pinning actions is to follow the suggestions by OpenSSF
Scorecard, see
https://github.com/ossf/scorecard/blob/main/docs/checks.md#pinned-dependencies.
While `ubuntu-latest` uses Ubuntu 22.04 for now, thils will change soon
(rollout already started), see
actions/runner-images#10636. The version can
be updated from 22.04 to 24.04 in a follow up.
This replaces the `actions/create-release` with
`ncipollo/release-action` as the former is unmaintained.
This commit adds the support for torch.aten.special.expm1 op by
decomposing it into torch.aten.expm1 op.

---------

Signed-off-by: Vivek Khandelwal <vivekkhandelwal1424@gmail.com>
…ps and conversion patterns. (#3759)

This PR refactors TorchToTosa to separate the construction of
legal/illegal ops and conversion patterns in their own functions:

1. populateTorchToTosaConversionLegalOps -- populate any ops that are
legal after the conversion pass
2. populateTorchToTosaConversionIllegalOps -- populate any ops that are
illegal after the conversion pass
3. populateTorchToTosaConversionPatterns -- populate the ops conversion
patterns

Currently the (il)legality of the ops that are (il)legal after the
conversion pass runs is embedded within the conversion pattern. Our end
goal is to write a new pass pipeline that converts `torch` ops to a mix
of `tosa`, `linalg`, `tensor`, etc dialect ops. The reason we want to
also emit `tosa` ops (instead of using the existing `TorchToLinalg` to
emit `linalg`+`tensor`+...) is because some operations like `conv2d`
encodes the padding behavior in the op in `tosa` unlike the `linalg`
version -- this helps in lowering the `tosa.conv2d` to a custom
implementation that does padding on the fly.

To implement this new pipeline we need to be able to separate out the
illegal `tosa` ops from the conversion pattern itself. Otherwise we will
hit an issue for ops like `AtenMaxDimOp` which can be lowered to both
`tosa` and `linalg + others` dialects. Not all `AtenMaxDimOp` can be
lowered successfully to `tosa` as the implementation uses `tosa.reshape`
which cannot handle multiple dynamic dimensions but the `TorchToLinalg`
lowering can handle it. In the current behavior the pipeline will stop
as soon as the existing `TorchToTosa` conversion runs as `AtenMaxDimOp`
will be marked as an illegal op.

Essentially we want to be able to control what the legality of the ops
should be independent of the conversion pattern. This is also inline
with the conversion patterns in the llvm-mlir repo such as
https://github.com/llvm/llvm-project/blob/000e790be35b77a01872851646d54432a203542c/mlir/lib/Conversion/SCFToControlFlow/SCFToControlFlow.cpp#L718


"THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY."
The onnx output tensor has a shape of ((n, z)), where (n) is the number
of dimensions in the input tensor and (z) is the number of non-zero
elements2. This is different from PyTorch's default behavior, where the
dimensions are reversed.
This commit adds the support for 1-d group convolution by transforming
it into a 2-d group convolution which is already supported.

This commit also refactors the unsqueeze and squeeze tensor utility.

---------

Signed-off-by: Vivek Khandelwal <vivekkhandelwal1424@gmail.com>
… (#3918)

We incorrectly relied on the fact that StableHLO registers the sparse
tensor dialect, but when building for e.g. just LinAlg, the dependency
was missing. This fixes this shortcoming.

FIXES: llvm/torch-mlir#3816
- Set default attribute values
- Support `max_output_boxes_per_class` attribute
- e2e test `test_nonmaxsuppression_limit_output_size` passed
Batch matmul was using the result type as the accumulator. Updated to
use the preferred accumulator based on input type.
2d static nonzero also work. But 2d dynamic need to be fixed next.
Rationale:
In addition to IREE and Blade, MPACT provides an MLIR-based example of a
PyTorch compiler that uses TORCH-MLIR. It also illustrates propagating
sparsity from sparse PyTorch into MLIR, a feature that is not widespread
in DL compilers yet.
* Add Torch to TOSA legalization for torch.aten.unfold
* Update e2e results in xfail_sets.py
* Fix a minor detail in one of the unfold e2e tests
* Add LIT tests for aten.unfold


Change-Id: I6583019d1c2569bdaf9f0b67cf44b33067448af7

Signed-off-by: Justin Ngo <justin.ngo@arm.com>
This commit sets the PyTorch and TorchVision version to nightly release
2024-12-16.

This commit adds the support for `aten.rrelu_with_noise_functional` op
by decomposing it. And, also updates the existing decomposition of
`aten.rrelu_with_noise` op by decomposing it to the newly added
`aten.rrelu_with_noise_functional` op. It also updates the e2e tests for
`aten.rrelu_with_noise` op by replacing it with its functional variant
which is added here:
pytorch/pytorch@f85e238
and which captures the noise mutation which was earlier a reason for the
test failures during the training mode.

This commit also removes the newly passing tests from the xfail_sets.

---------

Signed-off-by: Vivek Khandelwal <vivekkhandelwal1424@gmail.com>
This PR fixes the output size computation as per
https://github.com/pytorch/pytorch/blob/d8c14838f164ee02b88b6e37471b71bb0373f865/torch/_meta_registrations.py#L3847

```
if ceil_mode:
        if (outputSize - 1) * stride >= inputSize + pad_l:
            outputSize -= 1
    return outputSize
```
Changes the messaging for an `onnx.Upsample` match failure in `TorchOnnxToTorch`.
The dynamic has been supported by the code, the check is useless and will block the 
dynamic examples. This will fix nod-ai/AMD-SHARK-ModelDev#893
- Add Torch to TOSA legalization for `aten.replication_pad3d`
- Add new e2e tests and update xfail sets
- Add new LIT test to basic.mlir
- removes section regarding Turbine Camp
  - Each line of detail either:
    - already existed internally in Confluence
      OR
    - was severely out of date!
  - Was beyond the concerns of Torch-MLIR
- adjusts link to LLVM style guide
- was directed to a specific style guide rule rather than the start of
the style guide in general
- adds missing h2
- cleans up style using markdown linter
  - prefers formatted links over intentionally bare URLs
  - enforces explicitly-define language in code blocks
  - prefers implicitly-ordered, 1-based lists
- avoids less-common 0-based lists since that would require deviation
from the default linter config
  - wraps bare urls/emails
  - enforces unordered list nested indentation
  - enforces space around headers
  - enforces space around code fence blocks
  - removes extraneous blank lines
  - enforces space around list blocks
…add (#3947)

To fix nod-ai/AMD-SHARK-ModelDev#898 issue
arise from arith::trunci i1 to i64. Should use arith.extui instead.
Also add dynamic e2e test for aten.scatter_add op in passing.
* Add Torch to TOSA legalization for aten.expm1
* Update xfail_sets with new test results
* Add new LIT tests


Change-Id: I834d0c7416341f884612053aebf9fcc90bcb3b53

Signed-off-by: Justin Ngo <justin.ngo@arm.com>
* Update checkValidityOfCast function for tosa.cast according to the
latest TOSA v1.0 spec:
https://www.mlplatform.org/tosa/tosa_spec.html#_cast
* Clean up some dead code in TorchToTosa


Change-Id: I41209c698a694bca57ebf49ed3608cf89a0d8ba8

Signed-off-by: Justin Ngo <justin.ngo@arm.com>
We are not using this configuration downstream anymore, and it's not
tested upstream.

I propose to remove it.
…py` (#3925)

This PR makes module imports relative in `fx.py` and
`compiler_utils.py`. When torch-mlir python package is embedded into
python package of other MLIR based project, there won't be `torch_mlir`
top level package for absolute import.
Instead of adding unsupported characters on a case-by-case basis, we
should replace anything that isn't alphanumeric, `_`, or `.`.
…… (#3926)

…ion-to-mlprogram` pass

This PR changes `convert-torch-conversion-to-mlprogram` pass
implementation by moving seed generation inside `ConvertGetNextSeedOp`
pattern.
Previously, global seed was being created by this pass, even when its
only consumer `torch_c.get_next_seed` op is not present in the IR. This
pass is part of Torch->Linalg conversion pipeline. Always creating
global seed created an issue for the case when downstream compiler
doesn't expect/support `ml_program` dialect in linalg on tensor IR
format. However, when starting torch IR has `torch_c.get_next_seed` op,
`ml_program` will still be present and will need to be handled by
downstream compilers.
This MR enables `torch_mlir` project to accept path to external
stablehlo and include those directories. This in turn enables
`torch_mlir` to be part of bigger compiler project when `stablehlo` is
already a dependency.
vivekkhandelwal1 and others added 22 commits August 13, 2025 19:25
Update LLVM to
llvm/llvm-project@2147346

Update StableHLO to
openxla/stablehlo@9018c68.

This commit also moves 2 of the tests that were failing earlier from the
fail to the crash set.

Signed-off-by: Vivek Khandelwal <vivekkhandelwal1424@gmail.com>
Signed-off-by: Vivek Khandelwal <vivekkhandelwal1424@gmail.com>
Co-authored-by: Kunwar Grover
This commit adds the e2e support for the aten.as_strided op by
decomposing it into a series of other torch operations.

Fixes llvm/torch-mlir#4191.

The failing tests for Tosa config are tracked by
llvm/torch-mlir#4272.

---------

Signed-off-by: Vivek Khandelwal <vivekkhandelwal1424@gmail.com>
* Builds on top of @sjarus's commit for updating to 2.9.0.dev20250820
* Updated the CI build to initialize python 3.11 version correctly.
Added support for torch.broadcast op and decomposition of
broadcast_tensor to a sequence of aten.broadcast_to

closes #4240
Add F16 and BF16 for torch ops that are lowered to `tosa.clamp`

Signed-off-by: Justin Ngo <justin.ngo@arm.com>
…n.as_strided op (#4303)

#4269  adds the e2e support for the aten.as_strided op by
decomposing it into a series of other torch operations. This change
extents #4269 to relax a restrictive check and support unknown sized
inputs during decomposition
This PR will fix the following issue:
[Add lowering of torch.aten.pixel_unshuffle op to linalg
dialect](llvm/torch-mlir#4260)

This code snippet can reproduce the issue:
```
func.func @pixel_unshuffle(%arg0: !torch.vtensor<[1,8,4,4],f32>) -> !torch.vtensor<[1,32,2,2],f32> attributes {torch.assume_strict_symbolic_shapes} {
  %int2 = torch.constant.int 2
  %0 = torch.aten.pixel_unshuffle %arg0, %int2 : !torch.vtensor<[1,8,4,4],f32>, !torch.int -> !torch.vtensor<[1,32,2,2],f32>
  return %0 : !torch.vtensor<[1,32,2,2],f32>
}
```

The decomposition is based on this specification:

https://docs.pytorch.org/docs/stable/generated/torch.nn.functional.pixel_unshuffle.html
and PyTorch implementation could be found in
main/aten/src/ATen/native/PixelShuffle.cpp:

https://github.com/pytorch/pytorch/blob/main/aten/src/ATen/native/PixelShuffle.cpp

With code changes, torch.aten.pixel_unshuffle will be lowered to the
following:
```
module {
  func.func @main(%arg0: !torch.vtensor<[1,8,4,4],f32>) -> !torch.vtensor<[1,32,2,2],f32> attributes {torch.assume_strict_symbolic_shapes} {
    %int2 = torch.constant.int 2
    %int0 = torch.constant.int 0
    %int1 = torch.constant.int 1
    %int3 = torch.constant.int 3
    %int4 = torch.constant.int 4
    %int5 = torch.constant.int 5
    %0 = torch.prim.ListConstruct %int0, %int1, %int3, %int5, %int2, %int4 : (!torch.int, !torch.int, !torch.int, !torch.int, !torch.int, !torch.int) -> !torch.list<int>
    %1 = torch.prims.split_dim %arg0, %int2, %int2 : !torch.vtensor<[1,8,4,4],f32>, !torch.int, !torch.int -> !torch.vtensor<[1,8,2,2,4],f32>
    %2 = torch.prims.split_dim %1, %int4, %int2 : !torch.vtensor<[1,8,2,2,4],f32>, !torch.int, !torch.int -> !torch.vtensor<[1,8,2,2,2,2],f32>
    %3 = torch.aten.permute %2, %0 : !torch.vtensor<[1,8,2,2,2,2],f32>, !torch.list<int> -> !torch.vtensor<[1,8,2,2,2,2],f32>
    %4 = torch.prims.collapse %3, %int2, %int3 : !torch.vtensor<[1,8,2,2,2,2],f32>, !torch.int, !torch.int -> !torch.vtensor<[1,8,4,2,2],f32>
    %5 = torch.prims.collapse %4, %int1, %int2 : !torch.vtensor<[1,8,4,2,2],f32>, !torch.int, !torch.int -> !torch.vtensor<[1,32,2,2],f32>
    return %5 : !torch.vtensor<[1,32,2,2],f32>
  }
}
```
Using `ConversionPatternRewriter::replaceAllUsesWith` +
`ConversionPatternRewriter::eraseOp` is not supported at the moment, and
will fail an assert after integrating
llvm/llvm-project@2929a29.

The workaround is to use `replaceOp` instead, see:
llvm/llvm-project#155244 (comment)
…d escape sequence '\w' (#4296)

Mark raw string to avoid syntax warning

Co-authored-by: Florian Walbroel <walbroel@roofline.ai>
…ralOp. (#4313)

Previously, all integer values were sign-extended when converting
tensors, which corrupted unsigned integer values. This commit fixes the
conversion to zero-extend unsigned integers and sign-extend signed
integers.
…291)

Fixes llvm/torch-mlir-release#17 by reusing
the common package versions from LLVM's python requirements in
torch-mlir's requirement.txt file.

Successful build after the change on torch-mlir-release side:
https://github.com/sahas3/torch-mlir-release/actions/runs/16911191818
The documentation for setting the PYTHONPATH in development.md points to
an incorrect directory. The python package is now located at
`build/python_packages/torch-mlir` instead of
`build/tools/torch-mlir/python_packages/torch_mlir`.

This commit corrects the path to help new users correctly set up their
environment.
This commit teaches `AtenToDtypeOp::fold` to constant-fold dtype
conversions when the operand is a splat `DenseElementsAttr`.

Folding is done according to torch's rounding behavior, i.e.
  * Bool: 0 and -0.0 → false; nonzero/NaN/±Inf → true.
  * Float → Int: round toward zero.
  * Int → Float: sign-aware, rmNearestTiesToEven.
  * Float ↔ Float: use builtin `mlir::FloatType::getFloatSemantics()`.
* Int ↔ Int: use `zextOrTrunc` / `sextOrTrunc` based on source
signedness.

Folding is only performed when `non_blocking == false`, `copy == false`,
and `memory_format` is None.
Addresses llvm/torch-mlir#4327

---------

Signed-off-by: zjgarvey <zjgarvey@gmail.com>
…lg dialect (#4215)

This PR takes care of llvm/torch-mlir#4214.
- Enable lowering of `AtenMaxPool1dWithIndicesOp` to linalg backend
- Add missing shape & dtype inference in abstract library (fixes
**Torchscript IR --> Torch IR** conversion)
- Update xfail sets
- Add support for **ceil_mode** in torch to stablehlo lowering of
`AtenMaxPool1dWithIndicesOp`

---------

Signed-off-by: Zahid Wakeel <zahid.wakeel@multicorewareinc.com>
…on (#4320)

Co-authored by: xinyi.chen@terapines.com

Fix bug for AtenOnes/AtenZeros/AtenFullOp fold function. 
Specify using mlir namespace for Integer/FloatType which was unexpected
used in torch namespace.
Co-authored by: chao.mei@terapines.com

Improve usage of static shape information to avoid unnecessary
broadcast.
I think this is the simplest approach, for now, to resolve
llvm/torch-mlir#4343

It would be good to eventually finish
llvm/torch-mlir#4348 ; however, it became a bit
too much to rework the generated sources scripts in a timely fashion.

See also another parallel attempt to address the ci problems: #4345 

This PR modifies the Cmake pytorch configure function to simply not set
any `TORCH_CXX_FLAGS` whenever pytorch is missing the old
PYBIND_BUILD_ABI tag. I think whatever compiler flags we were pushing
through to make pybind think we are GCC and to use a specific ABI
version is just completely unnecessary now. I was worried we might need
to update our pybind version in the requirements, but it appears to not
be relevant.

Additionally, nightly pins are updated and small fixes are made to
resolve misc failures in tests after the bump.

---------

Signed-off-by: zjgarvey <zjgarvey@gmail.com>
Bumps the github-actions group with 10 updates:

| Package | From | To |
| --- | --- | --- |
| [actions/checkout](https://github.com/actions/checkout) | `4.2.2` | `6.0.1` |
| [peter-evans/create-or-update-comment](https://github.com/peter-evans/create-or-update-comment) | `4.0.0` | `5.0.0` |
| [actions/cache](https://github.com/actions/cache) | `4.2.3` | `4.3.0` |
| [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) | `7.0.8` | `7.0.11` |
| [dawidd6/action-send-mail](https://github.com/dawidd6/action-send-mail) | `5` | `6` |
| [actions/upload-artifact](https://github.com/actions/upload-artifact) | `4.6.2` | `5.0.0` |
| [hendrikmuhs/ccache-action](https://github.com/hendrikmuhs/ccache-action) | `1.2.18` | `1.2.20` |
| [ad-m/github-push-action](https://github.com/ad-m/github-push-action) | `0.8.0` | `1.0.0` |
| [ncipollo/release-action](https://github.com/ncipollo/release-action) | `1.16.0` | `1.20.0` |
| [actions/setup-python](https://github.com/actions/setup-python) | `5.6.0` | `6.1.0` |


Updates `actions/checkout` from 4.2.2 to 6.0.1
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@11bd719...8e8c483)

Updates `peter-evans/create-or-update-comment` from 4.0.0 to 5.0.0
- [Release notes](https://github.com/peter-evans/create-or-update-comment/releases)
- [Commits](peter-evans/create-or-update-comment@71345be...e8674b0)

Updates `actions/cache` from 4.2.3 to 4.3.0
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](actions/cache@5a3ec84...0057852)

Updates `peter-evans/create-pull-request` from 7.0.8 to 7.0.11
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](peter-evans/create-pull-request@271a8d0...22a9089)

Updates `dawidd6/action-send-mail` from 5 to 6
- [Release notes](https://github.com/dawidd6/action-send-mail/releases)
- [Commits](dawidd6/action-send-mail@7ac0fb1...6d98ae3)

Updates `actions/upload-artifact` from 4.6.2 to 5.0.0
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@ea165f8...330a01c)

Updates `hendrikmuhs/ccache-action` from 1.2.18 to 1.2.20
- [Release notes](https://github.com/hendrikmuhs/ccache-action/releases)
- [Commits](hendrikmuhs/ccache-action@63069e3...5ebbd40)

Updates `ad-m/github-push-action` from 0.8.0 to 1.0.0
- [Release notes](https://github.com/ad-m/github-push-action/releases)
- [Commits](ad-m/github-push-action@v0.8.0...v1.0.0)

Updates `ncipollo/release-action` from 1.16.0 to 1.20.0
- [Release notes](https://github.com/ncipollo/release-action/releases)
- [Commits](ncipollo/release-action@440c8c1...b7eabc9)

Updates `actions/setup-python` from 5.6.0 to 6.1.0
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](actions/setup-python@a26af69...83679a8)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: peter-evans/create-or-update-comment
  dependency-version: 5.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/cache
  dependency-version: 4.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: peter-evans/create-pull-request
  dependency-version: 7.0.11
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: dawidd6/action-send-mail
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/upload-artifact
  dependency-version: 5.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: hendrikmuhs/ccache-action
  dependency-version: 1.2.20
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: ad-m/github-push-action
  dependency-version: 1.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: ncipollo/release-action
  dependency-version: 1.20.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: actions/setup-python
  dependency-version: 6.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Dec 8, 2025
@ShuhuiJia ShuhuiJia closed this Dec 12, 2025
@dependabot @github

dependabot Bot commented on behalf of github Dec 12, 2025

Copy link
Copy Markdown
Contributor Author

This pull request was built based on a group rule. Closing it will not ignore any of these versions in future pull requests.

To ignore these dependencies, configure ignore rules in dependabot.yml

@dependabot
dependabot Bot deleted the dependabot/github_actions/github-actions-394f49d8a2 branch December 12, 2025 02:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.