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
build_mkldnn
(root)
pytorch_blade/common_setup.py:341
↓ 1 callers
Function
build_nxgraph_of_nodes
(block)
pytorch_blade/torch_blade/utils.py:77
↓ 1 callers
Function
build_onnx_engine
( module, group_id, _try_build_onnx_engine, disable_fallback=False, dynamic_settings=None,
pytorch_blade/torch_blade/onnx_backends/backend_conversion.py:128
↓ 1 callers
Function
build_tao_bridge
(root, args)
scripts/python/tao_build.py:480
↓ 1 callers
Function
build_tao_compiler
(root, args)
scripts/python/tao_build.py:281
↓ 1 callers
Function
build_tao_compiler_add_flags_platform_alibaba
(root, args, flag)
pytorch_blade/common_setup.py:594
↓ 1 callers
Function
build_tao_compiler_add_flags_platform_alibaba_cached
(root, flag)
pytorch_blade/common_setup.py:758
↓ 1 callers
Function
builder_flags_context
(flags: int)
tensorflow_blade/tf_blade/gpu/tf_to_trt.py:36
↓ 1 callers
Function
calc_quant_min_max
(bit: int, signed: bool)
tools/torch_quant/torch_quant/observer.py:186
↓ 1 callers
Method
calib_gm
( self, name: str, gm: GraphModule, root: nn.Module, ob_types: ObserverTypes )
tools/torch_quant/torch_quant/quantizer.py:106
↓ 1 callers
Function
calibrate
(model, dataloader, device)
examples/PyTorch/Quantization/bert_ptq.py:84
↓ 1 callers
Method
call
tao_compiler/mlir/xla/ral/ral_context.cc:106
↓ 1 callers
Function
canBeHoisted
Checks whether the given op can be hoisted by checking that - the op and none of its contained operations depend on values inside of the loop (by mean
tao_compiler/mlir/disc/transforms/disc_outline_cpu_kernel.cc:228
↓ 1 callers
Function
canFuseOnCPULegacy
pytorch_blade/pytorch_blade/ltc/disc_compiler/passes/graph_fuser.cpp:1281
↓ 1 callers
Function
canPropagateShapeByRunningIt
pytorch_blade/pytorch_blade/compiler/jit/torch/shape_analysis.cpp:446
↓ 1 callers
Function
can_merge
(u, v)
pytorch_blade/torch_blade/clustering/support_fusion_algorithm.py:178
↓ 1 callers
Function
check
(args)
scripts/python/bazel_snapshot_client.py:94
↓ 1 callers
Function
checkGlobalOpContent
Returns true if the globalOp has the same value as `value`.
tao_compiler/mlir/disc/transforms/disc_to_llvm.cc:171
↓ 1 callers
Function
checkIsOnlyNonShapeUser
tao_compiler/mlir/disc/transforms/disc_transpose_simplifier.cc:630
↓ 1 callers
Function
check_init_file_miss
(path, ignore_root=False)
tensorflow_blade/build.py:80
↓ 1 callers
Function
check_inputs
( # noqa: C901 simple_graph: SimpleGraph, current_node: SimpleNode, pattern_nodes: Dict[str, Simp
tensorflow_blade/tf_blade/util/tf_graph_transform_util.py:736
↓ 1 callers
Function
check_loss
(ref_loss, res_loss)
examples/PyTorch/Train/Lazy/Bert/bert_train_ltc.py:175
↓ 1 callers
Function
check_loss
(ref_loss, res_loss)
examples/PyTorch/Train/Dynamo/Bert/test_bert.py:192
↓ 1 callers
Function
check_min_max_valid
(min_val: torch.Tensor, max_val: torch.Tensor)
tools/torch_quant/torch_quant/observer.py:37
↓ 1 callers
Function
check_results
(results0, results1)
examples/PyTorch/Inference/CPU/albert/main.py:170
↓ 1 callers
Function
cleanUp
tao_compiler/mlir/disc/transforms/disc_shape_optimization.cc:1890
↓ 1 callers
Method
clean_tmp
(self)
examples/PyTorch/Inference/CUDA/AlphaFold/FoldAcc/foldacc/foldacc.py:59
↓ 1 callers
Function
cleanup_building_env
(root)
scripts/python/common_setup.py:769
↓ 1 callers
Function
cleanup_building_env
(root)
pytorch_blade/common_setup.py:769
↓ 1 callers
Method
clear
tao_compiler/mlir/xla/ral/context/mkldnn/ideep/ideep/lru_cache.hpp:96
↓ 1 callers
Method
clearError
tao_compiler/mlir/xla/ral/ral_context.cc:180
↓ 1 callers
Method
clear_attribute
(self)
pytorch_blade/torch_blade/quantization/prepare_data.py:216
↓ 1 callers
Method
clear_buffers
tao/tao_bridge/executable.h:136
↓ 1 callers
Function
clear_class_registry
()
pytorch_blade/torch_blade/testing/common_utils.py:59
↓ 1 callers
Function
cloneFusion
tao_compiler/mlir/disc/transforms/disc_specialize_fusion_with_speculation.cc:94
↓ 1 callers
Function
cloneRegionAndRemapLoad
This method is revised from Region::cloneinto() TODO: any easier ways?
tao_compiler/mlir/disc/transforms/revise_kernel_outlining.cc:146
↓ 1 callers
Method
cloneSymbolGroup
tao_compiler/mlir/disc/transforms/disc_shape_optimization_utils.cc:692
↓ 1 callers
Function
cloneWithBroadcastSimplifying
tao_compiler/mlir/disc/transforms/disc_specialize_fusion_with_speculation.cc:148
↓ 1 callers
Function
clz
tao_compiler/mlir/xla/ral/context/mkldnn/ideep/ideep/utils.hpp:145
↓ 1 callers
Function
cmdOptionExists
pytorch_blade/tests/torchscript/shape_analysis_tool.cpp:86
↓ 1 callers
Method
collect
(self, inputs: List[torch.Tensor])
pytorch_blade/torch_blade/quantization/prepare_data.py:36
↓ 1 callers
Function
collect_engines
Collect all engines in a script_module of the group type
pytorch_blade/torch_blade/tensorrt/__init__.py:40
↓ 1 callers
Function
collect_engines_in_block
(block)
pytorch_blade/torch_blade/utils.py:174
↓ 1 callers
Function
compareSymbolicDimProduct
Gives a consistent order of a list op SymbolicDimProducts
tao_compiler/mlir/disc/transforms/disc_shape_optimization_utils.cc:60
↓ 1 callers
Method
compressed_meta
tao_compiler/mlir/xla/ral/context/cuda_impl_sparse.cc:156
↓ 1 callers
Method
compressed_weight
tao_compiler/mlir/xla/ral/context/cuda_impl_sparse.cc:155
↓ 1 callers
Function
computeElementOffsetsFromVectorSliceOffsets
tao_compiler/mlir/disc/tools/disc-transform/TransformOps/TransformOpsExt.cc:1601
↓ 1 callers
Function
computeStrides
tao_compiler/mlir/disc/tools/disc-transform/TransformOps/TransformOpsExt.cc:1586
↓ 1 callers
Function
compute_scales
tao_compiler/mlir/xla/ral/context/mkldnn/ideep/ideep/utils.hpp:126
↓ 1 callers
Function
config_mkldnn
(root, args)
pytorch_blade/common_setup.py:269
↓ 1 callers
Function
configure
(root, args)
scripts/python/tao_build.py:274
↓ 1 callers
Function
configureGpuToROCDLConversionLegality
tao_compiler/mlir/disc/transforms/disc_lower_gpu_ops_to_rocdl_ops.cc:124
↓ 1 callers
Function
configure_bridge
(root, args)
scripts/python/tao_build.py:174
↓ 1 callers
Function
configure_bridge_platform_alibaba
(root, args)
scripts/python/common_setup.py:583
↓ 1 callers
Function
configure_compiler
(root, args)
scripts/python/tao_build.py:136
↓ 1 callers
Function
configure_compiler_platform_alibaba
(root, args)
scripts/python/common_setup.py:589
↓ 1 callers
Function
const_unroll
pytorch_blade/pytorch_blade/compiler/jit/torch/const_loop_unroll.cpp:130
↓ 1 callers
Function
containsTensorType
pytorch_blade/pytorch_blade/compiler/jit/torch/shape_analysis.cpp:245
↓ 1 callers
Function
convertQuantizedConv2DWithBiasAndRequantizeOp
tao_compiler/mlir/disc/transforms/lower_tf.cc:1155
↓ 1 callers
Function
convertToLaunchFuncOp
Replace `parallel` operations with an `disc_ral.cpu_launch` operation launching `kernelFunc`. The kernel func contains the body of the `parallelOp` wi
tao_compiler/mlir/disc/transforms/disc_outline_cpu_kernel.cc:211
↓ 1 callers
Function
convertValuesIfIntegerType
tao_compiler/mlir/disc/transforms/lhlo_elemental_utils.cc:1381
↓ 1 callers
Function
convertWorkgroupBuffer
tao_compiler/mlir/disc/transforms/revise_kernel_outlining.cc:357
↓ 1 callers
Function
convert_chunk_layer
(module, inputs, config, device)
examples/PyTorch/Inference/CUDA/AlphaFold/FoldAcc/foldacc/optimization/torchscript_optimize.py:55
↓ 1 callers
Function
cpu_dealloc
tao_compiler/mlir/xla/ral/context/base/cpu/cpu_context_impl.cc:41
↓ 1 callers
Function
cpu_support_vnni
()
pytorch_blade/tests/disc/pdl/test_e2e/test_quantization.py:26
↓ 1 callers
Function
createDiscAssignKernelNamePass
tao_compiler/mlir/disc/transforms/disc_assign_kernel_name.cc:98
↓ 1 callers
Function
createDiscAssignMemorySpacePass
tao_compiler/mlir/disc/transforms/disc_assign_memory_space.cc:613
↓ 1 callers
Function
createDiscBufferDeallocationPass
tao_compiler/mlir/disc/transforms/disc_buffer_deallocation.cc:116
↓ 1 callers
Function
createDiscCompIntensFusionToCUDASourcePass
tao_compiler/mlir/disc/transforms/disc_comp_intens_fusion_to_cuda_source.cc:681
↓ 1 callers
Function
createDiscCompIntensFusionToFuncPass
tao_compiler/mlir/disc/transforms/disc_comp_intens_fusion_to_func.cc:114
↓ 1 callers
Function
createDiscConstToRALPass
tao_compiler/mlir/disc/transforms/disc_convert_const_to_ral.cc:223
↓ 1 callers
Function
createDiscConvRewriter
tao_compiler/mlir/disc/transforms/conv_rewriter.cc:479
↓ 1 callers
Function
createDiscConvertFakeQuantOpPass
tao_compiler/mlir/disc/transforms/disc_convert_fake_quant_op.cc:323
↓ 1 callers
Function
createDiscConvertForeachThreadOpToParallelOpPass
tao_compiler/mlir/disc/tools/disc-transform/transforms/convert_foreach_thread_op_to_parallel_op.cc:82
↓ 1 callers
Function
createDiscConvertHloToStandardPass
tao_compiler/mlir/disc/transforms/disc_hlo_to_std.cc:154
↓ 1 callers
Function
createDiscConvertTensorToStandardPass
tao_compiler/mlir/disc/transforms/disc_tensor_to_std.cc:125
↓ 1 callers
Function
createDiscCpuMapParallelLoopPass
tao_compiler/mlir/disc/transforms/disc_cpu_map_parallel_loop.cc:170
↓ 1 callers
Function
createDiscCustomCallRewriterPass
tao_compiler/mlir/disc/transforms/disc_custom_call_rewriter.cc:148
↓ 1 callers
Function
createDiscDenseToSparsePass
tao_compiler/mlir/disc/transforms/disc_dense_to_sparse.cc:551
↓ 1 callers
Function
createDiscDotMergePass
tao_compiler/mlir/disc/transforms/disc_dot_merge.cc:901
↓ 1 callers
Function
createDiscDotRewriterPass
tao_compiler/mlir/disc/transforms/dot_rewriter.cc:855
↓ 1 callers
Function
createDiscDuplicateComputationAfterFusionPass
tao_compiler/mlir/disc/transforms/disc_duplicate_computation_after_fusion.cc:109
↓ 1 callers
Function
createDiscDuplicateComputationForFusionPass
tao_compiler/mlir/disc/transforms/disc_duplicate_computation_for_fusion.cc:354
↓ 1 callers
Function
createDiscDynamicSliceConverterPass
tao_compiler/mlir/disc/transforms/disc_dynamic_slice_converter.cc:156
↓ 1 callers
Function
createDiscElementTypeConverterPass
tao_compiler/mlir/disc/transforms/element_type_converter.cc:265
↓ 1 callers
Function
createDiscFlattenMemrefAccessPass
tao_compiler/mlir/disc/transforms/disc_flatten_memref_access.cc:101
↓ 1 callers
Function
createDiscFuseSplatConstPass
tao_compiler/mlir/disc/transforms/disc_fuse_splat_const.cc:113
↓ 1 callers
Function
createDiscFusionPass
tao_compiler/mlir/disc/transforms/lhlo_fusion.cc:916
↓ 1 callers
Function
createDiscGPUSourceToLibPass
tao_compiler/mlir/disc/transforms/disc_gpu_source_to_lib.cc:302
↓ 1 callers
Function
createDiscGpuConvPaddingLegalization
tao_compiler/mlir/disc/transforms/gpu_conv_padding.cc:227
↓ 1 callers
Function
createDiscInputInlineFusionPass
This pass works after LhloLegalizeRootsToParallelLoops pass for the XLA-style fusion codegen.
tao_compiler/mlir/disc/transforms/input_inline_fusion_pass.cc:59
↓ 1 callers
Function
createDiscLegalizeLmhloFusionToLinalgPass
tao_compiler/mlir/disc/tools/disc-transform/transforms/legalize_lmhlo_fusion_to_linalg.cc:445
↓ 1 callers
Function
createDiscLegalizeToLhloPass
tao_compiler/mlir/disc/transforms/disc_hlo_legalize_to_lhlo.cc:291
↓ 1 callers
Function
createDiscLhloLegalizeRootsToParallelLoopsPass
tao_compiler/mlir/disc/transforms/lhlo_legalize_roots_to_loops.cc:5670
↓ 1 callers
Function
createDiscLowerGpuOpsToNVVMOpsPass
tao_compiler/mlir/disc/transforms/disc_lower_gpu_ops_to_nvvm_ops.cc:211
↓ 1 callers
Function
createDiscLowerGpuOpsToROCDLOpsPass
tao_compiler/mlir/disc/transforms/disc_lower_gpu_ops_to_rocdl_ops.cc:264
↓ 1 callers
Function
createDiscLowerGpuQuantizeAndDequantizePass
tao_compiler/mlir/disc/transforms/disc_lower_quantize_and_dequantize.cc:249
↓ 1 callers
Function
createDiscLowerQuantizeAndDequantizePass
tao_compiler/mlir/disc/transforms/disc_lower_quantize_and_dequantize.cc:244
↓ 1 callers
Function
createDiscLowerToLibraryCallPass
tao_compiler/mlir/disc/transforms/disc_lower_to_library_call.cc:937
↓ 1 callers
Function
createDiscMarkShapeCalcOpPass
tao_compiler/mlir/disc/transforms/mhlo_mark_shape_calc.cc:183
← previous
next →
1,901–2,000 of 6,088, ranked by callers