Changed
- At predict time, an encoded column whose dtype differs from fit is now coerced to its fit-time dtype (and warns). For a numeric-categorical column arriving as strings, numeric-looking strings (
"1.0") now match their fit category instead of all being treated as unseen. (#1015)
Fixed
- Fix a crash in the chunked-inference OOM recovery path that called
torch.mps.empty_cache()unconditionally, raisingCannot execute emptyCache() without MPS backendon non-MPS devices (CUDA GPUs, CPU-only Linux) and turning a recoverable out-of-memory into a hard failure. (#1007) - Fixed two crashes from inconsistent column dtypes:
fitraisingCannot cast object dtype to float64when a nullable extension dtype (Int64/Float64/boolean) sits next to a string categorical column, andpredictraising aTypeErrorwhen a column was string/categorical at fit but arrives numeric. (#1015)