Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 173 for failme (0.14 sec)

  1. pkg/scheduler/internal/queue/scheduling_queue_test.go

    	timestamp := time.Now()
    	metrics.Register()
    	total := 60
    	queueableNum := 50
    	queueable, failme := "queueable", "failme"
    	// First 50 Pods are queueable.
    	pInfos := makeQueuedPodInfos(queueableNum, "x", queueable, timestamp)
    	// The last 10 Pods are not queueable.
    	gated := makeQueuedPodInfos(total-queueableNum, "y", failme, timestamp)
    	// Manually mark them as gated=true.
    	for _, pInfo := range gated {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  2. src/crypto/tls/bogo_shim_test.go

    	// NOTE: we don't immediately check the error, because the failure could be either because
    	// the runner failed for some unexpected reason, or because a test case failed, and we
    	// cannot easily differentiate these cases. We check if the JSON results file was written,
    	// which should only happen if the failure was because of a test failure, and use that
    	// to determine the failure mode.
    
    	resultsJSON, jsonErr := os.ReadFile(resultsFile)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:25:39 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/internal/passes/xla_broadcast.cc

        zero = builder.getFloatAttr(elem_type, 0);
      } else {
        return false;
      }
      if (auto ranked_type = dyn_cast<RankedTensorType>(type)) {
        llvm::ArrayRef<int64_t> type_shape = ranked_type.getShape();
        for (int64_t i : type_shape) {
          if (i < 0) return false;
        }
        shape = builder.getI64TensorAttr(type_shape);
      } else {
        return false;
      }
      return true;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 18:52:07 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate_registration.cc

      auto status = tensorflow::tf2xla::v2::ConvertMlirToGraph(
          module, confs, &graph, flib_def.get(), &control_ret_nodes);
      if (!status.ok()) {
        LOG(ERROR) << "Export to Graph failed: " << status;
        return mlir::failure();
      }
    
      // Use Host platform, which should always exist, to make sure graphs compile.
      auto platform = stream_executor::PlatformManager::PlatformWithId(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.cc

        tensorflow::TPUDevicesAndHosts& devices_and_hosts) {
      std::string topology;
      if (failed(GetTopology(cluster, topology))) {
        return mlir::failure();
      }
    
      llvm::SmallVector<int64_t, 8> device_coordinates;
      if (failed(GetDeviceAssignmentCoordinates(cluster, device_coordinates))) {
        return mlir::failure();
      }
    
      // Determine compilation and execution devices.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 20:10:40 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc

      if (!module_ref_status.ok()) {
        // If at least one pass is enabled, return failure to the caller
        // immediately.
        if (overall_state == MlirOptimizationPassState::Enabled) {
          return module_ref_status.status();
        }
        // Do not fail, just keep the original TF graph unchanged in fallback mode.
        LOG(WARNING) << "Failed to convert graph to MLIR: "
                     << module_ref_status.status()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  7. pilot/test/xds/fake.go

    type FakeDiscoveryServer struct {
    	*core.ConfigGenTest
    	t            test.Failer
    	Discovery    *xds.DiscoveryServer
    	Listener     net.Listener
    	BufListener  *bufconn.Listener
    	kubeClient   kubelib.Client
    	KubeRegistry *kube.FakeController
    	XdsUpdater   model.XDSUpdater
    	MemRegistry  *memregistry.ServiceDiscovery
    }
    
    func NewFakeDiscoveryServer(t test.Failer, opts FakeOptions) *FakeDiscoveryServer {
    	m := opts.MeshConfig
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 16:08:52 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  8. cmd/erasure-healing_test.go

    	if err != nil {
    		t.Fatalf("Failed to read a file - %v", err)
    	}
    
    	// Test 1, remove part.1
    	err = firstDisk.Delete(context.Background(), bucket, pathJoin(object, fi.DataDir, "part.1"), DeleteOptions{
    		Recursive: false,
    		Immediate: false,
    	})
    	if err != nil {
    		t.Fatalf("Failed to delete a file - %v", err)
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/decompose_optionals.cc

        if (!symbol) return failure();
        auto f = llvm::dyn_cast<mlir::func::FuncOp>(symbol);
    
        if (call.getOperation()->getNumOperands() !=
            f.getBody().front().getNumArguments()) {
          return failure();  // RemoteCall et al
        }
    
        rewriter.startOpModification(f);
        bool changed = false;
        for (auto [call_arg, body_arg] :
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go

    		precondition:        nil,
    		expectNotFoundErr:   false,
    		expectInvalidObjErr: false,
    		expectNoUpdate:      false,
    	}, {
    		name:                "existing key",
    		key:                 key,
    		ignoreNotFound:      false,
    		precondition:        nil,
    		expectNotFoundErr:   false,
    		expectInvalidObjErr: false,
    		expectNoUpdate:      false,
    	}, {
    		name:                "same data",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 91.4K bytes
    - Viewed (0)
Back to top