Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,115 for Devices (0.22 sec)

  1. tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc

    }
    
    void ExtractOutsideCompilation::runOnOperation() {
      // Get runtime devices information from the closest parent module.
      auto module = getOperation();
      if (failed(CheckPreconditions(module))) signalPassFailure();
    
      mlir::TF::RuntimeDevices devices;
      if (failed(tensorflow::GetDevicesFromOp(module, &devices)))
        return signalPassFailure();
    
      llvm::SmallVector<mlir::tf_device::ParallelExecuteOp, 4>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 68.3K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_pods.go

    		return m, nil
    	}
    	services, err := kl.serviceLister.List(labels.Everything())
    	if err != nil {
    		return m, fmt.Errorf("failed to list services when setting up env vars")
    	}
    
    	// project the services in namespace ns onto the master services
    	for i := range services {
    		service := services[i]
    		// ignore services where ClusterIP is "None" or empty
    		if !v1helper.IsServiceIPSet(service) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  3. pkg/kubelet/volumemanager/reconciler/reconstruct_test.go

    			rcInstance.populatorHasAddedPods = func() bool {
    				// Mark DSW populated to allow unmounting of volumes.
    				return true
    			}
    			// Mark devices paths as reconciled to allow unmounting of volumes.
    			rcInstance.volumesNeedUpdateFromNodeStatus = nil
    
    			// Act 2 - reconcile once
    			rcInstance.reconcile()
    
    			// Assert 2
    			// MountDevice was attempted
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  4. pkg/volume/portworx/portworx.go

    	// Resize a volume
    	ResizeVolume(spec *volume.Spec, newSize resource.Quantity, host volume.VolumeHost) error
    }
    
    // portworxVolume volumes are portworx block devices
    // that are attached to the kubelet's host machine and exposed to the pod.
    type portworxVolume struct {
    	volName string
    	podUID  types.UID
    	// Unique id of the PD, used to find the disk resource in the provider.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/quantization/tensorflow/fallback_to_flex_ops.cc

      }
    
      void getDependentDialects(DialectRegistry &registry) const override {
        registry.insert<TFL::TensorFlowLiteDialect>();
      }
    
     private:
      // The mode of TF Quantization, might indicate different users/devices.
      Option<std::string> mode_{*this, "mode",
                                llvm::cl::desc("The mode of TF Quantization."),
                                llvm::cl::init("")};
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. pkg/volume/volume.go

    // and pod device map path.
    type BlockVolume interface {
    	// GetGlobalMapPath returns a global map path which contains
    	// bind mount associated to a block device.
    	// ex. plugins/kubernetes.io/{PluginName}/{DefaultKubeletVolumeDevicesDirName}/{volumePluginDependentPath}/{pod uuid}
    	GetGlobalMapPath(spec *Spec) (string, error)
    	// GetPodDeviceMapPath returns a pod device map path
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/fused_kernel_matcher.cc

        return success();
      }
    };
    
    const char kDeviceAttr[] = "device";
    const char kDeviceGpu[] = "GPU";
    
    std::optional<std::string> GetDevice(mlir::Operation *op) {
      mlir::StringAttr device = op->getAttrOfType<mlir::StringAttr>(kDeviceAttr);
      if (!device || device.getValue().empty()) {
        return std::nullopt;
      }
      const std::string device_name = device.str();
      tensorflow::DeviceNameUtils::ParsedName parsed_name;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/tpu_validate_inputs.cc

      if (!metadata.getAllowSoftPlacement() &&
          !op->hasAttr(TF::kXlaOutsideCompilationAttr))
        return true;
      std::string device = "";
      if (op->hasAttr(TF::kDeviceAttr))
        device = op->getAttrOfType<StringAttr>(TF::kDeviceAttr).str();
      else
        return false;
      if (absl::StrContains(device, TF::kTpuDevice)) return true;
      return false;
    }
    bool ValidateIntersectionXlaNonXlaOps(Operation* op, MetadataMap metadata_map) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 06:51:01 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/aot/tfcompile.bzl

                          gen_test=True.
          foo_benchmark: A cc_binary that runs a minimal-dependency benchmark,
                          useful for mobile devices or other platforms that can't
                          compile the full test libraries. Only created if
                          gen_benchmark=True.
        The output header is called <name>.h.
    
        Args:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 19:18:08 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  10. tensorflow/c/kernels.cc

      if (cc_ctx->op_device_context() == nullptr) {  // CPU Device
        status->status = absl::FailedPreconditionError(
            "Accessing device stream is not supported for a CPU device.");
        return nullptr;
      } else if (!cc_ctx->op_device_context()->IsPluggableDevice()) {
        status->status = absl::FailedPreconditionError(
            "Accessing device stream is only supported for pluggable devices.");
        return nullptr;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 22:53:47 UTC 2024
    - 36K bytes
    - Viewed (0)
Back to top