davrens101
davrens101
`apply_kraus_ops_2_state` cannot currently apply a channel when either the state or a Kraus operator has complex entries. The output accumulator is initialized with NumPy's real default dtype, so the first...
## Bug `PiecewiseConstantDecay.__call__` uses in-place `+=` on `result_value`, which is initialized as a 0-d array (`backend.ops.numpy.array(0, ...)`). When `step` is a vector, the broadcast `(2,)` cannot be assigned into the...
`Topic(accumulate=True).checkpoint()` returns its live internal list (and `from_checkpoint` adopts the passed list without copying). `copy_checkpoint` in `pregel/_checkpoint.py` only shallow-copies `channel_values`, so the list stored in a saved/queued checkpoint is the...
### Describe the bug `UniPCMultistepScheduler` returns a fully-NaN sample on the **last step** with the default `final_sigmas_type="zero"` in two configurations: 1. `solver_type="bh1"` (the docstring recommends `bh1` "for unconditional sampling when...
### Describe the bug The FLEX attention backend silently ignores `is_causal=True` when no attention mask is supplied. `_native_flex_attention` first matches `attn_mask is None`, leaving `block_mask=None`; its subsequent causal-mask branch is...
## Describe the bug `FlowMatchEulerDiscreteScheduler.step` reverses the deterministic velocity sign when `per_token_timesteps` is supplied. A zero sample with unit velocity and sigma changing from 1 to 0.5 should advance to...
### Describe the bug `gr.HighlightedText.preprocess()` is documented to return `list[tuple[str, str | float | None]] | None` (a list of `(substring, category)` tuples matching what `postprocess()` accepts). However, `HighlightedText.preprocess()` currently...
### Description When training with fast updates (e.g., small batch sizes, tiny models, fast CPU/GPU steps, or on Windows where standard timer resolution can result in `time.time() - update_start_time ==...
## Bug GroupedTopkRouter.get_topk_indices masks experts in rejected groups to zero before the final top-k. Corrected scores are sigmoid logits + e_score_correction_bias and can be negative. Zero is then larger than...
## Bug Greedy speculative decoding can accept a draft token that differs from the target argmax. With `temperature=0` or `top_p=0`, the sampling helper returns an argmax token but reports a...