Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 192 for worker2 (0.08 sec)

  1. tensorflow/c/eager/parallel_device/parallel_device_remote_test.cc

          TF_NewStatus(), TF_DeleteStatus);
      std::unique_ptr<TFE_Context, decltype(&TFE_DeleteContext)> context(
          TFE_NewContext(opts.get(), status.get()), TFE_DeleteContext);
      tensorflow::ServerDef server_def = GetServerDef("worker", 3);
    
      // This server def has the task index set to 0.
      std::string serialized = server_def.SerializeAsString();
    
      server_def.set_task_index(1);
      std::unique_ptr<tensorflow::GrpcServer> worker_server1;
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Jul 10 07:18:05 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. 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.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 22.8K bytes
    - Viewed (0)
  3. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/PublicApi.kt

            "org/gradle/swiftpm/**",
            "org/gradle/model/**",
            "org/gradle/testkit/**",
            "org/gradle/testing/**",
            "org/gradle/vcs/**",
            "org/gradle/work/**",
            "org/gradle/workers/**",
            "org/gradle/util/**", // contains Path that clashes with `org.gradle.api.model.Path` imported above. This line should not appear before "org/gradle/api/**"
        )
    
        val excludes = listOf("**/internal/**")
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jun 12 23:20:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. 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.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 21 04:14:14 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  5. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportAggregationWorkAction.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.incubation.action
    
    import org.gradle.workers.WorkAction
    
    
    abstract class IncubatingApiReportAggregationWorkAction : WorkAction<IncubatingApiReportAggregationParameter> {
        override fun execute() {
            val byCategory = mutableMapOf<String, ReportNameToProblems>()
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Jan 18 06:55:55 UTC 2021
    - 3.4K bytes
    - Viewed (0)
  6. docs/zh/docs/deployment/manually.md

    <div class="termy">
    
    ```console
    $ pip install "hypercorn[trio]"
    ---> 100%
    ```
    
    </div>
    
    ### Run with Trio
    
    然后你可以传递值`trio`给命令行选项`--worker-class`:
    
    <div class="termy">
    
    ```console
    $ hypercorn main:app --worker-class trio
    ```
    
    </div>
    
    这将通过您的应用程序启动 Hypercorn,并使用 Trio 作为后端。
    
    现在您可以在应用程序内部使用 Trio。 或者更好的是,您可以使用 AnyIO,使您的代码与 Trio 和 asyncio 兼容。 🎉
    
    ## 部署概念
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/common/extensions.kt

        listOf(
            // We pass the 'maxParallelForks' setting as 'workers.max' to limit the maximum number of executers even
            // if multiple test tasks run in parallel. We also pass it to the Gradle build as a maximum (maxParallelForks)
            // for each test task, such that we are independent of whatever default value is defined in the build itself.
            "-Dorg.gradle.workers.max=$maxParallelForks",
            "-PmaxParallelForks=$maxParallelForks",
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 10 03:25:26 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  8. .teamcity/src/test/kotlin/ApplyDefaultConfigurationTest.kt

            val expectedInstallationPaths = if (os == Os.WINDOWS) windowsPaths else linuxPaths
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 24 06:22:49 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/JapicmpTask.java

    import org.gradle.api.tasks.Nested;
    import org.gradle.api.tasks.Optional;
    import org.gradle.api.tasks.OutputFile;
    import org.gradle.api.tasks.TaskAction;
    import org.gradle.util.GradleVersion;
    import org.gradle.workers.WorkQueue;
    import org.gradle.workers.WorkerExecutor;
    
    import javax.inject.Inject;
    import java.io.File;
    import java.net.URISyntaxException;
    import java.security.CodeSource;
    import java.security.ProtectionDomain;
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Apr 26 10:58:32 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  10. docs/en/docs/img/deployment/concepts/process-ram.drawio

                        <mxGeometry relative="1" as="geometry"/>
                    </mxCell>
                    <mxCell id="12" value="&lt;font face=&quot;roboto&quot;&gt;&lt;span style=&quot;font-size: 24px&quot;&gt;Worker Process&lt;/span&gt;&lt;/font&gt;" style="shape=hexagon;perimeter=hexagonPerimeter2;whiteSpace=wrap;html=1;fixedSize=1;strokeWidth=3;fillColor=#fff2cc;strokeColor=#d6b656;" parent="1" vertex="1">
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu May 12 00:06:16 UTC 2022
    - 10K bytes
    - Viewed (0)
Back to top