Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,177 for kDevice (0.12 sec)

  1. pkg/volume/util/volumepathhandler/volume_path_handler_linux.go

    	if err != nil {
    		if _, err := os.Stat(device); os.IsNotExist(err) {
    			return nil
    		}
    		klog.V(2).Infof("Failed to remove loopback device: %s: %v %s", device, err, out)
    		return fmt.Errorf("losetup -d %s failed: %v", device, err)
    	}
    	return nil
    }
    
    // getLoopDeviceFromSysfs finds the backing file for a loop
    // device from sysfs via "/sys/block/loop*/loop/backing_file".
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/launch_outlining.mlir

          // CHECK: %[[LAUNCH_OUTPUT:[0-9]*]] = "tf_device.launch_func"(%[[A_OUTPUT]]) <{device = "/device:test_device:0", func = @[[LAUNCH:.*]]}>
          %3 = "tf_device.launch"() ({
            %4 = "tf.B"(%2) : (tensor<?xi32>) -> tensor<?xi32>
            tf_device.return %4 : tensor<?xi32>
          }) {device = "/device:test_device:0"} : () -> tensor<?xi32>
    
          // CHECK: tf_executor.yield %[[LAUNCH_OUTPUT]]
          tf_executor.yield %3 : tensor<?xi32>
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/resource_device_inference.cc

    #define DEBUG_TYPE "tf-resource-device-inference"
    
    namespace mlir {
    namespace TF {
    
    namespace {
    constexpr char kDeviceAttr[] = "device";
    constexpr char kFuncDeviceAttr[] = "tf.device";
    
    #define GEN_PASS_DEF_RESOURCEDEVICEINFERENCEPASS
    #include "tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.h.inc"
    
    // A pass that propagates device assignment of resources on a module. It
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 03:47:00 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/stream_executor/stream_executor.h

    //     OnTFDeviceView(params->device->struct_size);
    //     params->device = { SP_DEVICE_STRUCT_SIZE };
    //     params->device->device_handle = get_my_device_handle(device->ordinal);
    //     params->device->ordinal = params->ordinal;
    //     ...
    //   }
    //
    //   void destroy_device(const SP_Platform* platform, SP_Device* device) {
    //     delete_my_device_handle(device->device_handle);
    //   }
    //
    //   void SE_InitPlugin(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 24 08:40:35 UTC 2022
    - 21.6K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/util/cdi/cdi.go

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

    namespace mlir {
    namespace TF {
    
    namespace {
    
    const char kDeviceAttr[] = "device";
    const char kDeviceGpu[] = "GPU";
    
    std::optional<std::string> GetOpDevice(mlir::Operation *op) {
      mlir::StringAttr device = op->getAttrOfType<mlir::StringAttr>(kDeviceAttr);
      if (!device || device.getValue().empty()) {
        return std::nullopt;
      }
      tensorflow::DeviceNameUtils::ParsedName parsed_name;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/pjrt_base_device.cc

            "Cannot get device metadata from non-PJRT device \"", device->name(),
            "\". GetMetadata must only be called on a device derived from "
            "PjRtBaseDevice. Either an internal bug has been triggered, or an "
            "XLA-specific op has been placed on the wrong device.");
      }
      return &pjrt_device->metadata_;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfrt/tests/analysis/cost_analysis.mlir

        // expected-remark@+1 {{Cost: 2}}
        %29 = "tf.Cast"(%dense_values#1) {Truncate = false, device = "/job:localhost/replica:0/task:0/device:CPU:0"} : (tensor<?xi64>) -> tensor<?xf32>
        // expected-remark@+1 {{Cost: 2}}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 14 15:35:49 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/tests/keras_imagenet_main_graph_mode.pbtxt

    node {
      name: "G4SM2HGMB5"
      op: "VarHandleOp"
      device: "/job:localhost/replica:0/task:0/device:GPU:0"
      attr {
        key: "_class"
        value {
          list {
            s: "loc:@G4SM2HGMB5/Read/ReadVariableOp"
          }
        }
      }
      attr {
        key: "container"
        value {
          s: ""
        }
      }
      attr {
        key: "dtype"
        value {
          type: DT_FLOAT
        }
      }
      attr {
        key: "shape"
        value {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 30 02:52:54 UTC 2019
    - 1.1M bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/cluster_formation.mlir

        // CHECK-SAME: <{device = "tpu0"}>
        // CHECK: %[[B_OUTPUT:[0-9]*]] = "tf.B"(%[[A_OUTPUT]]) : (tensor<?xi32>) -> tensor<?xi32>
        %3 = "tf.B"(%2) {device = "tpu0"} : (tensor<?xi32>) -> tensor<?xi32>
    
        // CHECK: %[[C_OUTPUT:[0-9]*]] = "tf.C"(%[[A_OUTPUT]], %[[B_OUTPUT]]) : (tensor<?xi32>, tensor<?xi32>) -> tensor<?xi32>
        %4 = "tf.C"(%2, %3) {device = "tpu0"} : (tensor<?xi32>, tensor<?xi32>) -> tensor<?xi32>
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 14.9K bytes
    - Viewed (0)
Back to top