Benign repos download unavailable

shardy_xla_pass.cc

imports tsl/platform/path.himports xla/tsl/platform/env.h
SHA-256ae401971b951bc610b8614a651a0d43f50ea67c9070d01b12ec9122f3af5a474

Evidence

apache web server name lines 1–10
1/* Copyright 2024 The OpenXLA Authors.
2
3Licensed under the Apache License, Version 2.0 (the "License");
4you may not use this file except in compliance with the License.
5You may obtain a copy of the License at
6
7 http://www.apache.org/licenses/LICENSE-2.0
8
9Unless required by applicable law or agreed to in writing, software
10distributed under the License is …
imports tsl/platform/path.h lines 11–58
11:42… IND, either express or implied.
12See the License for the specific language governing permissions and
13limitations under the License.
14==============================================================================*/
15
16#include "xla/service/spmd/shardy/shardy_xla_pass.h"
17
18#include <cstdint>
19#include <cstdlib>
20#include <memory>
21#include <optional>
22#include <string>
23#include <utility>
24#include <vector>
25
26#include "absl/algorithm/container.h"
27#include "absl/container/flat_hash_map.h"
28#include "absl/container/flat_hash_set.h"
29#include "absl/log/check.h"
30#include "absl/log/log.h"
31#include "absl/status/status.h"
32#include "absl/status/statusor.h"
33#include "absl/strings/match.h"
34#include "absl/strings/str_cat.h"
35#include "absl/strings/str_format.h"
36#include "absl/strings/string_view.h"
37#include "absl/types/span.h"
38#include "mlir/IR/BuiltinAttributes.h"
39#include "mlir/IR/BuiltinOps.h"
40#include "mlir/IR/MLIRContext.h"
41#include "mlir/IR/OwningOpRef.h"
42#include "mlir/Pass/PassManager.h"
43#include "mlir/Support/LLVM.h"
44#include "shardy/common/file_utils.h"
45#include "shardy/dialect/sdy/transforms/common/propagation_options.h"
46#include "shardy/dialect/sdy/transforms/propagation/passes.h"
47#include "re2/re2.h"
48#include "xla/hlo/ir/hlo_computation.h"
49#include "xla/hlo/ir/hlo_input_output_alias_config.h"
50#include "xla/hlo/ir/hlo_module.h"
51#include "xla/hlo/ir/hlo_opcode.h"
52#include "xla/hlo/ir/stack_frames.h"
53#include "xla/hlo/transforms/simplifiers/hlo_dce.h"
54#include "xla/hlo/transforms/simplifiers/tuple_simplifier.h"
55#include "xla/hlo/translate/stablehlo.h"
56#include "xla/hlo/utils/hlo_sharding_util.h"
57#include "xla/layout.h"
58#include "xla/map_util.h"
English function-word token "have" lines 219–221
219:62… dent on whether the
220// returned HLO module will have a single tuple level tuple.
221// - If `useTupleArgs` is true, then the param number will be 0 sin …
English function-word token "that" lines 222–224
222:61… th the param index
223// holding the location in that single tuple.
224// - If `useTupleArgs` is false, then the param index will be ShapeIndex() since

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.