Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 3,466 for Devices (0.16 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/replica_id_to_device_ordinal.cc

        return signalPassFailure();
      }
    
      // Get the number of devices per host.
      int device_num = 0;
      mlir::TF::RuntimeDevices devices;
      if (failed(tensorflow::GetDevicesFromOp(
              getOperation()->getParentOfType<ModuleOp>(), &devices)))
        return signalPassFailure();
      for (const auto& device_name : devices.device_names()) {
        if (device_name.has_type && device_name.type == "TPU") ++device_num;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Ascii.java

       *
       * @since 8.0
       */
      public static final byte DLE = 16;
    
      /**
       * Device Control 1. Characters for the control of ancillary devices associated with data
       * processing or telecommunication systems, more especially switching devices "on" or "off." (If a
       * single "stop" control is required to interrupt or turn off ancillary devices, DC4 is the
       * preferred assignment.)
       *
       * @since 8.0
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jul 19 15:43:07 UTC 2021
    - 21.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/device_context_test.cc

        SessionOptions options;
        std::vector<std::unique_ptr<Device>> devices;
        Status s = device_factory->CreateDevices(
            options, "/job:worker/replica:0/task:0", &devices);
        device_ = std::move(devices[0]);
    
        tensorflow::AllocatorAttributes host_alloc_attr;
        host_alloc_attr.set_on_host(true);
        host_allocator_ = device_->GetAllocator(host_alloc_attr);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. tensorflow/c/eager/parallel_device/parallel_device_lib.h

      void AsyncWait(TFE_Context* context, TF_Status* status) const;
    
      // Device strings for component devices that only include a
      // worker/task/replica if any of those differ across components. Useful for
      // printing debug messages.
      std::vector<std::string> SummarizeDeviceNames() const;
    
     private:
      // A sequence of device names, indicating which devices replicated operations
      // are forwarded to.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 25 15:21:13 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/tests/ifrt/rewrite_cluster_to_ifrt_call.mlir

    func.func @serving_default(%arg0: tensor<1x3xf32>) -> () {
      %outputs  =  "tf.TPUCompilationResult"() {_tpu_compilation_status = "cluster", device = ""} : () -> tensor<!tf_type.string>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Feb 17 07:28:40 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/util/cdi/cdi.go

    	}
    
    	if err := validateVendorName(vendor); err != nil {
    		return "", "", device, fmt.Errorf("invalid device %q: %v", device, err)
    	}
    	if err := validateClassName(class); err != nil {
    		return "", "", device, fmt.Errorf("invalid device %q: %v", device, err)
    	}
    	if err := validateDeviceName(name); err != nil {
    		return "", "", device, fmt.Errorf("invalid device %q: %v", device, err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 09:48:24 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/tpu_device_propagation.cc

        value_to_device.insert({result, device});
      }
    }
    
    // Checks if an operation can have TPU devices propagated through.
    bool IsSupportedOpToSetDevice(Operation& op) {
      return IsSupportedExecutorOp(op) ||
             isa<TF::IdentityOp, TF::IdentityNOp, TF::ShapeOp>(op);
    }
    
    // Finds nonconflicting TPU device for an operation from its operands. If an
    // operand has no device or a non TPU device, or if there are conflicting
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. pkg/kubelet/apis/podresources/types.go

    	podresourcesapi "k8s.io/kubelet/pkg/apis/podresources/v1"
    )
    
    // DevicesProvider knows how to provide the devices used by the given container
    type DevicesProvider interface {
    	// UpdateAllocatedDevices frees any Devices that are bound to terminated pods.
    	UpdateAllocatedDevices()
    	// GetDevices returns information about the devices assigned to pods and containers
    	GetDevices(podUID, containerName string) []*podresourcesapi.ContainerDevices
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 17:33:04 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. tensorflow/c/eager/parallel_device/parallel_device_lib_test.cc

      ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
    
      std::vector<std::string> devices{
          "/job:localhost/replica:0/task:0/device:CPU:0",
          "/job:localhost/replica:0/task:0/device:CPU:1"};
      ParallelDevice parallel_device(std::move(devices));
      std::unique_ptr<TFE_Op, decltype(&TFE_DeleteOp)> handle_op(
          TFE_NewOp(context.get(), "VarHandleOp", status.get()), TFE_DeleteOp);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 08 23:47:35 UTC 2021
    - 15.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/tpu_rewrite.mlir

    }
    
    // -----
    
    // Tests collecting compilation and execution devices results in an error.
    
    module attributes {tf.versions = {producer = 888 : i32}, tf.devices = ["/job:worker/replica:0/task:0/device:CPU:0", "/job:worker/replica:0/task:0/device:TPU:0"]} {
      func.func @bad_devices() {
        // expected-error@+1 {{error in fetching TPU compilation/execution devices: no TPU_SYSTEM devices found}}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 172.9K bytes
    - Viewed (0)
Back to top