Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 155 for r2devices (0.16 sec)

  1. tensorflow/compiler/jit/flags.h

        // Once the rollout to GPU is complete, this flag can be deprecated.
        bool enabled_for_gpu_;
    
       private:
        // Devices for which using Device API (PjRt) is allowed in the XlaLaunch op.
        // This can only be modified programmatically.
        absl::flat_hash_set<std::string> xla_launch_allowed_devices_;
        // Devices for which using Device API (PjRt) is allowed in the
        // XlaCompileOnDemand op. This can only be modified programmatically.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/dra/manager.go

    				annotations = append(annotations, claimAnnotations...)
    
    				devices := claimInfo.cdiDevicesAsList()
    				klog.V(3).InfoS("Add CDI devices", "claim", *claimName, "CDI devices", devices)
    				cdiDevices = append(cdiDevices, devices...)
    
    				return nil
    			})
    			if err != nil {
    				return nil, fmt.Errorf("locked cache operation: %w", err)
    			}
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:23:29 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/convert_control_to_data_outputs.cc

        int64_t device_id;
        if (!device_attr) {
          device_id = kAnyDevice;
        } else if (devices.find(device_attr) != devices.end()) {
          device_id = devices[device_attr];
        } else {
          device_id = 1 + devices.size();
          devices[device_attr] = device_id;
        }
    
        auto& alias_analysis = side_effect_analysis.GetAliasAnalysis();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/tf_device_ops_invalid.mlir

      "tf_device.replicate" () ({
    // expected-error@-1 {{'tf_device.replicate' op expects number of devices (2) to be equal to 'n' (3)}}
      ^entry:
        tf_device.return
      }) {devices = {TPU_REPLICATED_CORE_0 = ["/DEVICE:0", "/DEVICE:1"]}, n = 3 : i32, operandSegmentSizes = array<i32: 0, 0>} : () -> ()
    }
    
    // -----
    
    // Check that replicate op's 'devices' attribute must consist of dictionary
    // with values as list with size equal to 'n' attribute.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 14 15:35:49 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  5. tensorflow/c/eager/immediate_execution_context.h

      virtual bool UsesTFRT() = 0;
    
      // List attributes of available devices
      virtual void ListDevices(std::vector<DeviceAttributes>* devices) = 0;
    
      // Add `devices` into context's device manager. Context's device manager
      // will take ownership and maintain devices' lifetime.
      virtual Status AddDevices(std::vector<std::unique_ptr<Device>> devices) = 0;
    
      // Block until all pending nodes are finished.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 06 08:34:00 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  6. pkg/volume/iscsi/iscsi_util.go

    }
    
    // deleteDevices tries to remove all the block devices and multipath map devices
    // associated with a given iscsi device
    func deleteDevices(c iscsiDiskUnmounter) error {
    	lunNumber, err := strconv.Atoi(c.iscsiDisk.Lun)
    	if err != nil {
    		klog.Errorf("iscsi delete devices: lun is not a number: %s\nError: %v", c.iscsiDisk.Lun, err)
    		return err
    	}
    	// Enumerate the devices so we can delete them
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 22 12:53:01 UTC 2022
    - 34.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/internal/passes/xla_broadcast.cc

    LogicalResult GetTpuDeviceAssignment(
        ClusterOp cluster, ReplicateOp replicate, mlir::ModuleOp module,
        absl::StatusOr<TPUDeviceAssignment>& status_or_tpu_device_assignment) {
      mlir::TF::RuntimeDevices devices;
      if (failed(tensorflow::GetDevicesFromOp(module, &devices))) return failure();
    
      uint32_t num_replicas = replicate.getN();
    
      auto num_cores_per_replica_attr = cluster->getAttrOfType<mlir::IntegerAttr>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 18:52:07 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. tensorflow/compiler/mlir/tensorflow/tests/tpu_device_propagation.mlir

        %1:2 = tf_executor.island wraps "tf.UnsupportedOp"(%arg0) : (tensor<i64>) -> tensor<i64>
        tf_executor.fetch %1#0 : tensor<i64>
      }
      func.return %0 : tensor<i64>
    }
    
    // Tests empty devices are overwritten.
    
    // CHECK-LABEL: func @testEmptyDeviceOverwritten
    // CHECK-SAME: ({{%.+}}: tensor<i64> {tf.device = "/job:localhost/replica:0/task:0/device:TPU:0"})
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 19K bytes
    - Viewed (0)
Back to top