Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 60 for compilation_result (0.29 sec)

  1. pkg/scheduler/framework/plugins/dynamicresources/structured/namedresources/namedresourcesmodel.go

    		}
    		c.requests = append(c.requests, compilation)
    	}
    	return c, nil
    }
    
    type Controller struct {
    	filter   *cel.CompilationResult
    	requests []cel.CompilationResult
    }
    
    func (c *Controller) NodeIsSuitable(ctx context.Context, model Model) (bool, error) {
    	indices, err := c.allocate(ctx, model)
    	return len(indices) == len(c.requests), err
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:26:16 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/xla_compile_on_demand_op.cc

      return absl::OkStatus();
    }
    }  // namespace
    
    Status XlaCompileOnDemandOp::Run(const ResourceVarsSnapshot& variable_args,
                                     const XlaCompiler::CompilationResult* result,
                                     const XlaDeviceCompiler* xla_device_compiler,
                                     xla::LocalExecutable* executable,
                                     OpKernelContext* ctx) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 08:39:39 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/typechecking.go

    	resultError := func(errorString string, errType apiservercel.ErrorType) plugincel.CompilationResult {
    		return plugincel.CompilationResult{
    			Error: &apiservercel.Error{
    				Type:   errType,
    				Detail: errorString,
    			},
    			ExpressionAccessor: expressionAccessor,
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/device_compiler_client.cc

    #include "tensorflow/core/util/determinism.h"
    
    namespace tensorflow {
    
    xla::ExecutableBuildOptions GetExecutableBuildOptions(
        const XlaCompiler::Options& options,
        const XlaCompiler::CompilationResult& result, int default_device_ordinal) {
      xla::ExecutableBuildOptions build_options;
      if (result.collective_info) {
        build_options.set_num_replicas(result.collective_info->group_size);
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 26 20:35:26 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/get_compiler_ir.cc

    #include "tsl/platform/statusor.h"
    
    namespace tensorflow {
    
    static absl::StatusOr<std::unique_ptr<xla::LocalExecutable>> BuildExecutable(
        xla::LocalClient* local_client,
        const XlaCompiler::CompilationResult& result,
        const XlaCompiler::Options& options,
        const bool xla_embed_ir_in_executable = false) {
      std::vector<const xla::Shape*> argument_layouts(
          result.xla_input_shapes.size());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 19K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate_registration.cc

          new tensorflow::Graph(tensorflow::OpRegistry::Global()));
      tensorflow::CopyGraph(*graph, graph_copy.get());
    
      tensorflow::XlaCompiler::CompileOptions compile_options;
      tensorflow::XlaCompiler::CompilationResult result;
      return compiler.CompileGraph(compile_options,
                                   kMlirToGraphCompilationCheckName,
                                   std::move(graph_copy), {}, &result);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/xla_launch_util_gpu_test.cc

      }
    
      // Compiles the op set in the context_ to a PjRtLoadedExecutable
      void CompileToExecutable(const std::vector<XlaCompiler::Argument>& args,
                               const XlaCompiler::CompilationResult** result,
                               xla::PjRtLoadedExecutable** executable,
                               XlaCompiler::CompileOptions compile_options = {}) {
        TF_EXPECT_OK(device_compiler_->CompileSingleOpIfNeeded(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 10K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook.go

    func (w *WebhookAuthorizer) match(ctx context.Context, r *authorizationv1.SubjectAccessReview) (bool, error) {
    	// A nil celMatcher or zero saved CompilationResults matches all requests.
    	if w.celMatcher == nil || w.celMatcher.CompilationResults == nil {
    		return true, nil
    	}
    	return w.celMatcher.Eval(ctx, r)
    }
    
    func convertToSARExtra(extra map[string][]string) map[string]authorizationv1.ExtraValue {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:01:15 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation.go

    	Properties           map[string]Validator
    	AllOfValidators      []*Validator
    	AdditionalProperties *Validator
    
    	Schema *schema.Structural
    
    	uncompiledRules []apiextensions.ValidationRule
    	compiledRules   []CompilationResult
    
    	// Program compilation is pre-checked at CRD creation/update time, so we don't expect compilation to fail
    	// they are recompiled and added to this type, and it does, it is an internal bug.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 18:21:31 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go

    		return 0
    	} else if math.MaxUint/baseCost < cardinality {
    		return math.MaxUint
    	}
    	return baseCost * cardinality
    }
    
    func getExpressionCost(cr cel.CompilationResult, cardinalityCost *CELSchemaContext) uint64 {
    	if cardinalityCost.MaxCardinality != unbounded {
    		return multiplyWithOverflowGuard(cr.MaxCost, *cardinalityCost.MaxCardinality)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 82.6K bytes
    - Viewed (0)
Back to top