-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into cancel-ondemand-slurm-on-error
- Loading branch information
Showing
10 changed files
with
119 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
.github/container/patches/openxla-triton/0_cl602723852.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Remove once b/322980485 is fixed. | ||
diff --git a/python/triton/backends/__init__.py b/python/triton/backends/__init__.py | ||
--- a/python/triton/backends/__init__.py | ||
+++ b/python/triton/backends/__init__.py | ||
@@ -46,5 +46,8 @@ def _discover_backends(): | ||
_find_concrete_subclasses(driver, DriverBase)) | ||
return backends | ||
|
||
- | ||
-backends = _discover_backends() | ||
+from triton.backends.nvidia.driver import CudaDriver | ||
+from triton.backends.nvidia.compiler import CUDABackend | ||
+backends = { | ||
+ "nvidia": Backend(CUDABackend, CudaDriver) | ||
+} |
14 changes: 14 additions & 0 deletions
14
.github/container/patches/openxla-triton/1_cl602997103.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
==== triton/python/src/ir.cc#3 - /google/src/cloud/joelwee/mlir_da784a25557e29996bd33638d51d569ddf989faf_1706700588/triton/python/src/ir.cc ==== | ||
# action=edit type=text | ||
--- triton/python/src/ir.cc 2024-01-30 04:43:56.000000000 -0800 | ||
+++ triton/python/src/ir.cc 2024-01-31 04:40:21.000000000 -0800 | ||
@@ -271,7 +271,8 @@ | ||
}) | ||
.def("get_num_arguments", &mlir::Block::getNumArguments) | ||
.def("dump", &mlir::Block::dump) | ||
- .def("move_before", &mlir::Block::moveBefore) | ||
+ .def("move_before", | ||
+ [](mlir::Block &self, mlir::Block *tgt) { self.moveBefore(tgt); }) | ||
.def("insert_before", &mlir::Block::insertBefore) | ||
.def("get_parent", &mlir::Block::getParent, ret::reference) | ||
.def("merge_block_before", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters