flashinfer.cake_causal_conv1d_nondet_train

Cake non-deterministic causal Conv1d training helpers and autograd entry points. The module is a stable API; its backend package, flashinfer.experimental.cake.cake_causal_conv1d_nondet_train, is experimental and is imported on first use.

is_cake_causal_conv1d_nondet_train_supported(device)

Whether device supports the non-deterministic causal Conv1d package.

cake_causal_conv1d_nondet_train_backward_workspace_bytes(S, ...)

Return the backward workspace size in bytes.

cake_causal_conv1d_nondet_train_backward_workspace(S, ...)

Allocate a zeroed backward workspace tensor.

cake_causal_conv1d_nondet_train_forward_workspace_bytes(S, ...)

Return the forward workspace size in bytes.

cake_causal_conv1d_nondet_train_forward_workspace(S, ...)

Allocate a zeroed forward workspace tensor.

cake_causal_conv1d_nondet_train_forward(x, ...)

Packed width-4 depthwise causal convolution + SiLU, training forward.

cake_causal_conv1d_nondet_train_backward(x, ...)

Packed width-4 depthwise causal convolution + SiLU, training backward (one launch, unordered dweight / dbias reductions).

cake_causal_conv1d_nondet(x, weight, cu_seqlens)

Autograd-enabled packed width-4 depthwise causal convolution + SiLU, non-deterministic backward.