Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for pjrt_device_metadata_ (0.25 sec)

  1. tensorflow/compiler/jit/xla_platform_info.h

          const XlaDevice::Metadata* xla_device_metadata,
          const PjRtBaseDevice::Metadata* pjrt_device_metadata,
          std::shared_ptr<se::DeviceMemoryAllocator> device_allocator)
          : device_type_(device_type),
            platform_id_(platform_id),
            xla_device_metadata_(xla_device_metadata),
            pjrt_device_metadata_(pjrt_device_metadata),
            device_allocator_(device_allocator) {}
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. tensorflow/compiler/jit/xla_compiler_options_util.cc

        options.device_type = metadata->jit_device_type();
        options.shape_determination_fns =
            metadata->default_shape_determination_fns();
      } else if (const auto* metadata = platform_info.pjrt_device_metadata();
                 metadata != nullptr) {
        options.device_type = metadata->jit_device_type();
        options.shape_determination_fns =
            metadata->default_shape_determination_fns();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. 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