zml/module.zig: Remove unnecessary optional unwrapping.
This commit is contained in:
parent
37725cdaa6
commit
6a4a7fb9a1
@ -235,7 +235,7 @@ pub const CompilationContext = struct {
|
||||
}
|
||||
}
|
||||
|
||||
const loaded_executable = compileModuleToPjrtExecutable(arena, self._platform, module, module_dir.?) catch |err| {
|
||||
const loaded_executable = compileModuleToPjrtExecutable(arena, self._platform, module, module_dir) catch |err| {
|
||||
log.err(
|
||||
"pjrt-{s} failed to compile following valid MLIR:\n{}\n{}",
|
||||
.{ @tagName(self._platform.target), module.op().mlirFormatter(.{}), err },
|
||||
|
||||
Loading…
Reference in New Issue
Block a user