Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 376 for r2devices (0.12 sec)

  1. tensorflow/compiler/jit/flags.cc

                "operate on resources that live on composite devices."),
           Flag("tf_mlir_enable_strict_clusters", &enable_mlir_strict_clusters,
                "Do not allow clusters that have cyclic control dependencies."),
           Flag("tf_mlir_enable_multiple_local_cpu_devices",
                &enable_mlir_multiple_local_cpu_devices,
                "Enable multiple local CPU devices. CPU ops which are outside "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/compile_mlir_util/result-sharding.mlir

    // CHECK-SAME:  (arg_tuple.{{[0-9]+}}: (f32[128,10], f32[10,1024], f32[128,1024])) -> (f32[128,10], f32[10,1024], f32[128,1024]) {
    // CHECK:         ROOT %tuple.{{[0-9]+}}
    // CHECK-SAME:    sharding={
    // CHECK-SAME:    {devices=[1,2]0,1}
    // CHECK-SAME:    {maximal device=0}
    // CHECK-SAME:    {replicated}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 23 18:56:13 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/device-arg-retval-attr.pbtxt

    # RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-graph-as-function -o - | FileCheck %s
    
    # Verify arg and ret devices are added as arg and ret attributes.
    
    # CHECK-LABEL: func @main
    # CHECK-SAME:  (%[[ARG_0:[a-z0-9]+]]: tensor<*xf32> {tf.device = "/CPU:0"}, %[[ARG_1:[a-z0-9]+]]: tensor<2x4x6x8xi32>) -> (tensor<*xf32>, tensor<*xi32> {tf.device = "/CPU:1"})
    
    node {
      name: "args_0"
      op: "_Arg"
      device: "/CPU:0"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Dec 07 17:45:22 UTC 2020
    - 1.6K bytes
    - Viewed (0)
  4. src/os/exec/exec_linux_test.go

    // license that can be found in the LICENSE file.
    
    //go:build linux && cgo
    
    // On systems that use glibc, calling malloc can create a new arena,
    // and creating a new arena can read /sys/devices/system/cpu/online.
    // If we are using cgo, we will call malloc when creating a new thread.
    // That can break TestExtraFiles if we create a new thread that creates
    // a new arena and opens the /sys file while we are checking for open
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 26 14:49:07 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/increase_dynamism_for_auto_jit_pass_test.cc

                                      std::unique_ptr<Graph>* result) {
      std::vector<std::unique_ptr<Device>> devices;
      devices.push_back(FakeDevice::Make(kDeviceName, DEVICE_GPU));
      devices.push_back(FakeDevice::Make(kHostName, DEVICE_CPU));
    
      std::unique_ptr<DeviceSet> device_set(new DeviceSet());
      for (auto& device : devices) {
        device_set->AddDevice(device.get());
      }
    
      auto graph = std::make_unique<Graph>(OpRegistry::Global());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

    }
    
    StringRef BiasAddOp::GetOptimalLayout(const RuntimeDevices& devices) {
      // Keep current data format if no GPUs are available or if explicit placement
      // does not allow to use GPU for this operation.
      if (!CanUseGpuDevice(devices) || !CanUseGpuDevice(getOperation()))
        return getDataFormat();
    
      // Prefer NHWC for GPU devices.
      return "NHWC";
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/dev_freebsd.go

    // The information below is extracted and adapted from sys/types.h:
    //
    // Minor gives a cookie instead of an index since in order to avoid changing the
    // meanings of bits 0-15 or wasting time and space shifting bits 16-31 for
    // devices that don't use them.
    
    package unix
    
    // Major returns the major component of a FreeBSD device number.
    func Major(dev uint64) uint32 {
    	return uint32((dev >> 8) & 0xff)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 23 19:01:58 UTC 2018
    - 1013 bytes
    - Viewed (0)
  8. pkg/kubelet/cm/dra/state/state_checkpoint.go

    	PodUIDs sets.Set[string]
    
    	// ResourceHandles is a list of opaque resource data for processing by a specific kubelet plugin
    	ResourceHandles []resourcev1alpha2.ResourceHandle
    
    	// CDIDevices is a map of DriverName --> CDI devices returned by the
    	// GRPC API call NodePrepareResource
    	CDIDevices map[string][]string
    }
    
    // ClaimInfoStateWithoutResourceHandles is an old implementation of the ClaimInfoState
    // TODO: remove in Beta
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:23:27 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/xla_device_context.h

      bool ClearStats() override;
    
     private:
      // The stream executor of the device.
      se::StreamExecutor* stream_executor_;
    };
    
    // Helper class for managing data transfers between host and XLA devices.
    class XlaDeviceContext : public DeviceContext {
     public:
      explicit XlaDeviceContext(
          std::shared_ptr<se::Stream> compute_stream,
          std::shared_ptr<se::Stream> host_to_device_stream,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.h

    // "replicate_on_last_tile_dim" and "last_tile_dims" should be deducted from the
    // real Tensor dimensions when tiled.
    // For example:
    // f32[8,512](sharding={devices=[1,1,2]0,1 last_tile_dims={REPLICATED})
    // also means a replicated tensor over all devices.
    //
    // See xla_data.proto for detailed explanations on the fields.
    int GetDimsFromXLAShardingTiled(const xla::OpSharding& xla_sharding);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 22:18:34 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top