Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for pjrt_device_metadata_ (0.33 sec)

  1. tensorflow/compiler/jit/xla_compiler_options_util_test.cc

      DeviceType compilation_device_type = DeviceType(DEVICE_CPU_XLA_JIT);
    
      auto pjrt_device_metadata = CreatePjRtDeviceMetadata(compilation_device_type);
      XlaPlatformInfo platform_info(
          compilation_device_type, /*platform_id=*/nullptr,
          /*xla_device_metadata=*/nullptr,
          /*pjrt_device_metadata=*/pjrt_device_metadata.get(),
          /*device_allocator=*/nullptr);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Dec 29 01:41:20 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/xla_platform_info.cc

        return absl::OkStatus();
      }
    
      if (platform_info.pjrt_device_metadata()) {
        VLOG(2) << "Building PjRtDeviceCompiler using "
                   "platform_info.pjrt_device_metadata().";
    
        *compilation_device_type =
            platform_info.pjrt_device_metadata()->jit_device_type();
        TF_ASSIGN_OR_RETURN(*pjrt_client, GetOrCreatePjRtClient(device_type));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 17:23:27 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/xla_platform_info_test.cc

      Device* device = nullptr;
      XlaPlatformInfo platform_info(DeviceType(DEVICE_TPU), /*platform_id=*/nullptr,
                                    /*xla_device_metadata=*/nullptr,
                                    /*pjrt_device_metadata=*/nullptr,
                                    /*device_allocator=*/nullptr);
    
      XlaDeviceCompiler* xla_device_compiler = nullptr;
      TF_EXPECT_OK(BuildXlaDeviceCompiler(device, nullptr, platform_info,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Jan 14 15:17:12 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/get_compiler_ir.cc

        platform_id = se::host::kHostPlatformId;
      }
      XlaPlatformInfo platform_info(DeviceType(platform_name), platform_id,
                                    /*xla_device_metadata=*/nullptr,
                                    /*pjrt_device_metadata=*/nullptr,
                                    /*device_allocator=*/nullptr);
      DeviceType compilation_device_type = platform_info.device_type();
      if (platform_info.device_type() != DEVICE_TPU) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top