Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for worker (0.18 sec)

  1. 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)
  2. tensorflow/c/eager/immediate_execution_distributed_manager.h

                                          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)
  3. tensorflow/c/eager/c_api_distributed_test.cc

      server_def.set_task_index(1);
      std::unique_ptr<tensorflow::GrpcServer> worker_server1;
      ASSERT_TRUE(tensorflow::GrpcServer::Create(
                      server_def, tensorflow::Env::Default(), &worker_server1)
                      .ok());
      ASSERT_TRUE(worker_server1->Start().ok());
    
      server_def.set_task_index(2);
      std::unique_ptr<tensorflow::GrpcServer> worker_server2;
      ASSERT_TRUE(tensorflow::GrpcServer::Create(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  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

      string serialized_server_def_1 = server_def_1.SerializeAsString();
    
      // Create two worker tasks.
      server_def_0.set_task_index(1);
      std::unique_ptr<tensorflow::GrpcServer> worker_server1;
      ASSERT_TRUE(tensorflow::GrpcServer::Create(
                      server_def_0, tensorflow::Env::Default(), &worker_server1)
                      .ok());
      ASSERT_TRUE(worker_server1->Start().ok());
      server_def_0.set_task_index(2);
    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/eager/parallel_device/parallel_device_lib.cc

      };
    
      tensorflow::mutex execution_mutex_;
      ExecutionState execution_state_ TF_GUARDED_BY(execution_mutex_) =
          ExecutionState::kIdle;
      // Tells the worker thread that there is new work.
      tensorflow::condition_variable start_execute_;
      // The worker thread notifies that work has finished.
      tensorflow::condition_variable finished_execute_;
      // Notifies a StartExecute that the previous Join has finished.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
  7. tensorflow/c/eager/parallel_device/parallel_device_lib.h

          TF_Status* status) const;
    
      void AsyncWait(TFE_Context* context, TF_Status* status) const;
    
      // Device strings for component devices that only include a
      // worker/task/replica if any of those differ across components. Useful for
      // printing debug messages.
      std::vector<std::string> SummarizeDeviceNames() const;
    
     private:
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 25 15:21:13 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  8. .github/workflows/arm-ci-extended-cpp.yml

            shell: bash
            run: |
              running_containers=$(docker ps -q) && \
              if [[ $running_containers == "" ]]; then
                echo "No running containers";
              else
                echo "Running container(s) found" && \
                docker stop $running_containers;
              fi
              docker container prune -f
              docker image prune -af
          - name: Clean repository
            shell: bash
    Others
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 07 17:41:21 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  9. ci/official/envs/linux_arm64

    # despite lacking Nvidia CUDA support.
    TFCI_BUILD_PIP_PACKAGE_ARGS="--repo_env=WHEEL_NAME=tensorflow"
    TFCI_DOCKER_ENABLE=1
    TFCI_DOCKER_IMAGE=gcr.io/tensorflow-sigs/build-arm64:tf-2-16-multi-python
    TFCI_DOCKER_PULL_ENABLE=1
    TFCI_DOCKER_REBUILD_ARGS="--target=tf ci/official/containers/linux_arm64"
    TFCI_INDEX_HTML_ENABLE=1
    TFCI_LIB_SUFFIX="-cpu-linux-arm64"
    TFCI_OUTPUT_DIR=build_output
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 23:12:40 GMT 2024
    - 1.5K bytes
    - Viewed (1)
  10. .github/workflows/arm-cd.yml

            shell: bash
            run: |
              running_containers=$(docker ps -q) && \
              if [[ $running_containers == "" ]]; then
                echo "No running containers";
              else
                echo "Running container(s) found" && \
                docker stop $running_containers;
              fi
              docker container prune -f
          - name: Clean repository
            shell: bash
    Others
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 05 10:24:16 GMT 2024
    - 3K bytes
    - Viewed (1)
Back to top