MCPcopy Create free account

hub / github.com/alibaba/BladeDISC / functions

Functions6,088 in github.com/alibaba/BladeDISC

↓ 12 callersMethod_test_reduction
(self, reduce_func, dtype=None)
pytorch_blade/tests/disc/ops/test_reduction.py:20
↓ 12 callersFunctionbitonicMerge
tao_compiler/mlir/xla/ral/context/custom_library/bitonic_sort.cu.h:171
↓ 12 callersFunctionbitonicMergePair
tao_compiler/mlir/xla/ral/context/custom_library/bitonic_sort.cu.h:152
↓ 12 callersFunctionbuildFuseIntoContainingOp
tao_compiler/mlir/disc/transforms/disc_transform_schedule.cc:121
↓ 12 callersFunctionbuildGetProducerOfOperand
tao_compiler/mlir/disc/transforms/disc_transform_schedule.cc:154
↓ 12 callersMethodcalib
(self, model: nn.Module, act_ob_ctr: Optional[Callable[..., Observer]] = None, w_o
tools/torch_quant/torch_quant/quantizer.py:129
↓ 12 callersMethodconfigure
tao_compiler/mlir/xla/ral/context/common_context_impl_acl.cc:195
↓ 12 callersMethodgetNumBits
Returns the num of bits of the element type of the dense attr.
tao_compiler/mlir/xla/ral/context/pdll_util.h:103
↓ 12 callersFunctionisFusible
Returns true if the op is supported by the downstreaming fusion codegen engine.
tao_compiler/mlir/disc/transforms/fusion_utils.cc:499
↓ 12 callersFunctionmakeNewPlacementAwareFusionStrategy
tao_compiler/mlir/disc/transforms/fusion_utils.cc:1680
↓ 12 callersFunctionreportErrorIfAny
tao_compiler/mlir/xla/ral/test/raw_cuda_test.cc:49
↓ 12 callersFunctionreportErrorIfAny
tao_compiler/mlir/disc/tests/mlir_test.cc:168
↓ 12 callersMethodrun
tao_compiler/mlir/xla/ral/context/common_context_impl_acl.cc:288
↓ 12 callersMethodsetFusionType
Sets the fusion type to the the type provided.
tao_compiler/mlir/disc/transforms/fusion_utils.h:327
↓ 12 callersMethodvalidate
tao_compiler/mlir/xla/ral/context/common_context_impl_acl.cc:248
↓ 11 callersMethodIsDead
tao/tao_bridge/passes/functionalize_cond.cc:130
↓ 11 callersMethodSetChannelAction
tao/tao_bridge/tf/subprocess.cc:112
↓ 11 callersMethod_test_permute
(self, reshape_func, dtype=None, x=None)
pytorch_blade/tests/disc/ops/test_permutation.py:21
↓ 11 callersMethodadd_chunking_module
(self, module_type, chunk_func_name, trace_func, script_func)
examples/PyTorch/Inference/CUDA/AlphaFold/FoldAcc/foldacc/foldacc.py:70
↓ 11 callersMethodapply
tao_compiler/mlir/disc/tools/disc-transform/TransformOps/TransformOpsExt.cc:179
↓ 11 callersFunctionbuild
(args)
tensorflow_blade/build.py:246
↓ 11 callersFunctioncheck_env_flag
(name, default=None)
pytorch_blade/torch_blade_build.py:21
↓ 11 callersMethodcheck_output
(model, opt_model, shape)
pytorch_blade/tests/tensorrt/test_holder_serialize.py:65
↓ 11 callersFunctioncreateLoopAndSetInsPt
tao_compiler/mlir/disc/transforms/lhlo_elemental_utils.cc:1130
↓ 11 callersMethodcycles_graph_node_id
The ID of the cluster as represented in `cycles_graph_`.
tao/tao_bridge/passes/tao_mark_for_compilation_pass.cc:183
↓ 11 callersMethoddealloc
tao_compiler/mlir/xla/ral/context/base/base_context.cc:123
↓ 11 callersFunctionexport
Given a PyTorch model, we first replace submodules (specified in allow_tracing) with a tracing torchscript. Then we export torchscript throug
pytorch_blade/torch_blade/exporter.py:142
↓ 11 callersMethodfind
(self, group: int)
pytorch_blade/torch_blade/clustering/support_fusion_algorithm.py:31
↓ 11 callersFunctiongetDimValue
tao_compiler/mlir/disc/tools/disc-transform/LinalgExt/LinalgExtOps.cc:76
↓ 11 callersFunctiongetFactory
tao_compiler/mlir/disc/transforms/lhlo_elemental_utils.cc:160
↓ 11 callersMethodgetFusionType
Returns the fusion kind of the fusion pattern.
tao_compiler/mlir/disc/transforms/fusion_utils.h:321
↓ 11 callersMethodhas_path
(self, src: int, dst: int)
pytorch_blade/torch_blade/algorithm/directed_graph.py:62
↓ 11 callersFunctionisCandidateShapeTensorType
Returns true if the type is possible to be a shape tensor type. Here shape tensor type is defined as follow: - rank-1 static-shaped tensor type - elem
tao_compiler/mlir/disc/transforms/disc_shape_optimization.cc:269
↓ 11 callersMethodmerge
Returns false if failed to merge.
tao_compiler/mlir/disc/transforms/fusion_utils.cc:1869
↓ 11 callersFunctionprint_logger
(log_func, text)
examples/PyTorch/Inference/CUDA/AlphaFold/FoldAcc/foldacc/optimization/utils.py:17
↓ 11 callersMethodto_type
TODO(xpz): not a good name
tao_compiler/mlir/xla/ral/context/mkldnn/ideep/ideep/tensor.hpp:754
↓ 10 callersMethodContains
tao/tao_bridge/tf/ordered_set.h:73
↓ 10 callersMethodDebugString
tao/tao_bridge/kernels/tao_compilation_cache.cc:1498
↓ 10 callersMethodGetNameFor
tao/tao_bridge/tf/device_util.h:119
↓ 10 callersMethodHasEdge
tao_compiler/mlir/disc/utils/cycle_detector.cc:89
↓ 10 callersMethodInsertEdge
tao_compiler/mlir/disc/utils/cycle_detector.cc:108
↓ 10 callersMethodSetCustomValue
tao/tao_bridge/kernels/tao_compilation_info_collector.h:161
↓ 10 callersMethodUpdateShapeCompileStatus
tao/tao_bridge/kernels/tao_compilation_info_collector.cc:623
↓ 10 callersFunctiongcc_env
Change the PATH and LD_LIBRARY_PATH to given GCC environment, these env vars will be restored when it's done.
scripts/python/tao_common.py:118
↓ 10 callersMethodgenerate_subgraph_from_segment
Split a GraphDef to a main GraphDef and several sub GraphDef according to segments. Parameters ---------- add_function_def :
tensorflow_blade/tf_blade/util/simple_graph.py:739
↓ 10 callersFunctiongetConstantLike
tao_compiler/mlir/disc/transforms/mhlo_decomp_rewriters.cc:48
↓ 10 callersFunctiongetDim
tao_compiler/mlir/disc/tools/disc-transform/LinalgExt/LinalgExtOps.cc:86
↓ 10 callersFunctiongetShuffleElemType
tao_compiler/mlir/disc/transforms/lhlo_legalize_roots_to_loops.cc:884
↓ 10 callersMethodhas_path_dfs
(self, x: int, y: int)
pytorch_blade/torch_blade/algorithm/directed_graph.py:121
↓ 10 callersFunctionisWeightPrePackingEnabled
tao_compiler/mlir/xla/ral/context/common_context_impl_mkldnn.cc:135
↓ 10 callersFunctionlowerHelper
tao_compiler/mlir/disc/transforms/lhlo_legalize_roots_to_loops.cc:225
↓ 10 callersMethodname
static */
tao_compiler/mlir/xla/ral/device/gpu/gpu_driver.cc:106
↓ 10 callersFunctionpadding_feat
(feat:torch.Tensor, ps1:torch.Tensor, ps2:torch.Tensor, is_mask:bool=False)
examples/PyTorch/Inference/CUDA/AlphaFold/FoldAcc/foldacc/model/modules/utils.py:25
↓ 10 callersMethodsetDominantOp
Sets the dominant op to the op provided.
tao_compiler/mlir/disc/transforms/fusion_utils.h:318
↓ 10 callersMethodtranspose
tao_compiler/mlir/xla/ral/context/mkldnn/ideep/ideep/tensor.hpp:937
↓ 10 callersMethodupdateIfNotEqual
return true if updated.
tao_compiler/mlir/disc/transforms/fusion_utils.cc:1897
↓ 9 callersFunctionConvertDenseIntAttr
tao_compiler/mlir/disc/transforms/disc_pdl_utils.cc:62
↓ 9 callersFunctionGetAttrString
pytorch_blade/pytorch_blade/compiler/mlir/converters/mhlo_conversion.cpp:67
↓ 9 callersMethodHasEdge
tao/tao_bridge/tf/graphcycles.cc:149
↓ 9 callersMethodResetCondId
tao/tao_bridge/passes/functionalize_cond.cc:199
↓ 9 callersFunction_config
(cfg_name, cmd="build")
tensorflow_blade/build.py:134
↓ 9 callersFunctionadd_to_tar
(tar, file, dir_in_tar="", name_in_tar="")
scripts/python/tao_build.py:650
↓ 9 callersMethodasSEStream
tao_compiler/mlir/xla/ral/device/gpu/gpu_driver.cc:247
↓ 9 callersFunctionchunk_layer
Implements the "chunking" procedure described in section 1.11.8. Layer outputs and inputs are assumed to be simple "pytrees," consisting
examples/PyTorch/Inference/CUDA/AlphaFold/FoldAcc/foldacc/model/modules/utils.py:281
↓ 9 callersMethodclear
(self)
pytorch_blade/torch_blade/algorithm/directed_graph.py:65
↓ 9 callersFunctioncreateAlignMemrefWithTile
tao_compiler/mlir/disc/transforms/codegen_utils.cc:651
↓ 9 callersFunctionend
pytorch_blade/pytorch_blade/ltc/include/torch/csrc/lazy/ts_backend/view_ops/select.h:42
↓ 9 callersMethodgetShape
Returns the shape of the denseElementsAttr
tao_compiler/mlir/xla/ral/context/pdll_util.h:97
↓ 9 callersMethodhas_op_kind
tao_compiler/mlir/xla/ral/context/mkldnn/ideep/ideep/attributes.hpp:61
↓ 9 callersFunctionisElementWise
Returns true if the op is an elementwise lmhlo op. TODO(disc): use fusibility interface
tao_compiler/mlir/disc/transforms/fusion_utils.cc:443
↓ 9 callersFunctionload_model_info
(task: Optional[str] = None, id_or_path: Optional[str] = None, config: Optional[Pretrained
examples/PyTorch/Inference/hf_transformers/blade_adapter.py:81
↓ 9 callersMethodndims
Returns number of dimensions
tao_compiler/mlir/xla/ral/context/mkldnn/ideep/ideep/tensor.hpp:593
↓ 9 callersMethodreinit_if_possible
tao_compiler/mlir/xla/ral/context/mkldnn/ideep/ideep/tensor.hpp:538
↓ 9 callersMethodreorder_to
tao_compiler/mlir/xla/ral/context/mkldnn/ideep/ideep/tensor.hpp:763
↓ 8 callersFunctionDeviceNameToDeviceType
tao/tao_bridge/tf/device_util.cc:92
↓ 8 callersFunctionDumpGraph
tao/tao_bridge/passes/tao_optimization_pass.cc:37
↓ 8 callersMethodErase
Removes `value` from the set. Assumes `value` is already present in the set.
tao/tao_bridge/tf/ordered_set.h:50
↓ 8 callersFunctionGetContextValueFromFunctionArguments
Suppose that the first argument of the function is the ctx value
tao_compiler/mlir/disc/transforms/disc_lower_to_library_call.cc:77
↓ 8 callersFunctionGetDefaultStreamHandle
Currently we only use a single stream. Re-visit this if necessary.
tao_compiler/mlir/disc/transforms/disc_lower_to_library_call.cc:89
↓ 8 callersFunctionGetInputsForNode
tao/tao_bridge/passes/tao_partially_decluster_pass_test.cc:127
↓ 8 callersFunctionIsOpWriteValue
tao_compiler/mlir/disc/disc_util.cc:53
↓ 8 callersMethodMakeAndPredicate
tao/tao_bridge/tf/deadness_analysis.cc:375
↓ 8 callersMethodSetCallTimestamp
tao/tao_bridge/kernels/tao_compilation_info_collector.cc:545
↓ 8 callersMethodSize
tao_compiler/mlir/disc/utils/cycle_detector.h:82
↓ 8 callersMethodTensorInfo
pytorch_blade/pytorch_blade/compiler/backends/backend_input_outputs.cpp:147
↓ 8 callersMethod_calculate_model_output
( self, model, allow_tracing=None, model_inputs=None )
pytorch_blade/tests/tensorrt/test_optimize.py:71
↓ 8 callersMethod_test_unary_ops
(self, unary_ops_func, test_data=None)
pytorch_blade/tests/disc/ops/test_unary_ops.py:19
↓ 8 callersFunctionapplyACLThreadPoolConfigIfNotSet
tao_compiler/mlir/xla/ral/context/common_context_impl_mkldnn.cc:98
↓ 8 callersFunctionbitonicSort256_256
tao_compiler/mlir/xla/ral/context/custom_library/bitonic_sort.cu.h:345
↓ 8 callersFunctionbuildCacheRead
tao_compiler/mlir/disc/transforms/disc_transform_schedule.cc:192
↓ 8 callersFunctioncreateDiscShapeOptimizationPass
tao_compiler/mlir/disc/transforms/disc_shape_optimization.cc:2044
↓ 8 callersFunctioncreate_ctx
(model: nn.Module)
tools/torch_quant/tests/models.py:21
↓ 8 callersFunctionextendShuffleElemType
tao_compiler/mlir/disc/transforms/lhlo_legalize_roots_to_loops.cc:1265
↓ 8 callersFunctionfillNHWC
tao_compiler/mlir/disc/transforms/conv_rewriter.cc:136
↓ 8 callersFunctiongatherTensorTypes
for each node in the schema with type Tensor, extract the T type returns c10::nullopt if any Tensor in the schema does not have a known shape ignores
pytorch_blade/pytorch_blade/compiler/jit/torch/shape_analysis.cpp:261
↓ 8 callersMethodgetDimSize
tao_compiler/mlir/disc/IR/disc_shape_ops.cc:313
↓ 8 callersMethodgetFunc
Returns the func op this analysis object runs on.
tao_compiler/mlir/disc/transforms/disc_shape_optimization.cc:682
↓ 8 callersFunctiongetFusionName
Returns the name of the fusion op
tao_compiler/mlir/disc/transforms/fusion_utils.cc:247
↓ 8 callersFunctiongetFusionType
tao_compiler/mlir/disc/transforms/fusion_utils.cc:234
↓ 8 callersFunctionget_compatible_dilates
tao_compiler/mlir/xla/ral/context/mkldnn/ideep/ideep/utils.hpp:86
← previousnext →201–300 of 6,088, ranked by callers