Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/brontoguana/krasis
/ functions
Functions
12,380 in github.com/brontoguana/krasis
⨍
Functions
12,380
◇
Types & classes
7,782
↳
Endpoints
10
↓ 83 callers
Method
producer_acquire
src/cuda/flash_attn/cutlass/cutlass/pipeline/sm90_pipeline.hpp:1104
↓ 82 callers
Method
push
src/cuda/flash_attn/cutlass/cutlass/epilogue/threadblock/epilogue.h:452
↓ 81 callers
Function
bits_to_bytes
src/cuda/flash_attn/cutlass/cutlass/numeric_size.h:64
↓ 79 callers
Method
layout
src/cuda/flash_attn/cutlass/cutlass/epilogue/threadblock/output_iterator_parameter.h:74
↓ 79 callers
Function
mma
src/cuda/flash_attn/cutlass/cutlass/gemm/collective/sm100_mma_array_warpspecialized.hpp:677
↓ 77 callers
Method
get_tile_offset
Obtains the threadblock offset (in units of threadblock-scoped tiles)
src/cuda/flash_attn/cutlass/cutlass/gemm/threadblock/threadblock_swizzle.h:131
↓ 77 callers
Function
zipped_divide
src/cuda/flash_attn/cutlass/cute/layout.hpp:1624
↓ 76 callers
Method
offset
Computes the offset of an index from the origin of the tensor
src/cuda/flash_attn/cutlass/cutlass/tensor_ref.h:315
↓ 75 callers
Method
compose
src/cuda/flash_attn/cutlass/cute/layout.hpp:190
↓ 75 callers
Function
elem_less
src/cuda/flash_attn/cutlass/cute/int_tuple.hpp:883
↓ 75 callers
Method
layout
Returns the layout object
src/cuda/flash_attn/cutlass/cutlass/thread/matrix.h:125
↓ 75 callers
Method
load
(&mut self, model_dir: &str, group_size: Option<usize>, max_layers: Option<usize>, start_layer: Option<usize>,
src/moe.rs:1714
↓ 74 callers
Method
producer_tail
Prevents early exit of producer blocks in Cluster. This should be called once before kernel exits.
src/cuda/flash_attn/cutlass/cutlass/pipeline/sm90_pipeline.hpp:1123
↓ 73 callers
Method
element_size
Bytes per element.
src/weights/safetensors_io.rs:58
↓ 73 callers
Method
layout_b
src/cuda/flash_attn/cutlass/cute/layout_composed.hpp:83
↓ 72 callers
Method
add_pointer_offset
Adds a pointer offset in units of Element
src/cuda/flash_attn/cutlass/cutlass/conv/threadblock/conv2d_tile_iterator.h:114
↓ 71 callers
Method
load
Load addend source fragment from global memory
src/cuda/flash_attn/cutlass/cutlass/epilogue/threadblock/epilogue.h:270
↓ 71 callers
Method
wait
src/cuda/flash_attn/cutlass/cutlass/arch/barrier.h:367
↓ 70 callers
Function
for_each
src/cuda/flash_attn/cutlass/cute/algorithm/tuple_algorithms.hpp:172
↓ 70 callers
Method
norm
Returns the sum of squared elements
src/cuda/flash_attn/cutlass/cutlass/matrix.h:571
↓ 70 callers
Method
values
src/cuda/flash_attn/cutlass/cute/container/tuple.hpp:486
↓ 69 callers
Method
non_const_ref
src/cuda/flash_attn/cutlass/cutlass/tensor_ref.h:244
↓ 69 callers
Function
prefetch_tma_descriptor
src/cuda/flash_attn/cutlass/cute/arch/copy_sm90_desc.hpp:302
↓ 69 callers
Function
swap
src/cuda/flash_attn/cutlass/cutlass/platform/platform.h:788
↓ 69 callers
Method
valid
Returns whether access is valid or not
src/cuda/flash_attn/cutlass/cutlass/transform/threadblock/predicated_tile_access_iterator.h:295
↓ 68 callers
Method
arrive
Barrier arrive on local smem
src/cuda/flash_attn/cutlass/cutlass/arch/barrier.h:373
↓ 67 callers
Function
_detail
Print a detail line under a status header (green, indented).
python/krasis/server.py:116
↓ 67 callers
Method
empty
Create an empty (zero-size) QuantWeight for ungated experts. Used as a dummy gate_proj when the model has no gate projection.
src/weights/mod.rs:329
↓ 67 callers
Function
make_identity_tensor
src/cuda/flash_attn/cutlass/cute/tensor_impl.hpp:495
↓ 66 callers
Function
make_tma_copy
src/cuda/flash_attn/cutlass/cute/atom/copy_traits_sm90_tma.hpp:1266
↓ 65 callers
Function
bf16_to_f32
(v: u16)
src/weights/marlin.rs:19
↓ 65 callers
Function
canonical_warp_idx_sync
Returns a warp-uniform value indicating the canonical warp index of the calling threads. Threads within the warp must be converged.
src/cuda/flash_attn/cutlass/cutlass/cutlass.h:125
↓ 64 callers
Method
retile_D
src/cuda/flash_attn/cutlass/cute/atom/copy_atom.hpp:425
↓ 62 callers
Method
encode
(self, text: str, add_special_tokens: bool = True)
python/krasis/tokenizer.py:144
↓ 61 callers
Function
shape_div
src/cuda/flash_attn/cutlass/cute/int_tuple.hpp:384
↓ 60 callers
Function
bf16_bytes
Convert tensor to raw BF16 bytes (little-endian unsigned short).
tests/generate_kernel_test_data.py:32
↓ 59 callers
Method
advance
src/cuda/flash_attn/cutlass/cutlass/gemm/kernel/grouped_problem_visitor.h:149
↓ 59 callers
Method
at
Returns a reference to the element at a given Coord
src/cuda/flash_attn/cutlass/cutlass/thread/matrix.h:164
↓ 59 callers
Function
fma
src/cuda/flash_attn/cutlass/cute/arch/simd_sm100.hpp:77
↓ 59 callers
Method
min
Min representable value for this scalar type. (accounting for bias if there is one)
src/cuda/marlin/scalar_type.hpp:256
↓ 59 callers
Function
tiled_divide
src/cuda/flash_attn/cutlass/cute/layout.hpp:1635
↓ 58 callers
Method
transpose
src/cuda/flash_attn/cutlass/cutlass/matrix.h:138
↓ 57 callers
Function
as_position_independent_swizzle_tensor
src/cuda/flash_attn/cutlass/cute/pointer_flagged.hpp:99
↓ 55 callers
Function
abs
src/cuda/flash_attn/cutlass/cutlass/complex.h:443
↓ 55 callers
Method
set_kgroup_index
Notify the iterator which k-group it is currently pointing to. This does not advance the iterator. Rather, it overrides its internal tracking with co
src/cuda/flash_attn/cutlass/cutlass/gemm/warp/tile_iterator_planar_complex.h:238
↓ 54 callers
Function
copy_if
src/cuda/flash_attn/cutlass/cute/algorithm/copy.hpp:47
↓ 54 callers
Method
layout
src/cuda/flash_attn/cutlass/cute/layout.hpp:119
↓ 54 callers
Function
zip
src/cuda/flash_attn/cutlass/cute/layout.hpp:1531
↓ 53 callers
Function
filter
src/cuda/flash_attn/cutlass/cute/layout.hpp:934
↓ 51 callers
Method
forward
Run one token through the draft model. Updates KV cache. After this call, h_logits contains the output logits on host.
src/draft_model.rs:472
↓ 51 callers
Function
select_cluster_shape
src/cuda/flash_attn/cutlass/cutlass/detail/cluster.hpp:49
↓ 50 callers
Function
const_min
src/cuda/flash_attn/cutlass/cutlass/fast_math.h:753
↓ 50 callers
Function
die
(msg: str)
tests/generate_reference.py:118
↓ 50 callers
Function
get_grid_shape
src/cuda/flash_attn/cutlass/cutlass/gemm/kernel/sm90_tile_scheduler_stream_k.hpp:357
↓ 48 callers
Method
get_host_problem_shape
src/cuda/flash_attn/cutlass/cutlass/gemm/group_array_problem_shape.hpp:70
↓ 48 callers
Function
tensor
src/cuda/flash_attn/cutlass/cute/tensor_impl.hpp:508
↓ 47 callers
Function
flat_divide
src/cuda/flash_attn/cutlass/cute/layout.hpp:1649
↓ 47 callers
Method
reset
Replaces the managed object, deleting the old object.
src/cuda/flash_attn/cutlass/cutlass/platform/platform.h:756
↓ 46 callers
Function
_print
Print with flush=True by default so output appears immediately when piped.
python/krasis/suite.py:37
↓ 46 callers
Method
free
Release all pages back to the pool.
python/krasis/kv_cache.py:449
↓ 46 callers
Function
initialize_workspace
src/cuda/flash_attn/cutlass/cutlass/gemm/kernel/sm90_tile_scheduler.hpp:145
↓ 46 callers
Method
layout
src/cuda/flash_attn/cutlass/cute/tensor_impl.hpp:192
↓ 46 callers
Method
layout_a
src/cuda/flash_attn/cutlass/cute/layout_composed.hpp:71
↓ 46 callers
Method
store
Stores a fragment to memory
src/cuda/flash_attn/cutlass/cutlass/epilogue/threadblock/predicated_tile_iterator.h:988
↓ 45 callers
Method
at
Returns a reference to the element at a given Coord
src/cuda/flash_attn/cutlass/cutlass/tensor_ref.h:321
↓ 45 callers
Function
clear
src/cuda/flash_attn/cutlass/cute/container/array.hpp:352
↓ 45 callers
Function
exp
(x)
src/cuda/fla/ops/utils/op.py:13
↓ 44 callers
Method
contains
Determines whether a location is within a tensor
src/cuda/flash_attn/cutlass/cutlass/tensor_view.h:190
↓ 44 callers
Function
hqq_attention_cache_dir
Return the native HQQ attention artifact directory under the model cache.
python/krasis/attention_backend.py:411
↓ 44 callers
Method
producer_get_barrier
src/cuda/flash_attn/cutlass/cutlass/pipeline/sm90_pipeline.hpp:1131
↓ 44 callers
Method
size
Static method that returns the packed logical size of any TensorExtent
src/cuda/flash_attn/cutlass/cutlass/conv/convnd_problem_shape.hpp:490
↓ 44 callers
Function
warpgroup_arrive
src/cuda/flash_attn/cutlass/cute/arch/mma_sm90_gmma.hpp:47
↓ 44 callers
Function
warpgroup_commit_batch
Marks the commit point for one or more sized batch of warpgroup MMAs.
src/cuda/flash_attn/cutlass/cute/arch/mma_sm90_gmma.hpp:74
↓ 43 callers
Function
cp_async_fence
Establishes an ordering w.r.t previously issued cp.async instructions. Does not block.
src/cuda/flash_attn/cutlass/cutlass/arch/memory_sm80.h:439
↓ 43 callers
Method
producer_commit
src/cuda/flash_attn/cutlass/cutlass/pipeline/sm90_pipeline.hpp:1109
↓ 42 callers
Function
get_tiled_cta_shape_mnl
src/cuda/flash_attn/cutlass/cutlass/gemm/kernel/sm90_tile_scheduler_stream_k.hpp:349
↓ 42 callers
Method
open
Open and parse a GGUF file.
src/gguf.rs:320
↓ 42 callers
Function
quantize_int4
Quantize a BF16 weight matrix to symmetric INT4 with per-group scales. Symmetric INT4: values in [-8, 7], scale chosen so that max(abs(group)) maps t
src/weights/marlin.rs:153
↓ 41 callers
Method
add_tile_offset
Advances an iterator along logical dimensions of matrix in units of whole threadblock tiles
src/cuda/flash_attn/cutlass/cutlass/conv/threadblock/predicated_scale_bias_vector_iterator.h:347
↓ 41 callers
Method
id
unique id for this scalar type that can be computed at compile time for c++17 template specialization this is not needed once we migrate to c++20 and
src/cuda/marlin/scalar_type.hpp:129
↓ 41 callers
Function
logical_divide
src/cuda/flash_attn/cutlass/cute/layout.hpp:1573
↓ 41 callers
Function
to_gemm_coord
src/cuda/flash_attn/cutlass/cutlass/gemm_coord.hpp:47
↓ 41 callers
Function
wait_on_dependent_grids
Issuing the griddepcontrol.wait instruction enforces no global memory access prior to this istruction. This ensures the correctness of global memory a
src/cuda/flash_attn/cutlass/cutlass/arch/grid_dependency_control.h:88
↓ 41 callers
Method
x
Accesses the x element of the imaginary part of the quaternion
src/cuda/flash_attn/cutlass/cutlass/quaternion.h:152
↓ 41 callers
Method
y
Accesses the y element of the imaginary part of the quaternion
src/cuda/flash_attn/cutlass/cutlass/quaternion.h:164
↓ 41 callers
Method
z
Accesses the z element of the imaginary part of the quaternion
src/cuda/flash_attn/cutlass/cutlass/quaternion.h:176
↓ 40 callers
Method
get
Returns a pointer to the vector starting at the current coordinate
src/cuda/flash_attn/cutlass/cutlass/conv/threadblock/conv3d_fprop_filter_tile_access_iterator_optimized.h:233
↓ 40 callers
Method
offset
src/cuda/flash_attn/cutlass/cute/layout_composed.hpp:77
↓ 40 callers
Function
right_inverse
src/cuda/flash_attn/cutlass/cute/layout.hpp:1263
↓ 40 callers
Function
send_json
Send a JSON response.
src/server.rs:311
↓ 40 callers
Method
to_half
Bitcasts to CUDA's half type
src/cuda/flash_attn/cutlass/cutlass/half.h:445
↓ 40 callers
Method
work_tile_to_cta_coord
src/cuda/flash_attn/cutlass/cutlass/gemm/kernel/sm100_tile_scheduler.hpp:372
↓ 39 callers
Method
load
Loads a fragment from memory
src/cuda/flash_attn/cutlass/cutlass/conv/threadblock/conv2d_tile_iterator.h:166
↓ 39 callers
Function
stride
Returns stride as MatrixCoord
src/cuda/flash_attn/cutlass/cutlass/conv/conv3d_problem_size.h:319
↓ 39 callers
Function
sync
src/cuda/flash_attn/cutlass/cutlass/arch/barrier.h:230
↓ 39 callers
Method
update
Lightweight update given a subset of arguments
src/cuda/flash_attn/cutlass/cutlass/gemm/device/trmm.h:459
↓ 38 callers
Method
end
Exit of the subtile load loop.
src/cuda/flash_attn/cutlass/cutlass/epilogue/fusion/sm90_visitor_tma_warpspecialized.hpp:154
↓ 38 callers
Method
flush
Flush buffer at end of stream.
python/krasis/chat.py:233
↓ 38 callers
Method
get_tiled_shape
Returns the GEMM volume in thread block tiles
src/cuda/flash_attn/cutlass/cutlass/gemm/kernel/params_universal_base.h:201
↓ 38 callers
Function
get_work_k_tile_count
src/cuda/flash_attn/cutlass/cutlass/gemm/kernel/sm90_tile_scheduler_stream_k.hpp:689
← previous
next →
101–200 of 12,380, ranked by callers