Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. tensorflow/compiler/jit/device_compilation_cache.h

      }
    
      {
        mutex_lock lock(entry->mu);
        if (compile_state.has_value()) {
          entry->compile_state = *compile_state;
        }
        if (compilation_status.has_value()) {
          entry->compilation_status = *compilation_status;
        }
        if (compilation_result.has_value()) {
          entry->compilation_result = std::move(*compilation_result);
        }
        if (executable.has_value()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 12 08:49:52 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/api/v2/tf_dialect_to_executor_test.cc

      CellReader<int64_t> compilation_status(kExportStreamzName);
    
      TF_ASSERT_OK(CreateMlirModule("invalid_executor.mlir"));
    
      EXPECT_FALSE(ExportFromTensorflowDialectToExecutor(*mlir_module_).ok());
    
      EXPECT_EQ(compilation_status.Delta(kExportSuccess), 0);
      EXPECT_EQ(compilation_status.Delta(kExportFailed), 1);
    }
    
    TEST_F(TensorflowDialectToExecutorTest, PrunesDeadOps) {
      CellReader<int64_t> compilation_status(kExportStreamzName);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 13 23:22:50 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/device_compilation_cache_test.cc

      EXPECT_EQ(cache_value_1->compilation_status.code(), error::INVALID_ARGUMENT);
      EXPECT_TRUE(cache_value_1->compilation_result != nullptr);
      EXPECT_TRUE(cache_value_1->executable != nullptr);
      EXPECT_EQ(cache_value_1->executable->data, "foo_exe");
    
      EXPECT_EQ(cache_value_2->compile_state, DeviceCompileState::kCompiling);
      EXPECT_TRUE(cache_value_2->compilation_status.ok());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/api/v2/cluster_tf_test.cc

      CellReader<int64_t> compilation_status(kCompilationStreamz);
    
      TF_ASSERT_OK(CreateMlirModule("empty_func.mlir"));
    
      TF_EXPECT_OK(RunFunctionTf2xlaClusteringBridge(
          *mlir_module_, /*is_supported_by_replicated_brige*/ true,
          /*is_in_fallback_enabled_mode=*/true));
    
      EXPECT_EQ(compilation_status.Delta(mlir::TF::kMlirPh1BridgeCounterReplicated,
                                         mlir::TF::kMlirPh1BridgeCounterV2,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:44:37 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/api/v1/cluster_tf_test.cc

    };
    
    TEST_F(SessionClusterTensorflowDialectTest, ClustersTf) {
      CellReader<int64_t> compilation_status(kCompilationStreamz);
    
      TF_ASSERT_OK(CreateMlirModule("empty_func.mlir"));
    
      TF_EXPECT_OK(
          RunSessionTf2xlaClusteringBridge(*mlir_module_,
                                           /*is_in_fallback_enabled_mode=*/false));
      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
    - 4.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/api/v1/tf_dialect_to_executor_test.cc

      CellReader<int64_t> compilation_status(kCompilationStreamz);
    
      TF_ASSERT_OK(CreateMlirModule("empty_func.mlir"));
    
      TF_EXPECT_OK(ExportFromTensorflowDialectToExecutor(*mlir_module_));
    
      EXPECT_EQ(compilation_status.Delta("success"), 1);
    }
    
    TEST_F(TensorflowDialectToExecutorTest, ErrorsWhenCannotConvert) {
      CellReader<int64_t> compilation_status(kCompilationStreamz);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:08:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
Back to top