Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 3,188 for Devices (0.27 sec)

  1. tensorflow/compiler/jit/xla_host_send_recv_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]);
    
        AllocatorAttributes host_alloc_attr;
        host_alloc_attr.set_on_host(true);
        host_allocator_ = device_->GetAllocator(host_alloc_attr);
    
        AllocatorAttributes device_alloc_attr;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/dra/claiminfo.go

    func (info *ClaimInfo) cdiDevicesAsList() []kubecontainer.CDIDevice {
    	var cdiDevices []kubecontainer.CDIDevice
    	for _, devices := range info.CDIDevices {
    		for _, device := range devices {
    			cdiDevices = append(cdiDevices, kubecontainer.CDIDevice{Name: device})
    		}
    	}
    	return cdiDevices
    }
    
    // addPodReference adds a pod reference to the claim info.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:30:31 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_rewrite_pass.cc

        // TODO(jpienaar): Remove this later.
        if (auto device = res->getAttrOfType<StringAttr>("device")) {
          if (!device.getValue().empty())
            result_id->setAttr("device", device);
          else
            result_id->setAttr("device", compile_device_op);
        } else if (compile_device_op) {
          result_id->setAttr("device", compile_device_op);
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  4. pkg/util/procfs/procfs_fake.go

    limitations under the License.
    */
    
    package procfs
    
    type FakeProcFS struct{}
    
    // GetFullContainerName gets the container name given the root process id of the container.
    // E.g. if the devices cgroup for the container is stored in /sys/fs/cgroup/devices/docker/nginx,
    // return docker/nginx. Assumes that the process is part of exactly one cgroup hierarchy.
    func (fakePfs *FakeProcFS) GetFullContainerName(pid int) (string, error) {
    	return "", nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 16 09:22:35 UTC 2023
    - 986 bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/compile_mlir_util/argument-sharding.mlir

    // CHECK-SAME:    sharding={
    // CHECK-SAME:    {devices=[1,2]0,1}
    // CHECK-SAME:    {maximal device=0}
    // CHECK-SAME:    {replicated}
    // CHECK-SAME:    }
    // CHECK:         get-tuple-element((f32[128,10]{1,0}, f32[10,1024]{1,0}, f32[128,1024]{1,0}) %[[ARG_TUPLE]]), index=0
    // CHECK-SAME:    sharding={devices=[1,2]0,1}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/defs.h

    // The id of the compiled cluster.
    extern const char* const kXlaClusterIdAttr;  // "_xla_compile_id"
    
    [[deprecated("XLA:CPU/GPU devices are deprecated")]] void
    RequestXlaDevicesCreation();
    
    [[deprecated("XLA:CPU/GPU devices are deprecated")]] bool
    XlaDevicesCreationRequired();
    
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 07 01:03:32 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/internal/passes/extract_head_tail_outside_compilation.cc

      auto& side_effect_analysis = getAnalysis<mlir::TF::SideEffectAnalysis>();
      // Get runtime devices information from the closest parent module.
      auto module = getOperation();
      mlir::TF::RuntimeDevices devices;
      if (failed(tensorflow::GetDevicesFromOp(module, &devices)))
        return signalPassFailure();
    
      OpBuilder builder(&getContext());
      llvm::SmallVector<mlir::tf_device::ClusterOp, 4> clusters;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/tpu_colocate_composite_resource_ops.cc

      }
    
      return resource_users;
    }
    
    void ColocateCompositeResourceOpsInReplicate(
        tf_device::ReplicateOp replicate_op, OpBuilder* builder) {
      auto devices = replicate_op.getDevices();
      if (!devices) return;
      if (!devices.value().get(tensorflow::GetDeviceAliasForLogicalCore(0))) return;
    
      const auto composite_resource_users =
          GetResourceOpsUsingCompositeArgsInReplicate(replicate_op);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 16 17:41:12 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/flags.h

        // `enabled_for_gpu_` below.
        bool enabled_for_all_;
    
        // If true, enable Device API (PjRt) for TF GPU device. This is a helper
        // flag so that individual tests can turn on PjRt for GPU specifically.
        // 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.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/devicemanager/plugin/v1beta1/stub.go

    	s.Send(&pluginapi.ListAndWatchResponse{Devices: m.devs})
    
    	for {
    		select {
    		case <-m.stop:
    			return nil
    		case updated := <-m.update:
    			s.Send(&pluginapi.ListAndWatchResponse{Devices: updated})
    		}
    	}
    }
    
    // Update allows the device plugin to send new devices through ListAndWatch
    func (m *Stub) Update(devs []*pluginapi.Device) {
    	m.update <- devs
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 11:19:10 UTC 2023
    - 11.5K bytes
    - Viewed (0)
Back to top