Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 309 for _xla (0.03 sec)

  1. tensorflow/compiler/jit/device_compiler_client.h

    #define TENSORFLOW_COMPILER_JIT_DEVICE_COMPILER_CLIENT_H_
    
    #include <optional>
    #include <string>
    #include <variant>
    
    #include "tensorflow/compiler/tf2xla/xla_compiler.h"
    #include "xla/client/executable_build_options.h"
    
    namespace tensorflow {
    
    template <typename ExecutableType, typename ClientType>
    class DeviceCompilerClient {
     public:
      DeviceCompilerClient() = default;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_mlir.h

        const std::vector<TensorShape>& arg_shapes,
        std::vector<tpu::ShardingAndIndex>* arg_core_mapping,
        std::vector<std::vector<xla::Shape>>* per_core_arg_shapes);
    
    // Compiles a serialized MLIR module into XLA HLO, generates all accompanying
    // metadata and stores them in CompilationResult.
    absl::StatusOr<XlaCompilationResult> LegalizeWithMlirBridge(
        const tpu::MlirToHloArgs& computation,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/device_util.h

    #include "absl/container/flat_hash_map.h"
    #include "absl/numeric/bits.h"
    #include "absl/strings/string_view.h"
    #include "absl/types/span.h"
    #include "tensorflow/compiler/tf2xla/xla_op_registry.h"
    #include "xla/status_macros.h"
    #include "xla/statusor.h"
    #include "tensorflow/core/framework/types.h"
    
    namespace tensorflow {
    namespace jit {
    class DeviceInfoCache;
    class DeviceSet;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 17:18:31 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/tests/BUILD

            "@com_google_absl//absl/strings",
            "@local_xla//xla/service:hlo_proto_cc",
        ],
    )
    
    tf_cc_test(
        name = "device_compiler_serialize_test",
        srcs = [
            "device_compiler_serialize_test.cc",
        ],
        tags = [
            "config-cuda-only",
            "no_oss",  # This test only runs with GPU.
            "requires-gpu-nvidia",
            "xla",
        ],
        deps = [
            ":device_compiler_test_helper",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 27 18:00:18 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/api/v2/BUILD

            "@local_tsl//tsl/platform:status",
            "@local_tsl//tsl/platform:statusor",
            "@local_xla//xla:xla_proto_cc",
            "@local_xla//xla/client:compile_only_client",
            "@local_xla//xla/hlo/ir:hlo",
            "@local_xla//xla/mlir_hlo:hlo_dialect_registration",
            "@local_xla//xla/pjrt:compile_options_proto_cc",
            "@stablehlo//:register",
        ],
    )
    
    tf_cc_test(
        name = "legalize_tf_test",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 23:04:51 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/encapsulate_xla_computations_pass.h

     limitations under the License.
     ==============================================================================*/
    // Rewrites computations generated by the xla.compile() Python code into
    // XlaLaunch nodes.
    //
    // xla.compile() does two main things:
    // a) marks operators that make up an XLA computation with the attribute
    //    _xla_compile_id=XYZ, where XYZ is a unique key.
    // b) adds XlaClusterOutput nodes to represent outputs of the computation.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/internal/BUILD

            "@com_google_absl//absl/status",
            "@com_google_googletest//:gtest_main",
            "@local_tsl//tsl/platform:statusor",
            "@local_xla//xla/client:xla_computation",
            "@local_xla//xla/service:hlo_proto_cc",
        ],
    )
    
    cc_library(
        name = "mlir_pass_instrumentation",
        srcs = ["mlir_pass_instrumentation.cc"],
        hdrs = ["mlir_pass_instrumentation.h"],
        deps = [
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 23:42:09 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf_test.cc

    #include "tensorflow/compiler/mlir/tf2xla/internal/utils/test_metadata_config.h"
    #include "tensorflow/compiler/tf2xla/xla_compiler.h"
    #include "tensorflow/compiler/tf2xla/xla_helpers.h"
    #include "xla/client/client_library.h"
    #include "xla/stream_executor/platform_manager.h"
    #include "tensorflow/core/lib/monitoring/cell_reader.h"
    #include "tensorflow/core/lib/monitoring/test_utils.h"
    #include "tensorflow/core/platform/env.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 23:59:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/device_compiler.h

    namespace tensorflow {
    
    // Compiles/lowers a given Tensorflow graph/function/cluster into a compiled XLA
    // compilation (HLO) using the XlaCompiler and compiles the resulting
    // XlaCompilationResult into an `ExecutableType` (eg. xla::LocalExecutable) by
    // calling `ClientType` (eg. xla::LocalClient).
    //
    // Caches the compiled XlaCompilationResult and Executable using a
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.cc

        return "quant-replace-cast-hacks-with-tf-xla-ops";
      }
      StringRef getDescription() const final {
        // This is a brief description of the pass.
        return "Replace mixed-type Conv and Matmul cast hacks with TF XLA ops.";
      }
    
      void runOnOperation() override;
    };
    
    // Generates params for the XLA Convolution op.
    void PrepareXlaConvParams(OpBuilder &builder, Location loc, ArrayAttr strides,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 47.1K bytes
    - Viewed (0)
Back to top