Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for compilation_status (0.29 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/embedding_program_key.mlir

      // CHECK: TPUCompileMlir
      // CHECK: "tf.OpA"(%[[COMPILE_LAUNCH]]#1
      %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: Tue Oct 10 14:28:22 UTC 2023
    - 16.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf_test.cc

      EXPECT_EQ(compilation_status.Delta(kMlirCombinedOldSuccess), 1);
      EXPECT_EQ(compilation_status.Delta(kMlirCombinedOldFailure), 0);
      // Old bridge should never be called at all.
      EXPECT_EQ(compilation_status.Delta(kOldBridgeMlirFilteredFailure), 0);
      EXPECT_EQ(compilation_status.Delta(kOldBridgeWithFallbackModeFailure), 0);
      EXPECT_EQ(compilation_status.Delta(kOldBridgeMlirFilteredSuccess), 0);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 23:59:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/tests/fuse_tpu_compile_and_execute_ops.mlir

      %2 = "tf.Shape"(%0) {device = "/CPU:0"} : (tensor<*xi32>) -> tensor<?xi64>
      %compilation_status, %program = "tf._TPUCompileMlir"(%1, %2) {device = "/CPU:0", metadata = "metadata", mlir_module = "mlir_module"} : (tensor<?xi64>, tensor<?xi64>) -> (tensor<!tf_type.string>, tensor<3x!tf_type.string>)
      "tf.TPUCompileSucceededAssert"(%compilation_status) {device = "/CPU:0"} : (tensor<!tf_type.string>) -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph_test.cc

        absl::Status compilation_status =
            tensorflow::tf2xla::v1::CompileTensorflowGraphToHlo(
                computation, metadata_proto, use_tuple_args,
                shape_determination_fns, arg_shapes, &arg_core_mapping,
                &per_core_arg_shapes, client, &compilation_result);
    
        if (!compilation_status.ok()) return compilation_status;
    
        return compilation_result;
      }
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:08:57 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  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)
Back to top