File tree Expand file tree Collapse file tree 4 files changed +18
-1
lines changed Expand file tree Collapse file tree 4 files changed +18
-1
lines changed Original file line number Diff line number Diff line change 39
39
env :
40
40
TMPDIR : ${{ github.workspace }}/tmp
41
41
steps :
42
+ - name : Free Disk Space
43
+ uses : jlumbroso/free-disk-space@main
44
+ with :
45
+ tool-cache : false
46
+ if : ${{ startsWith(matrix.os, 'ubuntu-') }}
47
+ - name : Clean `/opt`
48
+ run : sudo rm -rf /opt/*
42
49
- uses : actions/checkout@v4
43
50
- name : Create TMPDIR
44
51
run : |
Original file line number Diff line number Diff line change 81
81
#include " xla/pjrt/plugin/xla_cpu/xla_cpu_pjrt_client.h"
82
82
83
83
#include " xla/hlo/translate/hlo_to_mhlo/hlo_utils.h"
84
+ #include " xla/hlo/translate/stablehlo.h"
84
85
85
86
// CPU collectives
86
87
#include " xla/backends/cpu/collectives/mpi_collectives.h"
@@ -2941,3 +2942,10 @@ extern "C" void reactantXLAExec(LinkableRuntime **__restrict__ lrtP,
2941
2942
}
2942
2943
}
2943
2944
}
2945
+
2946
+ extern " C" HeldHloModule *convertMlirModuleToHloModule (MlirModule mod) {
2947
+ mlir::ModuleOp cmod_op = cast<ModuleOp>(*unwrap (mod));
2948
+ std::shared_ptr<xla::HloModule> hlo_module =
2949
+ std::move (MyValueOrThrow (xla::ConvertStablehloToHlo (cmod_op)));
2950
+ return reactant::capture (hlo_module);
2951
+ }
Original file line number Diff line number Diff line change @@ -890,6 +890,7 @@ cc_library(
890
890
"-Wl,-exported_symbol,_addSdyPropagationPipeline" ,
891
891
"-Wl,-exported_symbol,_mlirGetFunctionTypeFromOperation" ,
892
892
"-Wl,-exported_symbol,_mlirIsFunctionOpInterface" ,
893
+ "-Wl,-exported_symbol,_convertMlirModuleToHloModule" ,
893
894
],
894
895
}),
895
896
linkstatic = True ,
@@ -960,6 +961,7 @@ cc_library(
960
961
"@xla//xla/pjrt:status_casters" ,
961
962
"@xla//xla/python/ifrt" ,
962
963
"@xla//xla/python/pjrt_ifrt" ,
964
+ "@xla//xla/hlo/translate:stablehlo" ,
963
965
"@xla//xla/python/ifrt_proxy/server:grpc_server" ,
964
966
"@xla//xla/python/ifrt_proxy/client:grpc_client" ,
965
967
"@xla//xla/python/ifrt_proxy/client:registry" ,
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ http_archive(
11
11
urls = ["https://github.com/wsmoses/nsync/archive/{commit}.tar.gz" .format (commit = NSYNC_COMMIT )],
12
12
)
13
13
14
- ENZYMEXLA_COMMIT = "85adc0201b0e605ce1bc89cf235ac0bfc23e77ab "
14
+ ENZYMEXLA_COMMIT = "6774f1afb90c377bbf234a7a7dbfab4f7b726481 "
15
15
16
16
ENZYMEXLA_SHA256 = ""
17
17
You can’t perform that action at this time.
0 commit comments