Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 140 for checkpoint2 (0.2 sec)

  1. tensorflow/compiler/aot/tests/make_test_graphs.py

      parser.register('type', 'bool', lambda v: v.lower() == 'true')
      parser.add_argument(
          '--out_dir',
          type=str,
          default='',
          help='Output directory for graphs, checkpoints and savers.')
      FLAGS, unparsed = parser.parse_known_args()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 15 15:25:23 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/dra/claiminfo_test.go

    			stateDir:       t.TempDir(),
    			checkpointName: "test-checkpoint",
    		},
    		{
    			description: "empty parameters",
    			wantErr:     true,
    		},
    		{
    			description: "empty checkpoint name",
    			stateDir:    t.TempDir(),
    			wantErr:     true,
    		},
    		{
    			description: "incorrect checkpoint name",
    			stateDir:    path.Join(t.TempDir(), "incorrect checkpoint"),
    			wantErr:     true,
    		},
    	} {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:30:31 UTC 2024
    - 21K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/dra/state/state_checkpoint.go

    }
    
    // saves state to a checkpoint, caller is responsible for locking
    func (sc *stateCheckpoint) store(claimInfoStateList ClaimInfoStateList) error {
    	checkpoint := NewDRAManagerCheckpoint()
    	checkpoint.Entries = claimInfoStateList
    
    	err := sc.checkpointManager.CreateCheckpoint(sc.checkpointName, checkpoint)
    	if err != nil {
    		return fmt.Errorf("could not save checkpoint %s: %v", sc.checkpointName, err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:23:27 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/memorymanager/state/state_checkpoint.go

    	sc.cache.SetMemoryAssignments(checkpoint.Entries)
    
    	klog.V(2).InfoS("State checkpoint: restored state from checkpoint")
    
    	return nil
    }
    
    // saves state to a checkpoint, caller is responsible for locking
    func (sc *stateCheckpoint) storeState() error {
    	checkpoint := NewMemoryManagerCheckpoint()
    	checkpoint.PolicyName = sc.policyName
    	checkpoint.MachineState = sc.cache.GetMachineState()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 16:05:48 UTC 2022
    - 5.3K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/poset_test.go

    		{Checkpoint, 0, 0},
    		{SetNonEqual_Fail, vconst(3), vconst2(3)},
    		{Undo, 0, 0},
    		{Checkpoint, 0, 0},
    		{SetOrder_Fail, vconst(3), vconst2(3)},
    		{Undo, 0, 0},
    
    		// Check relations of two constants among them, using
    		// different instances of the same constant
    		{Checkpoint, 0, 0},
    		{SetOrderOrEqual, vconst(3), vconst(4)},
    		{OrderedOrEqual, vconst(3), vconst2(4)},
    		{Undo, 0, 0},
    		{Checkpoint, 0, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 26 07:52:35 UTC 2019
    - 18.1K bytes
    - Viewed (0)
  6. pkg/kubelet/status/state/state_checkpoint.go

    	var err error
    
    	checkpoint := NewPodResourceAllocationCheckpoint()
    
    	if err = sc.checkpointManager.GetCheckpoint(sc.checkpointName, checkpoint); err != nil {
    		if err == errors.ErrCheckpointNotFound {
    			return sc.storeState()
    		}
    		return err
    	}
    
    	sc.cache.SetPodResourceAllocation(checkpoint.AllocationEntries)
    	sc.cache.SetResizeStatus(checkpoint.ResizeStatusEntries)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 13 00:16:44 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/text/cases/context.go

    // accordingly, if necessary.
    func (c *context) retSpan() (n int, err error) {
    	_, nSrc, err := c.ret()
    	return nSrc, err
    }
    
    // checkpoint sets the return value buffer points for Transform to the current
    // positions.
    func (c *context) checkpoint() {
    	if c.err == nil {
    		c.nDst, c.nSrc = c.pDst, c.pSrc+c.sz
    	}
    }
    
    // unreadRune causes the last rune read by next to be reread on the next
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/memorymanager/state/state_checkpoint_test.go

    	for _, tc := range testCases {
    		t.Run(tc.description, func(t *testing.T) {
    			// ensure there is no previous checkpoint
    			assert.NoError(t, cpm.RemoveCheckpoint(testingCheckpoint), "could not remove testing checkpoint")
    
    			// prepare checkpoint for testing
    			if strings.TrimSpace(tc.checkpointContent) != "" {
    				checkpoint := &testutil.MockCheckpoint{Content: tc.checkpointContent}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 30 03:35:26 UTC 2022
    - 10.6K bytes
    - Viewed (0)
  9. tensorflow/cc/saved_model/metrics.h

    // Returns "/tensorflow/core/checkpoint/sharding/callback_duration" cell which
    // describes how long it took to execute the checkpoint sharding callback in
    // microseconds.
    monitoring::CounterCell& ShardingCallbackDuration();
    
    // Returns "/tensorflow/core/checkpoint/sharding/num_checkpoint_shards_written"
    // cell which describes how many checkpoint shard files were written during
    // saving.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 18 23:43:59 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/cpumanager/state/state_checkpoint_test.go

    				defaultCPUSet: cpuset.New(1, 2, 3),
    			},
    		},
    		{
    			"Restore checkpoint with invalid checksum",
    			`{
    				"policyName": "none",
    				"defaultCPUSet": "4-6",
    				"entries": {},
    				"checksum": 1337
    			}`,
    			"none",
    			containermap.ContainerMap{},
    			"checkpoint is corrupted",
    			&stateMemory{},
    		},
    		{
    			"Restore checkpoint with invalid JSON",
    			`{`,
    			"none",
    			containermap.ContainerMap{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 16:26:09 UTC 2023
    - 10.9K bytes
    - Viewed (0)
Back to top