Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 194 for tpu0 (0.12 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/python/pywrap_quantize_model.cc

            if (!exported_model.ok()) return exported_model.status();
    
            // Remove the `tpu` tag from the debug quantized saved model as it is
            // for CPU. Note the 'tpu' value should be the same as `TPU` defined in
            // tensorflow/python/saved_model/tag_constants.py.
            if (quantization_options.has_debugger_config()) {
              tags.erase("tpu");
            }
            py_function_library.SaveExportedModel(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 09 06:33:29 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. ci/official/containers/linux_arm64/devel.usertools/aarch64_clang.bazelrc

    # bazel test invocation as normal.
    test:nonpip_filters --test_tag_filters=-no_oss,-oss_serial,-gpu,-tpu,-benchmark-test,-v1only,-no_aarch64,-no_oss_py38,-no_oss_py39,-no_oss_py310
    test:nonpip_filters --build_tag_filters=-no_oss,-oss_serial,-gpu,-tpu,-benchmark-test,-v1only,-no_aarch64,-no_oss_py38,-no_oss_py39,-no_oss_py310
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 21 12:25:39 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.h

        mlir::ArrayAttr device_assignment_attr);
    
    // Finds the TPU compilation device and execution devices from `devices` for a
    // TPU computation subgraph. Compilation device is determined from looking up
    // all TPU_SYSTEM:0 devices and choosing the CPU device associated to the first
    // TPU_SYSTEM device sorted lexicographically by replica and task. Execution
    // devices are determined by looking up all TPU devices associated with each
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  4. src/internal/types/testdata/spec/assignability.go

    }
    
    // "x's type V is not a named type and T is a type parameter, and x is assignable to each specific type in T's type set."
    func _[
    	TP0 any,
    	TP1 ~_Chan,
    	TP2 ~chan int | ~chan byte,
    ]() {
    	var (
    		_ TP0 = c // ERRORx `cannot use c .* as TP0 value`
    		_ TP0 = C // ERRORx `cannot use C .* as TP0 value`
    		_ TP1 = c
    		_ TP1 = C // ERRORx `cannot use C .* as TP1 value`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 17:24:42 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/legalize_tf_quant_test.cc

    #include "tensorflow/core/framework/tensor_shape.h"
    #include "tensorflow/core/framework/types.pb.h"
    #include "tensorflow/core/protobuf/config.pb.h"
    #include "tensorflow/core/protobuf/tpu/compile_metadata.pb.h"
    #include "tensorflow/core/tpu/kernels/tpu_compile_op_support.h"
    #include "tsl/lib/core/status_test_util.h"
    
    namespace mlir::quant::stablehlo {
    namespace {
    
    using ::testing::Test;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 18:43:55 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/tpu_validate_inputs.mlir

        // expected-warning @+1 {{TF2XLA TPU bridge input check: cluster op = tf.opA with cluster = cluster has successor as non cluster op tf.opB}}
        %out2, %c2 = tf_executor.island wraps "tf.opB"(%out) : (tensor<i32>) -> tensor<i32>
        // expected-error @+1 {{tf.TPUReplicatedOutput' op TF2XLA TPU bridge input check: non-cluster op = tf.opB has invalid successor op = tf.TPUReplicatedOutput}}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 06:51:01 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/internal/utils/test_metadata_config.cc

    #include "tensorflow/core/protobuf/tpu/compile_metadata.pb.h"
    #include "tsl/platform/errors.h"
    
    namespace tensorflow {
    namespace tf2xla {
    namespace internal {
    namespace {
    
    constexpr char kEntryFuncName[] = "main";
    
    absl::Status SetupArguments(mlir::ModuleOp module,
                                std::vector<TensorShape>& arg_shapes,
                                tpu::TPUCompileMetadataProto& metadata_proto) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 23:59:33 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfrt/tests/runtime_lowering_tpu.mlir

    // RUN: tf-tfrt-opt -tfrt-lower-cluster-to-runtime-ops-tpu -split-input-file -verify-diagnostics %s | FileCheck %s
    
    module attributes {tf.versions = {producer = 888 : i32}, tf.devices = ["/job:worker/replica:0/task:0/device:CPU:0", "/job:worker/replica:0/task:0/device:TPU_SYSTEM:0", "/job:worker/replica:0/task:0/device:TPU:0"]} {
    
      // CHECK-LABEL: @converts_cluster
      func.func @converts_cluster() {
        // CHECK: %0:2 = "tf_device.launch"() <{{.*}}> ({
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_metadata_utils.cc

        arg->set_dtype(dtype);
        // TODO(lyandy): Support other arg kinds.
        if (dtype == tensorflow::DT_RESOURCE)
          arg->set_kind(tensorflow::tpu::TPUCompileMetadataProto::Arg::VARIABLE);
        else
          arg->set_kind(tensorflow::tpu::TPUCompileMetadataProto::Arg::PARAMETER);
    
        // Populate argument shapes.
        *arg->mutable_shape() = tensorflow::TensorShapeProto();
        if (auto ranked_tensor_type =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_island_coarsening.cc

    // TPU-annotated operations and intended to preserve backward compatibility with
    // TFv1.
    struct TpuV1BridgeExecutorIslandCoarsening
        : public impl::TpuV1BridgeExecutorIslandCoarseningPassBase<
              TpuV1BridgeExecutorIslandCoarsening> {
      void runOnOperation() override;
    };
    
    // Returns name of TPU cluster, if op belongs to a TPU cluster. Otherwise,
    // returns `std::nullopt`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 27.6K bytes
    - Viewed (0)
Back to top