MCPcopy Create free account

hub / github.com/tile-ai/tilelang / types & classes

Types & classes525 in github.com/tile-ai/tilelang

↓ 345 callersClassint
tilelang/language/dtypes.py:353
↓ 181 callersClassdtype
tilelang/language/dtypes.py:14
↓ 152 callersClassfloat
tilelang/language/dtypes.py:357
↓ 47 callersClassLayout
tilelang/layout/layout.py:12
↓ 26 callersClassbool
tilelang/language/dtypes.py:351
↓ 21 callersClassEnvVar
Descriptor for managing access to a single environment variable. Purpose ------- In many projects, access to environment variables i
tilelang/env.py:203
↓ 20 callersClassFragment
A Fragment layout object that encapsulates iteration variables (forward_vars), thread iteration variables (forward_thread), and index transfo
tilelang/layout/fragment.py:12
↓ 11 callersClassBitLinear
examples/bitnet-1.58b/utils_quant.py:213
↓ 10 callersClassAnalyzer
A class to analyze the performance of a TVM IR module. It calculates metrics such as FLOPs, memory bandwidth, and estimated execution time.
tilelang/tools/Analyzer.py:34
↓ 10 callersClassCachedTextSource
tilelang/jit/adapter/base.py:16
↓ 9 callersClassJITNoBuilderError
Exception raised when JIT-related operations require a Builder but none exists. In eager mode, TileLang constructs AST directly without an e
tilelang/jit/exceptions.py:4
↓ 8 callersClassKernelCache
Caches compiled kernels using a class and database persistence to avoid redundant compilation. Cache files: kernel.cu: The compiled k
tilelang/cache/kernel_cache.py:32
↓ 8 callersClassLinear
Custom linear layer with support for quantized weights and optional bias. Args: in_features (int): Number of input features.
examples/deepseek_v32/inference/model.py:171
↓ 7 callersClassBitnetRMSNorm
examples/bitnet-1.58b/modeling_bitnet.py:88
↓ 7 callersClassCDNA
tilelang/carver/arch/cdna.py:24
↓ 7 callersClassCUDA
tilelang/carver/arch/cuda.py:124
↓ 7 callersClassIntSetChecker
testing/python/arith/test_arith_intset.py:24
↓ 5 callersClassColumnParallelLinear
Linear layer with column parallelism, splitting output features across distributed processes. Args: in_features (int): Number of inp
examples/deepseek_v32/inference/model.py:215
↓ 5 callersClassGeneralRemove
tilelang/autodd.py:101
↓ 5 callersClassJITKernel
A wrapper class for compiling and invoking TileLang (TVM TIR) functions as PyTorch-compatible functions. Attributes ---------- artif
tilelang/jit/kernel.py:36
↓ 5 callersClassPassPipeline
Lowering pass pipeline for a specific backend. Each backend should register its own Pipeline so that the compiler can resolve the correct pas
tilelang/backend/pass_pipeline/pipeline.py:11
↓ 5 callersClassPrimFuncNode
tilelang/carver/roller/node.py:190
↓ 5 callersClassRMSNorm
Root Mean Square Layer Normalization (RMSNorm). Args: dim (int): Dimension of the input tensor. eps (float): Epsilon value f
examples/deepseek_v32/inference/model.py:286
↓ 5 callersClassStride
Manages stride information for a given axis of a tensor.
tilelang/carver/roller/hint.py:29
↓ 5 callersClassTensorCoreIntrinEmitterSM75
SM75/Turing-specific MMA shape policy.
tilelang/cuda/intrinsics/macro/mma_sm75_macro_generator.py:9
↓ 5 callersClassdim3
Three-dimensional CUDA index tuple.
tilelang/contrib/cutedsl/threadblock_swizzle.py:20
↓ 4 callersClassAutotuneResult
Results from auto-tuning process. Attributes: latency: Best achieved execution latency. config: Configuration that produced the b
tilelang/autotuner/param.py:144
↓ 4 callersClassEdge
tilelang/carver/roller/node.py:88
↓ 4 callersClassGemm_SM80
tilelang/contrib/cutedsl/gemm_v1.py:231
↓ 4 callersClassMatmulTemplate
A template for matrix multiplication (MatMul). This class defines the computation for a matrix-matrix multiplication with configurable p
tilelang/carver/template/matmul.py:10
↓ 4 callersClassNoRasterization
tilelang/carver/roller/rasterization.py:19
↓ 4 callersClassOutputNode
tilelang/carver/roller/node.py:501
↓ 4 callersClassTensorCoreIntrinEmitter
To eliminate Python syntax within TIR Macro.
tilelang/cuda/intrinsics/macro/mma_macro_generator.py:36
↓ 4 callersClassTensorInstruction
tilelang/carver/arch/cuda.py:113
↓ 4 callersClassWGSparseTensorCoreIntrinEmitter
tilelang/cuda/intrinsics/macro/wgmma_sp_macro_generator.py:31
↓ 3 callersClassBitnetModel
Transformer decoder consisting of *config.num_hidden_layers* layers. Each layer is a [`BitnetDecoderLayer`] Args: config: BitnetConf
examples/bitnet-1.58b/modeling_bitnet.py:956
↓ 3 callersClassBlock
tilelang/carver/roller/bestfit.py:4
↓ 3 callersClassBuilder
tilelang/language/eager/builder.py:201
↓ 3 callersClassCompiledArtifact
Represents a compiled kernel artifact containing both host and device code. Stores all necessary components for kernel execution in the TVM r
tilelang/engine/param.py:154
↓ 3 callersClassIntrinInfo
The information of tensorcore intrinsic related information
tilelang/carver/roller/hint.py:107
↓ 3 callersClassMatrixCoreIntrinEmitter
To eliminate Python syntax within TIR Macro.
tilelang/rocm/intrinsics/mfma_macro_generator.py:44
↓ 3 callersClassOutTensor
tilelang/language/eager/builder.py:143
↓ 3 callersClassPostProcCounter
Track postproc callback invocations with a simple counter.
testing/python/cache/test_tilelang_kernel_cache.py:57
↓ 3 callersClassTCGEN05DescriptorParams
Pre-computed parameters for TCGEN05 descriptor initialization and atom offset computation. Returned by ``compute_tcgen05_*_desc_params()`` and co
tilelang/cuda/intrinsics/macro/tcgen05_macro_generator.py:26
↓ 3 callersClassTask
tilelang/autodd.py:544
↓ 3 callersClassTensorCoreIntrinEmitter
Intrinsic emitter for Blackwell (SM100) TCGEN5MMA instructions. Generates TIR macros that lower to ``tcgen05.mma`` PTX instructions for both
tilelang/cuda/intrinsics/macro/tcgen05_macro_generator.py:105
↓ 3 callersClass_BenchmarkWorkerState
tilelang/autotuner/tuner.py:218
↓ 2 callersClassBinOpFwdArg
tilelang/autodd.py:185
↓ 2 callersClassBitnetRotaryEmbedding
examples/bitnet-1.58b/modeling_bitnet.py:108
↓ 2 callersClassBoolOpFrame
tilelang/language/eager/builder.py:125
↓ 2 callersClassCompileArgs
Compile arguments for the auto-tuner. Detailed description can be found in `tilelang.jit.compile`. Attributes: out_idx: List of output ten
tilelang/autotuner/param.py:44
↓ 2 callersClassCuTeDSLLibraryGenerator
tilelang/jit/adapter/cutedsl/libgen.py:19
↓ 2 callersClassExpert
examples/fusedmoe/example_fusedmoe_tilelang.py:228
↓ 2 callersClassExpertTorch
examples/fusedmoe/example_fusedmoe_torch.py:8
↓ 2 callersClassGemm_SM90
tilelang/contrib/cutedsl/gemm_v1.py:390
↓ 2 callersClassHint
Central configuration class for managing various parameters of computational tasks.
tilelang/carver/roller/hint.py:154
↓ 2 callersClassKernelResourceUsage
Resource counts as reported by clang's kernel-resource-usage pass. Field names mirror the remark labels (lower-cased, normalized) so we can e
tilelang/contrib/hip_resource_info.py:35
↓ 2 callersClassLibraryGenerator
tilelang/jit/adapter/libgen.py:30
↓ 2 callersClassMLP
Multi-Layer Perceptron (MLP) used as a feed-forward layer. Attributes: w1 (nn.Module): Linear layer for input-to-hidden transformati
examples/deepseek_v32/inference/model.py:647
↓ 2 callersClassMatmulConfig
Configuration class - increases code complexity but is actually useless
examples/autodd/tilelang_buggy.py:55
↓ 2 callersClassMatrixCorePreshuffleIntrinEmitter
tilelang/rocm/intrinsics/mfma_macro_generator.py:796
↓ 2 callersClassMoE
examples/fusedmoe/example_fusedmoe_tilelang.py:264
↓ 2 callersClassModelArgs
Data class for defining model arguments and hyperparameters. Attributes: max_batch_size (int): Maximum batch size. max_seq_l
examples/deepseek_v32/inference/model.py:19
↓ 2 callersClassNVRTCKernelCache
tilelang/jit/adapter/nvrtc/kernel_cache.py:7
↓ 2 callersClassNVRTCLibraryGenerator
Runtime compiler and loader for NVRTC-compiled CUDA kernels. Lifecycle: 1. compile_lib(): CUDA source → cubin + Python launcher 2
tilelang/jit/adapter/nvrtc/libgen.py:42
↓ 2 callersClassProfileArgs
Profile arguments for the auto-tuner. Attributes: warmup: Number of warmup iterations. rep: Number of repetitions for timing.
tilelang/autotuner/param.py:90
↓ 2 callersClassRowParallelLinear
Linear layer with row parallelism, splitting input features across distributed processes. Args: in_features (int): Total number of i
examples/deepseek_v32/inference/model.py:245
↓ 2 callersClassSparseFlashAttn
examples/blocksparse_attention/example_tilelang_sparse_gqa_decode_varlen_indice.py:159
↓ 2 callersClassSparseFlashAttn
examples/blocksparse_attention/example_tilelang_sparse_gqa_decode_paged.py:170
↓ 2 callersClassSparseFlashAttn
examples/blocksparse_attention/example_tilelang_sparse_gqa_decode_varlen_mask.py:153
↓ 2 callersClassSparseTensorCoreIntrinEmitter
To eliminate Python syntax within TIR Macro.
tilelang/cuda/intrinsics/macro/mma_sp_macro_generator.py:43
↓ 2 callersClassTLCuTeDSLSourceWrapper
Wrapper class for TileLang CuTe DSL backend with C++ launcher. Generates optimized C++ launcher code that: - Loads cubin via CUDA Driver API
tilelang/jit/adapter/cutedsl/wrapper.py:710
↓ 2 callersClassTLPyWrapper
tilelang/jit/adapter/wrapper.py:989
↓ 2 callersClassTVMFFIKernelAdapter
Adapter that runs a TVM runtime.Executable with Torch tensors. Notes - We capture the "current" PyTorch CUDA stream/device as thunks (callabl
tilelang/jit/adapter/tvm_ffi.py:39
↓ 2 callersClassTensorCoreIntrinEmitter
To eliminate Python syntax within TIR Macro.
tilelang/cuda/intrinsics/macro/mma_sm70_macro_generator.py:26
↓ 2 callersClassTensorCoreIntrinEmitter
To eliminate Python syntax within TIR Macro.
tilelang/cuda/intrinsics/macro/wgmma_macro_generator.py:93
↓ 2 callersClassTensorCoreIntrinEmitterWithLadderTransform
To eliminate Python syntax within TIR Macro. With Ladder Transform Plugin.
tilelang/cuda/intrinsics/macro/mma_macro_generator.py:897
↓ 2 callersClassTimeoutException
tilelang/autotuner/tuner.py:43
↓ 2 callersClassTransformKind
tilelang/common/transform_kind.py:5
↓ 2 callersClassTransformer
Transformer model with positional embeddings, multiple layers, and output projection. Attributes: max_seq_len (int): Maximum sequenc
examples/deepseek_v32/inference/model.py:901
↓ 2 callersClassVllmRunner
examples/bitnet-1.58b/vllm_workspace/conftest.py:411
↓ 2 callersClassWGMMADescriptorParams
Pre-computed parameters for WGMMA descriptor initialization and atom offset computation. Returned by ``compute_wgmma_*_desc_params()`` and consum
tilelang/cuda/intrinsics/macro/wgmma_macro_generator.py:29
↓ 2 callersClass_FakeKernel
testing/python/cache/test_tilelang_kernel_cache_atomic_save.py:23
↓ 2 callersClass_RDNATuningConfig
Internal Roller tuning heuristics for RDNA WMMA targets. Keep this deliberately small and table-driven so exact mcpu overrides stay localized
tilelang/carver/arch/rdna.py:17
↓ 2 callersClass_TestBuilder
testing/python/language/test_tilelang_language_eager_ast_signature.py:4
↓ 1 callersClassAccessReplacer
Mutator to replace memory BufferStores/BufferLoads with cast buffer accesses. Matches by both buffer and indices (structural equality) so that ac
tilelang/transform/decouple_type_cast.py:556
↓ 1 callersClassAllReduceInstance
tilelang/contrib/cutedsl/reduce.py:540
↓ 1 callersClassAnalysisResult
A data class to store the results of the analysis. Attributes: total_flops: Total floating-point operations. total_global_byt
tilelang/tools/Analyzer.py:16
↓ 1 callersClassArgs
tilelang/autodd.py:1248
↓ 1 callersClassAsyncPythonRunner
tilelang/autodd.py:771
↓ 1 callersClassAttachFullFuncArgs
tilelang/autodd.py:143
↓ 1 callersClassAutoTuneImpl
tilelang/autotuner/tuner.py:1212
↓ 1 callersClassAutoTuner
Auto-tuner for tilelang programs. This class handles the auto-tuning process by testing different configurations and finding the optimal para
tilelang/autotuner/tuner.py:224
↓ 1 callersClassAutotuneInputsCapture
tilelang/autotuner/capture.py:87
↓ 1 callersClassBestFit
tilelang/carver/roller/bestfit.py:22
↓ 1 callersClassBitnetDecoderLayer
examples/bitnet-1.58b/modeling_bitnet.py:740
↓ 1 callersClassBitnetMLP
examples/bitnet-1.58b/modeling_bitnet.py:194
↓ 1 callersClassBlock
Transformer block combining attention and feed-forward layers. Attributes: attn (nn.Module): Attention layer (MLA). ffn (nn.
examples/deepseek_v32/inference/model.py:852
↓ 1 callersClassBlockAnalyzer
tilelang/carver/roller/node.py:35
↓ 1 callersClassBlockInfo
Information about a TIR block.
tilelang/carver/analysis.py:47
next →1–100 of 525, ranked by callers