Methodreference_impl(
self, A: torch.Tensor, B: torch.Tensor, C: torch.Tensor, M: int, N: int, K: int
)
challenges/easy/2_matrix_multiplication/challenge.py:15
Methodreference_impl(
self, input: torch.Tensor, output: torch.Tensor, lo: float, hi: float, N: int
)
challenges/easy/62_value_clipping/challenge.py:15
Methodreference_impl_jax(self, Q, K, V, M, d, window_size)
challenges/hard/59_sliding_window_attn/challenge.py:37
Methodreference_impl_jax(
self, data_x, data_y, initial_centroid_x, initial_centroid_y, sample_size, k, max_iterations
)
challenges/hard/20_kmeans_clustering/challenge.py:48
Methodreference_impl_jax(self, Q, K, V, N, d_model, h)
challenges/hard/12_multi_head_attention/challenge.py:43
Methodreference_impl_jax(self, Q, K, V, M, N, d, alpha)
challenges/medium/55_attn_w_linear_bias/challenge.py:43
Methodreference_impl_jax(
self, A, B, M, N, K, scale_A, scale_B, scale_C, zero_point_A, zero_point_B, zero_point_C
)
challenges/medium/32_int8_quantized_matmul/challenge.py:40
Methodreference_impl_jax(self, Q, K, V, num_q_heads, num_kv_heads, seq_len, head_dim)
challenges/medium/80_grouped_query_attention/challenge.py:51
Methodreference_impl_jax(self, Q, K, V, seq_len, d_model, gamma)
challenges/medium/92_decaying_causal_attention/challenge.py:42
Methodreference_impl_jax(self, x, W_gate, W_up, W_down, M, d_model, d_ffn)
challenges/medium/84_swiglu_mlp_block/challenge.py:41
Methodreference_impl_jax(self, A, B, M, N, K, nnz)
challenges/medium/75_sparse_matrix_dense_matrix_multiplication/challenge.py:49
Methodreference_impl_jax(self, u, delta, A, B, C, skip, batch, seq_len, d_model, d_state)
challenges/medium/94_ssm_selective_scan/challenge.py:65
Methodreference_impl_jax(self, input, kernel, input_rows, input_cols, kernel_rows, kernel_cols)
challenges/medium/10_2d_convolution/challenge.py:37
Methodreference_impl_jax(self, x, w_q, scales, M, N, K, group_size)
challenges/medium/81_int4_matmul/challenge.py:55
Methodreference_impl_jax(self, x, W, A, B, batch, d_in, d_out, rank, lora_scale)
challenges/medium/85_lora_linear/challenge.py:44
Methodreference_impl_jax(self, Q, K_int8, V_int8, k_scale, v_scale, num_heads, seq_len, head_dim)
challenges/medium/96_int8_kv_cache_attention/challenge.py:55
Methodreference_impl_jax(self, draft_tokens, draft_probs, target_probs, uniform_samples, B, T, V)
challenges/medium/87_speculative_decoding_verification/challenge.py:68
Methodreference_impl_jax(self, x, weight, bias, B, L, D, K)
challenges/medium/90_causal_depthwise_conv1d/challenge.py:49
Methodreference_impl_jax(
self,
input,
kernel,
input_depth,
input_rows,
input_cols,
challenges/medium/11_3d_convolution/challenge.py:46
Methodreference_impl_jax(self, A, B, C, M, N, K, alpha, beta)
challenges/medium/22_gemm/challenge.py:36
Functionsolve(Q: jax.Array, K: jax.Array, V: jax.Array, M: int, d: int, window_size: int)
challenges/hard/59_sliding_window_attn/starter/starter.jax.py:7
Functionsolve(
Q: torch.Tensor,
K: torch.Tensor,
V: torch.Tensor,
output: torch.Tensor,
M: int,
d:
challenges/hard/59_sliding_window_attn/starter/starter.triton.py:7
Functionsolve(
Q: torch.Tensor,
K: torch.Tensor,
V: torch.Tensor,
output: torch.Tensor,
M: int,
d:
challenges/hard/59_sliding_window_attn/starter/starter.pytorch.py:5
Functionsolve(
Q: cute.Tensor,
K: cute.Tensor,
V: cute.Tensor,
output: cute.Tensor,
M: int,
d: int,
challenges/hard/59_sliding_window_attn/starter/starter.cute.py:7
Functionsolve(
x: jax.Array,
weights: jax.Array,
cos: jax.Array,
sin: jax.Array,
seq_len: int,
)
challenges/hard/93_llama_transformer_block/starter/starter.jax.py:7
Functionsolve(Q: torch.Tensor, K: torch.Tensor, V: torch.Tensor, output: torch.Tensor, M: int, d: int)
challenges/hard/56_linear_attention/starter/starter.triton.py:7
Functionsolve(Q: torch.Tensor, K: torch.Tensor, V: torch.Tensor, output: torch.Tensor, M: int, d: int)
challenges/hard/56_linear_attention/starter/starter.pytorch.py:5
Functionsolve(
Q: cute.Tensor,
K: cute.Tensor,
V: cute.Tensor,
output: cute.Tensor,
M: cute.Int32,
challenges/hard/56_linear_attention/starter/starter.cute.py:7
Functionsolve(Q: jax.Array, K: jax.Array, V: jax.Array, N: int, d_model: int, h: int)
challenges/hard/12_multi_head_attention/starter/starter.jax.py:7
Functionsolve(
Q: torch.Tensor,
K: torch.Tensor,
V: torch.Tensor,
output: torch.Tensor,
N: int,
d_m
challenges/hard/12_multi_head_attention/starter/starter.triton.py:7
Functionsolve(
Q: torch.Tensor,
K: torch.Tensor,
V: torch.Tensor,
output: torch.Tensor,
N: int,
d_m
challenges/hard/12_multi_head_attention/starter/starter.pytorch.py:5
Functionsolve(
Q: cute.Tensor,
K: cute.Tensor,
V: cute.Tensor,
output: cute.Tensor,
N: cute.Int32,
challenges/hard/12_multi_head_attention/starter/starter.cute.py:7