Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/BladeDISC
/ functions
Functions
6,088 in github.com/alibaba/BladeDISC
⨍
Functions
6,088
◇
Types & classes
1,279
↳
Endpoints
6
↓ 1 callers
Function
RandomSeed
tao/tao_bridge/tf/graphcycles_test.cc:32
↓ 1 callers
Method
ReadBytesFromFile
pytorch_blade/pytorch_blade/common_utils/tempfs.cpp:105
↓ 1 callers
Method
ReadStringFromFile
pytorch_blade/pytorch_blade/common_utils/tempfs.cpp:113
↓ 1 callers
Function
ReadTensorFromPb
tao_compiler/mlir/disc/tools/disc-replay/record.cc:33
↓ 1 callers
Function
RealMain
tao_compiler/mlir/disc/disc_compiler_main.cc:167
↓ 1 callers
Function
RealMain
tao_compiler/mlir/disc/tools/disc-replay/disc_replay_main.cc:20
↓ 1 callers
Function
RealMain
tao_compiler/decoupling/tao_compiler_main.cc:74
↓ 1 callers
Method
RecordArg
tao/tao_bridge/passes/tao_encapsulate_subgraphs_pass.cc:778
↓ 1 callers
Method
RecordComputationStart
tao/tao_bridge/kernels/profiling.cc:32
↓ 1 callers
Method
RecordOutsideCompilationDependency
tao/tao_bridge/passes/tao_encapsulate_subgraphs_pass.cc:897
↓ 1 callers
Method
RecordOutsideCompilationInputOrControl
tao/tao_bridge/passes/tao_encapsulate_subgraphs_pass.cc:863
↓ 1 callers
Method
RecordOutsideCompilationOutputOrControl
tao/tao_bridge/passes/tao_encapsulate_subgraphs_pass.cc:876
↓ 1 callers
Function
RecordReplay
pytorch_blade/pytorch_blade/ltc/disc_compiler/disc_compiler.cpp:107
↓ 1 callers
Method
RecordResult
tao/tao_bridge/passes/tao_encapsulate_subgraphs_pass.cc:824
↓ 1 callers
Method
RegisterCancellationAction
tao/tao_bridge/kernels/tao_compilation_cache.cc:129
↓ 1 callers
Function
RegisterDialects
pytorch_blade/pytorch_blade/compiler/mlir/converters/mhlo_conversion.cpp:154
↓ 1 callers
Function
RegisterDiscClass
pytorch_blade/pytorch_blade/ltc/disc_compiler/passes/register_disc_class.cpp:125
↓ 1 callers
Method
RegisterExecutable
tao/tao_bridge/executable.cc:355
↓ 1 callers
Function
RegisterOnce
tao_compiler/mlir/disc/IR/disc_tf_additional_ops.cc:58
↓ 1 callers
Function
Reindent
tao/tao_bridge/tf/util.cc:72
↓ 1 callers
Method
Remove
tao/tao_bridge/tf/shape_inference_helpers.cc:27
↓ 1 callers
Method
RemoveCancellationAction
tao/tao_bridge/kernels/tao_compilation_cache.cc:143
↓ 1 callers
Function
RenumberArguments
Renumber the indices of _Arg nodes in a graph, according to 'permutation' that maps old indices to new indices.
tao/tao_bridge/passes/tao_encapsulate_subgraphs_pass.cc:2581
↓ 1 callers
Function
RenumberResults
Renumber the indices of _Arg nodes in a graph, according to 'permutation' that maps old indices to new indices.
tao/tao_bridge/passes/tao_encapsulate_subgraphs_pass.cc:2613
↓ 1 callers
Function
Reorder
tao/tao_bridge/tf/graphcycles.cc:250
↓ 1 callers
Function
Reorder
Recomputes rank assignments to make them compatible with the edges (producer has smaller rank than its consumer)
tao_compiler/mlir/disc/utils/cycle_detector.cc:201
↓ 1 callers
Function
ReplaceDiscClass
ReplaceDiscClass replace the disc node with prim::CallMethod
pytorch_blade/pytorch_blade/ltc/disc_compiler/passes/register_disc_class.cpp:86
↓ 1 callers
Method
ReplaceFunctionDef
tao/tao_bridge/passes/tao_encapsulate_subgraphs_pass.cc:1247
↓ 1 callers
Function
ReplaceNodeWithTaoLaunchOp
tao/tao_bridge/passes/tao_build_tao_op_pass.cc:291
↓ 1 callers
Function
ReplaceTemplateValue
tao_compiler/mlir/disc/tests/mlir_feature_test.cc:56
↓ 1 callers
Method
Report
tao/tao_bridge/kernels/launch_base.h:259
↓ 1 callers
Method
ReserveRandomOutputs
Reserve enough random samples in the generator for the given output count.
tao_compiler/mlir/xla/ral/context/random_impl.cc:86
↓ 1 callers
Function
ResetClusterSequenceNumber
tao/tao_bridge/passes/tao_mark_for_compilation_pass.cc:2770
↓ 1 callers
Function
ResourceOpSetToString
tao/tao_bridge/tf/resource_operation_safety_analysis.cc:245
↓ 1 callers
Function
RestoreEnv
tao/tao_bridge/dumper_common_test.cc:40
↓ 1 callers
Function
RestoreEnv
tao/tao_bridge/common_test.cc:40
↓ 1 callers
Function
RetCheckFail
tao/tao_bridge/errors_test.cc:20
↓ 1 callers
Function
RetCheckFailWithExtraMessage
tao/tao_bridge/errors_test.cc:25
↓ 1 callers
Function
RetCheckSuccess
tao/tao_bridge/errors_test.cc:30
↓ 1 callers
Function
RewriteLLVMModule
tao_compiler/mlir/disc/disc_compiler.cc:92
↓ 1 callers
Method
Run
tao/tao_bridge/executable.cc:176
↓ 1 callers
Method
Run
tao/tao_bridge/passes/tao_build_tao_op_pass.cc:377
↓ 1 callers
Method
Run
tao_compiler/mlir/xla/ral/context/custom_library/random_gpu.cu.cc:125
↓ 1 callers
Method
Run
Returns a fusion plan if success, otherwise none.
tao_compiler/mlir/disc/transforms/lhlo_fusion.cc:137
↓ 1 callers
Method
Run
pytorch_blade/pytorch_blade/ltc/disc_compiler/disc_compiler_test.cpp:22
↓ 1 callers
Method
RunInternal
tao/tao_bridge/tf/lower_while_op.cc:193
↓ 1 callers
Method
SaveCurrentContext
tao_compiler/mlir/xla/ral/context/init_stream_executor.cc:44
↓ 1 callers
Method
Serialize
pytorch_blade/pytorch_blade/compiler/backends/engine_class.cpp:235
↓ 1 callers
Method
SerializeAsString
pytorch_blade/pytorch_blade/compiler/tensorrt/tensorrt_engine_context.cpp:162
↓ 1 callers
Function
SerializeFunctionLibrary
Currently, we use a TF function to represent a compilable subgraph. TF function can be arbitrarily nested both using explict way (e.g. a call node) an
tao/tao_bridge/kernels/tao_compilation_cache.cc:760
↓ 1 callers
Function
SetArgvFromEnv
Call ParseArgvFromString(..., a) on a string derived from the setting of an environment variable kEnvVar, or a file it points to.
tao/tao_bridge/tf/parse_flags_from_env.cc:139
↓ 1 callers
Method
SetDType
pytorch_blade/pytorch_blade/compiler/backends/backend_input_outputs.cpp:141
↓ 1 callers
Method
SetFunctionGraph
tao/tao_bridge/kernels/tao_compilation_info_collector.cc:399
↓ 1 callers
Function
SetterForXlaAutoJitFlag
tao/tao_bridge/tf/flags.cc:41
↓ 1 callers
Function
ShapePropagator
pytorch_blade/pytorch_blade/compiler/jit/torch/shape_analysis.cpp:378
↓ 1 callers
Method
ShouldFallback
pytorch_blade/pytorch_blade/compiler/backends/engine_interface.h:69
↓ 1 callers
Function
SortInPostOrder
tao/tao_bridge/tf/graphcycles.cc:423
↓ 1 callers
Function
SortInPostOrder
tao_compiler/mlir/disc/utils/cycle_detector.cc:319
↓ 1 callers
Method
SplitIntoSubgraphs
tao/tao_bridge/passes/tao_encapsulate_subgraphs_pass.cc:1587
↓ 1 callers
Method
SuccessorsCopy
tao/tao_bridge/tf/graphcycles.cc:412
↓ 1 callers
Method
SuccessorsCopy
tao_compiler/mlir/disc/utils/cycle_detector.cc:314
↓ 1 callers
Method
SyncOutputsMem
tao/tao_bridge/kernels/launch_base.cc:256
↓ 1 callers
Function
TSData
pytorch_blade/pytorch_blade/ltc/include/torch/csrc/lazy/ts_backend/ts_backend_impl.h:25
↓ 1 callers
Method
Tag
tao/tao_bridge/passes/tao_feature_detector.h:28
↓ 1 callers
Method
ToString
tao/tao_bridge/passes/functionalize_cond.cc:166
↓ 1 callers
Function
TopologicalClusterSort
Return in 'sorted' a topological sort of clusters according to the dependencies encoded in ancestors. clusters is the list of all clusters including c
tao/tao_bridge/passes/tao_encapsulate_subgraphs_pass.cc:676
↓ 1 callers
Method
TotalAllocatedBytes
tao_compiler/mlir/xla/ral/context/stream_executor_based_impl.cc:1261
↓ 1 callers
Function
TransformGraph
Python wrapper for the Graph Transform Tool. Gives access to all graph transforms available through the command line tool. See docume
tensorflow_blade/tf_blade/util/graph_transform.py:30
↓ 1 callers
Function
TryMergeDotClusters
The `src` cluster will be cleared if the merge is succeed.
tao_compiler/mlir/disc/transforms/disc_dot_merge.cc:97
↓ 1 callers
Function
TryMergeQuantizedDotClusters
The `src` cluster will be cleared if the merge is succeed.
tao_compiler/mlir/disc/transforms/disc_quantized_dot_merge.cc:82
↓ 1 callers
Function
Uint32ToFloat
Helper function to convert an 32-bit integer to a float between [0..1).
tao_compiler/mlir/xla/ral/context/custom_library/random.h:137
↓ 1 callers
Method
UpdateOPHistogram
tao/tao_bridge/kernels/tao_compilation_info_collector.cc:605
↓ 1 callers
Method
UpdatePerfStats
tao/tao_bridge/kernels/tao_compilation_info_collector.cc:929
↓ 1 callers
Method
UpdateShapeCallInfo
tao/tao_bridge/kernels/tao_compilation_info_collector.cc:518
↓ 1 callers
Method
UpdateUnclusteredOPHistogram
tao/tao_bridge/kernels/tao_compilation_info_collector.cc:614
↓ 1 callers
Method
Validate
pytorch_blade/pytorch_blade/compiler/backends/backend_input_outputs.cpp:41
↓ 1 callers
Function
ValidateMLIRGraph
Return true if the input mlir graph is valid, return false otherwise.
tao/tao_bridge/passes/tao_build_tao_op_pass.cc:170
↓ 1 callers
Function
VmodulesMapFromEnv
Returns a mapping from module name to VLOG level, derived from the TF_CPP_VMODULE environment variable; ownership is transferred to the caller.
tao_compiler/mlir/xla/ral/ral_logging.cc:81
↓ 1 callers
Function
XlaResourceOpKindForNode
Maps `n` to the XlaResourceOpKind corresponding to its operation. If `n` is not a resource operation recognized by XLA then sets `out_resource_op_kin
tao/tao_bridge/tf/resource_operation_safety_analysis.cc:102
↓ 1 callers
Function
__create_logger
Create a logger with color.
scripts/python/common_setup.py:90
↓ 1 callers
Function
__create_logger
Create a logger with color.
tensorflow_blade/common_internal.py:22
↓ 1 callers
Function
__create_logger
Create a logger with color.
pytorch_blade/common_setup.py:90
↓ 1 callers
Method
__init__
(self, model: torch.nn.Module, forward_default_args: List[Any], forward_default_kwargs: Dict[
examples/PyTorch/Inference/hf_transformers/blade_adapter.py:158
↓ 1 callers
Method
__init__
Args: c_in: Input channel dimension c_hidden: Overall hidden channel dimension (not p
examples/PyTorch/Inference/CUDA/AlphaFold/FoldAcc/foldacc/model/modules/triangle.py:169
↓ 1 callers
Method
__init__
( self, tf_dim: int, msa_dim: int, d_pair: int, d_msa: int, re
examples/PyTorch/Inference/CUDA/AlphaFold/FoldAcc/foldacc/model/modules/embedder.py:20
↓ 1 callers
Method
__init__
(self, name)
tensorflow_blade/common_internal.py:59
↓ 1 callers
Method
__init__
(self)
tensorflow_blade/tf_blade/common/tf_grappler.py:69
↓ 1 callers
Method
__init__
(self, c_module, calibration_data)
pytorch_blade/torch_blade/quantization/prepare_data.py:58
↓ 1 callers
Method
__init__
(self)
pytorch_blade/torch_blade/testing/common_utils.py:30
↓ 1 callers
Method
__init__
(self)
pytorch_blade/tests/test_tools.py:181
↓ 1 callers
Method
__init__
(self)
pytorch_blade/tests/test_export.py:76
↓ 1 callers
Method
__init__
(self)
pytorch_blade/tests/tensorrt/test_support_info.py:41
↓ 1 callers
Method
__init__
(self, device=torch.device('cuda'))
pytorch_blade/tests/disc/ops/test_matmul.py:19
↓ 1 callers
Function
_adapt_input_value
(graph, consumer_node, value)
pytorch_blade/torch_blade/clustering/support_group_conversion.py:81
↓ 1 callers
Function
_adapt_output_value
(graph, producer_node, value)
pytorch_blade/torch_blade/clustering/support_group_conversion.py:100
↓ 1 callers
Function
_add_deepcopy_func
(mod)
pytorch_blade/torch_blade/exporter.py:85
↓ 1 callers
Method
_add_graph_input_if_need
(self, old_node)
pytorch_blade/torch_blade/onnx_backends/backend_testbed.py:326
↓ 1 callers
Function
_add_tensor_observers
(graph)
pytorch_blade/torch_blade/tools/shape_inference.py:75
↓ 1 callers
Method
_adjust_min_max
( self, combined_min: torch.Tensor, combined_max: torch.Tensor, upsample_rate: int )
tools/torch_quant/torch_quant/observer.py:564
↓ 1 callers
Function
_aten_undefined
(container_map, local, graph, node)
pytorch_blade/torch_blade/python_ir_analysis.py:244
← previous
next →
1,601–1,700 of 6,088, ranked by callers