Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion python/setup_tools/utils/ascend.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
downloader = DownloadManager()

submodules = (Module(name="ascendnpu-ir", url="https://gitcode.com/Ascend/AscendNPU-IR.git",
commit_id="04045a06ec7c9592b17de659307d5debe7be590a",
commit_id="0501294d3e",
dst_path=os.path.join(flagtree_configs.flagtree_submodule_dir, "ascendnpu-ir")), )


Expand Down
2 changes: 1 addition & 1 deletion python/triton/compiler/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ def compile(src, target=None, options=None):
except Exception as e:
# flagtree backend specialization
from triton.runtime.driver import spec
spec("handle_compile_error", e, ext)
spec("handle_compile_error", e, ext, fn_cache_manager)

ir_filename = f"{file_name}.{ext}"
if (fn_override_manager is not None and (full_name := fn_override_manager.get_file(ir_filename)) is not None):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def set_CompiledKernel_metadata_stream(compiled_kernel, stream):
return compiled_kernel.metadata.stream


def handle_compile_error(e, ext):
def handle_compile_error(e, ext, fn_cache_manager):
from .errors import MLIRCompilationError
if (ext == "ttadapter"):
stage_name = "ConvertTritonIRToLinalgIR"
Expand Down
4 changes: 2 additions & 2 deletions third_party/ascend/triton_ascend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
#include "incubated/Conversion/TritonToLinalgIncubated/TritonToLinalgIncubatedPass.h"
#include "incubated/Conversion/TritonToUnstructureIncubated/UnstructureConversionPass.h"
#include "mlir/Pass/PassManager.h"
#include "npu/Conversion/TritonToHFusion/TritonToHFusion.h"
#include "npu/Conversion/TritonToHIVM/TritonToHIVM.h"
#include "npu/Conversion/TritonToHFusion/Passes.h"
#include "npu/Conversion/TritonToHIVM/Passes.h"
#include "npu/Conversion/TritonToLLVM/TritonToLLVM.h"
#include "passes.h"
#include "triton-shared/Conversion/TritonToLinalgExperimental/TritonToLinalgExperimental.h"
Expand Down
Loading