Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 45 of 45 for set_device (0.26 sec)

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

                                entry.value().get(), &builder);
    
        auto device_list = mlir::cast<ArrayAttr>(
            replicate.getDevices().value().get(execute_launch.getDevice()));
        copy_with_layout->setAttr(kDeviceAttr,
                                  device_list.getValue()[entry.index()]);
    
        entry.value().set(copy_with_layout);
      }
      return true;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/replicate_to_island.cc

        // Map aliased devices to explicit devices based on replica.
        if (auto launch = dyn_cast<tf_device::LaunchOp>(op))
          if (auto device_by_replica = devices.value().get(launch.getDevice()))
            launch->setAttr(
                kDeviceAttr,
                device_by_replica.cast<ArrayAttr>()[replica_id].cast<StringAttr>());
    
        return WalkResult::advance();
      });
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jul 24 21:01:40 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  3. pkg/kubelet/volumemanager/reconciler/reconciler_test.go

    	assert.NoError(t, volumetesting.VerifyZeroDetachCallCount(fakePlugin))
    }
    
    // Populates desiredStateOfWorld cache with one volume/pod.
    // Calls Run()
    // Verifies there are attach/get map paths/setupDevice calls and
    // no detach/teardownDevice calls.
    func Test_Run_Positive_VolumeAttachAndMap(t *testing.T) {
    	pod := &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "pod1",
    			UID:       "pod1uid",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  4. pkg/volume/testing/testing.go

    	fv.RLock()
    	defer fv.RUnlock()
    	return fv.TearDownCallCount
    }
    
    func (fv *FakeVolume) TearDownAt(dir string) error {
    	return os.RemoveAll(dir)
    }
    
    // Block volume support
    func (fv *FakeVolume) SetUpDevice() (string, error) {
    	fv.Lock()
    	defer fv.Unlock()
    	if fv.VolName == TimeoutOnMountDeviceVolumeName {
    		fv.DeviceMountState[fv.VolName] = deviceMountUncertain
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

        }
      }];
    }
    
    def TF_RecvOp : TF_Op<"Recv", [TF_RecvSideEffect]> {
      let summary = "Receives the named tensor from send_device on recv_device.";
    
      let arguments = (ins
        StrAttr:$tensor_name,
        StrAttr:$send_device,
        I64Attr:$send_device_incarnation,
        StrAttr:$recv_device,
        DefaultValuedOptionalAttr<BoolAttr, "false">:$client_terminated
      );
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
Back to top