Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for Corkery (0.2 sec)

  1. tensorflow/c/eager/immediate_execution_distributed_manager.h

                                          int64_t init_timeout_in_ms, int retries,
                                          bool clear_existing_contexts = false) = 0;
    
      // Initializes context for the local worker and no contexts will be created
      // for remote workers. Currently this only works for resetting context.
      // TODO(b/289445025): Consider removing this when we find a proper fix.
      virtual Status InitializeLocalOnlyContext(const ServerDef& server_def,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  2. tensorflow/c/eager/parallel_device/parallel_device_remote_test.cc

      BasicTestsForTwoDevices(context.get(),
                              "/job:worker/replica:0/task:1/device:CPU:0",
                              "/job:worker/replica:0/task:2/device:CPU:0");
    
      worker_server1.release();
      worker_server2.release();
    }
    
    TEST(PARALLEL_DEVICE, TestAsyncCopyOff) {
      std::unique_ptr<TFE_ContextOptions, decltype(&TFE_DeleteContextOptions)> opts(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 22:09:57 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api.h

    TF_CAPI_EXPORT extern TFE_ContextDevicePlacementPolicy
    TFE_ContextGetDevicePlacementPolicy(TFE_Context* ctx);
    
    // A tensorflow.ServerDef specifies remote workers (in addition to the current
    // workers name). Operations created in this context can then be executed on
    // any of these remote workers by setting an appropriate device.
    //
    // If the following is set, all servers identified by the
    // ServerDef must be up when the context is created.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  4. tensorflow/c/eager/c_api_test.cc

      //  Worker0:
      //  cluster { job { name: "client" tasks { key: 0 value: "localhost:14526" } }
      //            job { name: "worker" tasks { key: 0 value: "localhost:14522" } }
      //          } job_name: "worker" protocol: "grpc"
      //
    
      // Create `worker_1` using single host server def `worker_1_server_def`.
      tensorflow::ServerDef worker_1_server_def =
          CreateSingleHostServerDef(cluster_server_def, 1);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  5. tensorflow/c/eager/c_api_experimental_test.cc

      int port = tensorflow::testing::PickUnusedPortOrDie();
      // 3. Replace worker1 with a new worker in server_def_0 and server_def_1.
      ReplaceTaskInServerDef(&server_def_0, /*task_index=*/1, "localhost", port);
      ReplaceTaskInServerDef(&server_def_1, /*task_index=*/1, "localhost", port);
      // 4. Start a new task to replace worker1.
      server_def_0.set_task_index(1);
      worker_server1.release();
      ASSERT_TRUE(tensorflow::GrpcServer::Create(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
  6. tensorflow/c/c_api_test.cc

      }
    
      TF_DeleteTensor(t);
    }
    
    }  // namespace
    }  // namespace tensorflow
    
    // TODO(josh11b): Test:
    // * TF_SetDevice(desc, "/job:worker");
    // * control inputs / outputs
    // * targets
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  7. tensorflow/c/eager/c_api_cluster_test.cc

      server_def.set_task_index(1);
    
      std::unique_ptr<tensorflow::GrpcServer> worker_server;
      ASSERT_TRUE(tensorflow::GrpcServer::Create(
                      server_def, tensorflow::Env::Default(), &worker_server)
                      .ok());
      ASSERT_TRUE(worker_server->Start().ok());
    
      TF_Status* status = TF_NewStatus();
      TFE_ContextOptions* opts = TFE_NewContextOptions();
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Apr 14 10:03:59 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_remote_test.cc

      string serialized = server_def.SerializeAsString();
    
      server_def.set_task_index(1);
    
      std::unique_ptr<tensorflow::GrpcServer> worker_server;
      ASSERT_TRUE(tensorflow::GrpcServer::Create(
                      server_def, tensorflow::Env::Default(), &worker_server)
                      .ok());
      ASSERT_TRUE(worker_server->Start().ok());
    
      TF_Status* status = TF_NewStatus();
      TFE_ContextOptions* opts = TFE_NewContextOptions();
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 12 00:14:22 GMT 2020
    - 5.4K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_experimental.h

    // EagerService to maintain consistency between client and worker. The
    // context_id is initialized with a dummy value and is later set when the worker
    // is initialized (either locally or remotely). The context_id can change during
    // the process lifetime although this should cause the worker to be
    // reinitialized (e.g. cleared caches) as well.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  10. tensorflow/c/c_api_experimental.h

    TF_CAPI_EXPORT extern void TFE_AbortCollectiveOps(TFE_Context* ctx,
                                                      TF_Status* status);
    
    // Checks the health of collective ops peers. Explicit health check is needed in
    // multi worker collective ops to detect failures in the cluster.  If a peer is
    // down, collective ops may hang.
    TF_CAPI_EXPORT extern void TFE_CollectiveOpsCheckPeerHealth(
        TFE_Context* ctx, const char* task, int64_t timeout_in_ms,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 15.1K bytes
    - Viewed (0)
Back to top