Skip to content

Commit 57b002b

Browse files
committed
Merge remote-tracking branch 'origin' into amyachev/bmg-skiplist2
2 parents 3f215d8 + 8e26be5 commit 57b002b

File tree

102 files changed

+1265
-821
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

102 files changed

+1265
-821
lines changed

.github/WINDOWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ If you do not have a system Python installed at this step, you can install one w
5656
For example:
5757

5858
```
59-
choco install python --version=3.9.13
59+
choco install python --version=3.10.11
6060
```
6161

6262
### Git

.github/workflows/build-test-python.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ jobs:
5858
id: matrix
5959
run: |
6060
if [[ -n "${{ inputs.runner_label }}" ]]; then
61-
matrix='{"python": ["3.9", "3.10", "3.11", "3.12", "3.13"]}'
61+
matrix='{"python": ["3.10", "3.11", "3.12", "3.13"]}'
6262
else
63-
matrix='{"python": ["3.9", "3.10", "3.11", "3.12", "3.13"], "driver": ["rolling", "lts"]}'
63+
matrix='{"python": ["3.10", "3.11", "3.12", "3.13"], "driver": ["rolling", "lts"]}'
6464
fi
6565
echo "matrix=$matrix" | tee -a $GITHUB_OUTPUT
6666

.github/workflows/nightly-wheels.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ jobs:
3232
strategy:
3333
matrix:
3434
python:
35-
- "3.9"
3635
- "3.10"
3736
- "3.11"
3837
- "3.12"

.github/workflows/try-latest-pytorch.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
- name: Matrix
6969
id: matrix
7070
run: |
71-
integration_matrix='{"python": ["3.9", "3.10", "3.11", "3.12"], "driver": ["rolling", "lts"]}'
71+
integration_matrix='{"python": ["3.10", "3.11", "3.12"], "driver": ["rolling", "lts"]}'
7272
7373
echo "integration_matrix=$integration_matrix" | tee -a $GITHUB_OUTPUT
7474
e2e_matrix='{
@@ -97,7 +97,7 @@ jobs:
9797
inductor/test_max_autotune.py
9898
inductor/test_compile_subprocess.py
9999
runner_label: ${{ inputs.runner_label }}
100-
python_version: "3.9"
100+
python_version: "3.10"
101101

102102
integration-tests:
103103
name: Integration tests

.github/workflows/wheels-pytorch.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ jobs:
2121
strategy:
2222
matrix:
2323
python:
24-
- "3.9"
2524
- "3.10"
2625
- "3.11"
2726
- "3.12"

.github/workflows/wheels-triton.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ jobs:
1616
strategy:
1717
matrix:
1818
python:
19-
- "3.9"
2019
- "3.10"
2120
- "3.11"
2221
- "3.12"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ You can install the latest stable release of Triton from pip:
2727
pip install triton
2828
```
2929

30-
Binary wheels are available for CPython 3.9-3.13.
30+
Binary wheels are available for CPython 3.10-3.13.
3131

3232
# Install from source
3333

bin/RegisterTritonDialects.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747

4848
#include "mlir/Dialect/LLVMIR/NVVMDialect.h"
4949
#include "mlir/Dialect/LLVMIR/ROCDLDialect.h"
50+
#include "mlir/Dialect/LLVMIR/Transforms/InlinerInterfaceImpl.h"
5051
#include "mlir/InitAllPasses.h"
5152

5253
namespace mlir {
@@ -107,6 +108,8 @@ inline void registerTritonDialects(mlir::DialectRegistry &registry) {
107108
mlir::triton::registerConvertTritonGENToLLVM();
108109
mlir::triton::registerTritonGENToLLVMPasses();
109110
mlir::triton::registerTritonGENToSPIRVPasses();
111+
mlir::LLVM::registerInlinerInterface(registry);
112+
mlir::NVVM::registerInlinerInterface(registry);
110113

111114
// TritonAMDGPUToLLVM passes
112115
mlir::triton::registerAllocateAMDGPUSharedMemory();

docs/getting-started/installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ You can install the latest stable release of Triton from pip:
1414
1515
pip install triton
1616
17-
Binary wheels are available for CPython 3.9-3.13.
17+
Binary wheels are available for CPython 3.10-3.13.
1818

1919
-----------
2020
From Source

include/triton/Dialect/TritonNvidiaGPU/IR/TritonNvidiaGPUAttrDefs.td

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,16 @@ def TTG_TensorMemoryEncodingAttr : AttrDef<TritonNvidiaGPU_Dialect, "TensorMemor
3636
let attrName = "triton.gpu.tensor_memory_encoding";
3737
let description = [{
3838
An encoding to represent the different way the tensor memory is laid out.
39-
`unpacked` attributes indicates whether types smaller than 32bits are unpacked (take full 32bits)
40-
or are packed (N elements are stored within one 32bits row).
39+
`colStride` describes the stride in elements along the column dimension,
40+
that is, the stride between two elements in the same row.
41+
When colStride is 1 the tensor memory is packed. When colStride > 1, the
42+
tensor memory between elements is undefined.
4143
}];
4244
let parameters = (
4345
ins
4446
"unsigned":$blockM,
4547
"unsigned":$blockN,
46-
"bool":$unpacked,
48+
"unsigned":$colStride,
4749
DefaultValuedParameter<"unsigned", "1">:$CTASplitM,
4850
DefaultValuedParameter<"unsigned", "1">:$CTASplitN
4951
);

0 commit comments

Comments
 (0)