Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytedance/ByteTransformer
/ functions
Functions
317 in github.com/bytedance/ByteTransformer
⨍
Functions
317
◇
Types & classes
134
↓ 20 callers
Function
device_malloc
unit_test/helper.h:35
↓ 18 callers
Function
load_weights
unit_test/helper.h:40
↓ 17 callers
Function
set_dtype
(ts: torch.Tensor, dtype: str)
unit_test/python_scripts/bert_transformer_test.py:50
↓ 15 callers
Method
add_tile_offset
Advances an iterator along logical dimensions of matrix in units of whole tiles
cutlass_contrib/include/cutlass/contrib/transform/threadblock/predicated_tile_access_iterator.h:906
↓ 15 callers
Method
clear
< Efficiently disables all accesses guarded by mask
cutlass_contrib/include/cutlass/contrib/epilogue/threadblock/predicated_tile_iterator.h:151
↓ 14 callers
Method
load
Loads a fragment from memory
cutlass_contrib/include/cutlass/contrib/epilogue/threadblock/predicated_tile_iterator.h:598
↓ 13 callers
Method
get
Returns a pointer
cutlass_contrib/include/cutlass/contrib/transform/threadblock/predicated_tile_access_iterator.h:912
↓ 12 callers
Method
valid
Returns whether access is valid or not
cutlass_contrib/include/cutlass/contrib/transform/threadblock/predicated_tile_access_iterator.h:279
↓ 11 callers
Function
warpReduceMax
bytetransformer/include/reduce.h:90
↓ 11 callers
Function
warpReduceSum
bytetransformer/include/reduce.h:33
↓ 10 callers
Method
set_iteration_index
Overrides the internal iteration index
cutlass_contrib/include/cutlass/contrib/epilogue/threadblock/predicated_tile_iterator.h:632
↓ 8 callers
Method
add_pointer_offset
Adds a pointer offset in units of Element
cutlass_contrib/include/cutlass/contrib/epilogue/threadblock/predicated_tile_iterator.h:592
↓ 6 callers
Method
clear_mask
< Efficiently disables all accesses guarded by mask
cutlass_contrib/include/cutlass/contrib/epilogue/threadblock/predicated_tile_iterator.h:658
↓ 6 callers
Method
store
Stores a fragment to memory
cutlass_contrib/include/cutlass/contrib/epilogue/threadblock/predicated_tile_iterator.h:615
↓ 5 callers
Method
set_iteration_index
Overrides the internal iteration index
cutlass_contrib/include/cutlass/contrib/transform/threadblock/predicated_tile_access_iterator.h:227
↓ 4 callers
Function
getLaneId
bytetransformer/include/reduce.h:26
↓ 4 callers
Method
infer
bytetransformer/include/attention.h:124
↓ 4 callers
Method
set_kgroup_index
cutlass_contrib/include/cutlass/contrib/args_pack_def.h:101
↓ 3 callers
Method
clear_mask
Clears the predicate set efficiently
cutlass_contrib/include/cutlass/contrib/transform/threadblock/predicated_tile_access_iterator.h:243
↓ 3 callers
Method
enable
< CUTLASS_HOST_DEVICE enables all accesses guarded by mask
cutlass_contrib/include/cutlass/contrib/epilogue/threadblock/predicated_tile_iterator.h:159
↓ 3 callers
Method
enable_mask
Clears the predicate set efficiently
cutlass_contrib/include/cutlass/contrib/transform/threadblock/predicated_tile_access_iterator.h:252
↓ 3 callers
Method
get_mask
Gets the mask
cutlass_contrib/include/cutlass/contrib/transform/threadblock/predicated_tile_access_iterator.h:270
↓ 3 callers
Function
load_with_byte_offset
Loads a fragment from memory
cutlass_contrib/include/cutlass/contrib/epilogue/threadblock/predicated_tile_iterator.h:260
↓ 3 callers
Method
set_mask
Sets the predicate mask, overriding value stored in predicate iterator
cutlass_contrib/include/cutlass/contrib/transform/threadblock/predicated_tile_access_iterator.h:261
↓ 3 callers
Function
store_with_byte_offset
Stores a fragment to memory
cutlass_contrib/include/cutlass/contrib/epilogue/threadblock/predicated_tile_iterator.h:313
↓ 3 callers
Function
tanht
bytetransformer/include/gemm_bias_act.h:295
↓ 3 callers
Function
transpose_for_scores
(x, n_heads, head_size)
unit_test/python_scripts/bert_transformer_test.py:34
↓ 2 callers
Method
add_pointer_offset
Adds a pointer offset in units of Element
cutlass_contrib/include/cutlass/contrib/transform/threadblock/predicated_tile_iterator.h:612
↓ 2 callers
Method
cal_bufsize
bytetransformer/include/attention.h:109
↓ 2 callers
Method
clear_mask
Clears the predicate set efficiently
cutlass_contrib/include/cutlass/contrib/transform/threadblock/predicated_tile_iterator.h:641
↓ 2 callers
Method
compute_predicates_
Computes predicates based on internally tracked per-thread offset.
cutlass_contrib/include/cutlass/contrib/transform/threadblock/predicated_tile_access_iterator.h:132
↓ 2 callers
Function
copy_tiles_and_advance
cutlass_contrib/include/cutlass/contrib/gemm/threadblock/mma_multistage.h:98
↓ 2 callers
Method
enable_mask
Clears the predicate set efficiently
cutlass_contrib/include/cutlass/contrib/transform/threadblock/predicated_tile_iterator.h:647
↓ 2 callers
Function
fast_tanh
bytetransformer/include/gemm_bias_act.h:67
↓ 2 callers
Method
forward
bytetransformer/th_op/ths_op.h:80
↓ 2 callers
Function
fused_infer
bytetransformer/include/variety_attention_fused.h:635
↓ 2 callers
Function
fused_long_infer
bytetransformer/include/variety_attention_fused.h:677
↓ 2 callers
Function
fused_long_rm_infer
bytetransformer/include/variety_attention_fused.h:739
↓ 2 callers
Function
fused_rm_infer
bytetransformer/include/variety_attention_fused.h:656
↓ 2 callers
Function
gelu
bytetransformer/include/gemm_bias_act.h:306
↓ 2 callers
Method
get_mask
Gets the mask
cutlass_contrib/include/cutlass/contrib/transform/threadblock/predicated_tile_iterator.h:659
↓ 2 callers
Method
initialize
bytetransformer/include/attention.h:105
↓ 2 callers
Method
set_mask
Sets the predicate mask, overriding value stored in predicate iterator
cutlass_contrib/include/cutlass/contrib/transform/threadblock/predicated_tile_iterator.h:653
↓ 1 callers
Method
BertTransformer
bytetransformer/th_op/ths_op.h:31
↓ 1 callers
Function
__half2add
bytetransformer/include/reduce.h:63
↓ 1 callers
Function
__tanhf
Compute hyperbolic tangent for < sm_75. maxulperr = 108.82848, maxrelerr = 9.3450e-6
bytetransformer/include/gemm_bias_act.h:51
↓ 1 callers
Function
_cudaGetErrorEnum
bytetransformer/include/common.h:91
↓ 1 callers
Function
add_pointer_offset
Adds a pointer offset in units of Element
cutlass_contrib/include/cutlass/contrib/transform/threadblock/predicated_tile_access_iterator.h:443
↓ 1 callers
Method
add_pointer_offset
Adds a pointer offset in units of Element
cutlass_contrib/include/cutlass/contrib/transform/threadblock/predicated_tile_access_iterator.h:899
↓ 1 callers
Method
advance
cutlass_contrib/include/cutlass/contrib/gemm/kernel/gemm_grouped.h:222
↓ 1 callers
Function
copysignf_pos
bytetransformer/include/gemm_bias_act.h:46
↓ 1 callers
Function
diffTime
unit_test/helper.h:30
↓ 1 callers
Method
get_pickle_info
bytetransformer/th_op/ths_op.h:99
↓ 1 callers
Method
is_source_needed
Returns true if source is needed
bytetransformer/include/gemm_bias_act.h:172
↓ 1 callers
Method
load_with_byte_offset
Loads a fragment from memory
cutlass_contrib/include/cutlass/contrib/transform/threadblock/predicated_tile_iterator.h:671
↓ 1 callers
Method
load_with_pointer_offset
Loads a fragment from memory
cutlass_contrib/include/cutlass/contrib/transform/threadblock/predicated_tile_iterator.h:665
↓ 1 callers
Function
max_
bytetransformer/include/reduce.h:85
↓ 1 callers
Method
next_tile
Returns true if there is a tile to compute
cutlass_contrib/include/cutlass/contrib/gemm/kernel/gemm_grouped.h:152
↓ 1 callers
Method
operand_A_ref
Returns a TensorRef to the A operand
cutlass_contrib/include/cutlass/contrib/gemm/threadblock/mma_base.h:196
↓ 1 callers
Method
operator()
cutlass_contrib/include/cutlass/contrib/epilogue/threadblock/epilogue.h:194
↓ 1 callers
Method
operator++
cutlass_contrib/include/cutlass/contrib/transform/threadblock/predicated_tile_access_iterator.h:936
↓ 1 callers
Function
parse_args
()
unit_test/python_scripts/bert_transformer_test.py:58
↓ 1 callers
Method
problem_index
Gets the index of the problem
cutlass_contrib/include/cutlass/contrib/gemm/kernel/gemm_grouped.h:205
↓ 1 callers
Function
result_check
unit_test/helper.h:59
↓ 1 callers
Function
seqlen_to_mask
(lengths, max_len)
unit_test/python_scripts/bert_transformer_test.py:41
↓ 1 callers
Function
set_iteration_index
Overrides the internal iteration index
cutlass_contrib/include/cutlass/contrib/transform/threadblock/predicated_tile_access_iterator.h:437
↓ 1 callers
Method
set_predicates
cutlass_contrib/include/cutlass/contrib/transform/threadblock/predicated_tile_access_iterator.h:181
↓ 1 callers
Method
store_with_byte_offset
Store a fragment to memory
cutlass_contrib/include/cutlass/contrib/transform/threadblock/predicated_tile_iterator.h:689
↓ 1 callers
Method
store_with_pointer_offset
Store a fragment to memory
cutlass_contrib/include/cutlass/contrib/transform/threadblock/predicated_tile_iterator.h:683
↓ 1 callers
Method
thread_offset
cutlass_contrib/include/cutlass/contrib/transform/threadblock/predicated_tile_iterator.h:305
↓ 1 callers
Method
threadblock_index
cutlass_contrib/include/cutlass/contrib/gemm/kernel/gemm_grouped.h:218
↓ 1 callers
Method
total
bytetransformer/include/cutlass_attention.h:60
↓ 1 callers
Function
warpPrefixSum
bytetransformer/include/remove_padding.h:27
Method
Attention
bytetransformer/include/attention.h:78
Method
AttentionBatchCountGeneratorOp
bytetransformer/include/cutlass_attention_operators.h:76
Method
AttentionParam
bytetransformer/include/attention.h:37
Method
BTEncoder
bytetransformer/th_op/bert_transformer_ext.h:43
Method
BertTransformer
bytetransformer/include/bert_transformer.h:120
Method
BertTransformerParam
bytetransformer/include/bert_transformer.h:58
Function
CUTLASS_HOST_DEVICE PredicatedTileAccessIterator
cutlass_contrib/include/cutlass/contrib/transform/threadblock/predicated_tile_access_iterator.h:309
Method
CutlassAttention
bytetransformer/include/cutlass_attention.h:66
Function
FragmentOutput operator()
bytetransformer/include/cutlass_attention_operators.h:273
Method
GemmGrouped
Constructs the GEMM.
cutlass_contrib/include/cutlass/contrib/gemm/device/gemm_grouped.h:70
Method
GemmGrouped
cutlass_contrib/include/cutlass/contrib/gemm/kernel/gemm_grouped.h:412
Method
IdentityPrologueOperator
cutlass_contrib/include/cutlass/contrib/args_pack_def.h:91
Method
InterleavedConvPredicatedTileIterator
Constructor
cutlass_contrib/include/cutlass/contrib/epilogue/threadblock/predicated_tile_iterator.h:829
Method
InterleavedPredicatedTileIterator
Constructor
cutlass_contrib/include/cutlass/contrib/epilogue/threadblock/predicated_tile_iterator.h:563
Method
LayoutA
cutlass_contrib/include/cutlass/contrib/gemm/threadblock/mma_base.h:185
Method
LayoutB
cutlass_contrib/include/cutlass/contrib/gemm/threadblock/mma_base.h:191
Method
LinearCombinationGELUFAST
Constructs the function object, possibly loading from pointers in host memory
bytetransformer/include/gemm_bias_act.h:165
Method
Mask
Mask
cutlass_contrib/include/cutlass/contrib/epilogue/threadblock/predicated_tile_iterator.h:145
Method
Mask
Mask
cutlass_contrib/include/cutlass/contrib/epilogue/threadblock/predicated_tile_iterator.h:504
Method
Mask
Mask
cutlass_contrib/include/cutlass/contrib/epilogue/threadblock/predicated_tile_iterator.h:757
Method
Params
Ctor
cutlass_contrib/include/cutlass/contrib/gemm/kernel/gemm_grouped.h:72
Method
Params
cutlass_contrib/include/cutlass/contrib/gemm/kernel/gemm_grouped.h:367
Method
Params
Default ctor
cutlass_contrib/include/cutlass/contrib/transform/threadblock/predicated_tile_access_iterator.h:348
Method
Params
Default ctor
cutlass_contrib/include/cutlass/contrib/transform/threadblock/predicated_tile_access_iterator.h:650
Method
Params
Default ctor
cutlass_contrib/include/cutlass/contrib/transform/threadblock/predicated_tile_access_iterator.h:839
Method
Params
Construct the Params object given a pitch-linear tensor's layout
cutlass_contrib/include/cutlass/contrib/transform/threadblock/predicated_tile_iterator.h:116
Method
Params
cutlass_contrib/include/cutlass/contrib/transform/threadblock/predicated_tile_iterator.h:366
next →
1–100 of 317, ranked by callers