Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for compilation_status (0.28 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/runtime_passes.td

        ```mlir
        func @tf_tpu_rewrite(%arg0: tensor<i8>) {
          %0:2 = "tf_device.launch"() ( {
            %compilation_status, %program = "tf._TPUCompileMlir"() {mlir_module = "<serialized func>"} : () -> (tensor<!tf_type.string>, tensor<3x!tf_type.string>)
            tf_device.return %compilation_status, %program : tensor<!tf_type.string>, tensor<3x!tf_type.string>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 10 18:58:57 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/sparsecore_passes.td

         tf_device.return
       }) {device = "/job:localhost/replica:0/task:0/device:CPU:0"} : () -> ()
       %0:2 = "tf_device.launch"() ({
         %compilation_status, %program = "tf._TPUCompileMlir"() { metadata = "...", mlir_module = "..." } : () -> (tensor<!tf_type.string>, tensor<3x!tf_type.string>)
         tf_device.return %compilation_status, %program : tensor<!tf_type.string>, tensor<3x!tf_type.string>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 23:42:09 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/tf_xla_mlir_translate.cc

                                    /*shape_determination_fns=*/{},
                                    &compilation_result, custom_legalization_passes)
                    .status();
      if (!compilation_status.ok()) {
        LOG(ERROR) << "TF/XLA compilation failed: " << compilation_status;
        return mlir::failure();
      }
    
      return PrintHloModuleText(compilation_result, output);
    }
    
    static mlir::LogicalResult MlirTfGraphToHloTextTranslateFunction(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/device_compiler.h

        cache_value.compilation_status = compiler.CompileSingleOp(
            compile_options, ctx, args, out_compilation_result.get());
      } else {
        CHECK(scope == CompileScope::kFunction);  // Crash OK
        cache_value.compilation_status = compiler.Compile(
            compile_options, function, args, out_compilation_result.get());
      }
      TF_RETURN_IF_ERROR(cache_value.compilation_status);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/tests/runtime_lowering_tpu.mlir

      // CHECK-LABEL: @converts_cluster
      func.func @converts_cluster() {
        // CHECK: %0:2 = "tf_device.launch"() <{{.*}}> ({
        // CHECK: %compilation_status, %program = "tf._TPUCompileMlir"()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/lower_cluster_to_runtime_ops_test.cc

    TEST_F(LowerClusterToRuntimeOpsTest, ErrorsWithBadCluster) {
      CellReader<int64_t> compilation_status(kCompilationStreamz);
    
      TF_ASSERT_OK(CreateMlirModule("malformed_cluster.mlir"));
    
      EXPECT_FALSE(RunLowerClusterToRuntimeOpsPassPipeline(
                       *mlir_module_, DeviceType(DEVICE_TPU_XLA_JIT))
                       .ok());
    
      EXPECT_EQ(
          compilation_status.Delta(mlir::TF::kMlirPh1BridgeCounterReplicated,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:44:37 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/g3doc/_includes/tf_passes.md

      tf_device.return
    }) {device = "/job:localhost/replica:0/task:0/device:CPU:0"} : () -> ()
    %0:2 = "tf_device.launch"() ({
      %compilation_status, %program = "tf._TPUCompileMlir"() { metadata = "...", mlir_module = "..." } : () -> (tensor<!tf_type.string>, tensor<3x!tf_type.string>)
      tf_device.return %compilation_status, %program : tensor<!tf_type.string>, tensor<3x!tf_type.string>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 02 02:26:39 UTC 2023
    - 96.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/device_compiler_test.cc

      EXPECT_TRUE(cache_value->compile_state == DeviceCompileState::kCompiled);
      EXPECT_TRUE(cache_value->compilation_result != nullptr);
      EXPECT_TRUE(cache_value->executable != nullptr);
      EXPECT_TRUE(cache_value->compilation_status.ok());
    }
    
    TEST_F(DeviceCompilerTest, CompilePersistentCacheEnabled) {
      auto xla_device_compiler =
          CreateXlaDeviceCompiler(/*enable_persistence=*/true);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_rewrite_pass.cc

      } else {
        metadata.SerializeToString(&txt_metadata);
      }
    
      auto compile_op = builder->create<TF::_TPUCompileMlirOp>(
          cluster_func.getLoc(),
          /*compilation_status=*/compilation_status_type, /*program=*/
          llvm::SmallVector<Type, 8>(num_cores_per_replica, program_type),
          compile_op_operands, txt_module, txt_metadata);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

      let description = [{
    This op produces no output and closes the device during failure to ensure all
    pending device interactions fail.
    
    'compilation_status' is a serialized CompilationResultProto.
      }];
    
      let arguments = (ins
        TF_StrTensor:$compilation_status
      );
    
      let results = (outs);
    }
    
    def TF_TPUCopyWithLayoutOp : TF_Op<"TPUCopyWithLayout", [Pure]> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
Back to top