Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for num_virtual_gpus (0.2 sec)

  1. tensorflow/c/eager/c_api_test_util.cc

      if ((tensorflow::IsGoogleCudaEnabled() || tensorflow::IsBuiltWithROCm()) &&
          num_virtual_gpus > 0) {
        tensorflow::GPUOptions* gpu_options =
            server_def.mutable_default_session_config()->mutable_gpu_options();
        auto virtual_devices =
            gpu_options->mutable_experimental()->add_virtual_devices();
        for (int i = 0; i < num_virtual_gpus; ++i) {
          virtual_devices->add_memory_limit_mb(200);
        }
      }
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Feb 21 22:37:46 UTC 2024
    - 23.5K bytes
    - Viewed (0)
Back to top