Aditya Raj
Aditya Raj
## 🐛 Bug `KFACOptimizer.step()` raises a `RuntimeError` on its first call, because `_update_inv` uses `torch.symeig`, which has been removed from PyTorch. The `optimizers.KFAC` wrapper also can't be used through `TorchModel`:...
## 🐛 Bug Two bugs in `deepchem/splits`: **1. `SingletaskStratifiedSplitter` returns float indices.** `split()` returns float64 index arrays instead of integers. `NumpyDataset.select()` rejects float indices, so `train_test_split` and `train_valid_test_split` crash on...
### Describe the bug `GenerationConfig.validate()` accepts non-finite or out-of-range values for `length_penalty`, `diversity_penalty` and `assistant_confidence_threshold`. Other float parameters are already checked (`temperature`, `top_p`, `repetition_penalty`, `presence_penalty`, `frequency_penalty` all reject NaN and...
### Description `ImageGenerationConfig::validate()` does not check `num_inference_steps` or `num_images_per_prompt`. When either is `0`, `generate()` doesn't raise a Python exception. The process aborts with an integer division by zero (`0xC0000094` on...
## Description Fills in the "Prefix Caching" page under Concepts > Optimization techniques, which was a "work in progress" stub, and adds a short cross-reference from the VLM use case...