Skip to content

fix: XGBoost model loading issue with modelcar in KServe deployments#2353

Open
Snomaan6846 wants to merge 1 commit intoSeldonIO:masterfrom
Snomaan6846:opensource-master
Open

fix: XGBoost model loading issue with modelcar in KServe deployments#2353
Snomaan6846 wants to merge 1 commit intoSeldonIO:masterfrom
Snomaan6846:opensource-master

Conversation

@Snomaan6846
Copy link

@Snomaan6846 Snomaan6846 commented Jan 23, 2026

fix: XGBoost model loading issue with modelcar in KServe deployments

Signed-off-by: Snomaan6846 syedali@redhat.com

rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED

Description :
The XGBoost library is not prepared to load model files from virtual filesystems (like /proc/$pid/root/... in case of modelcars). If we pass models as bytearrays to the XGBoost library (instead of file paths), the lib itself doesn't have to read the file. See dmlc/xgboost#11736 (comment) for the lib maintainers' insights.

@CLAassistant
Copy link

CLAassistant commented Jan 23, 2026

CLA assistant check
All committers have signed the CLA.

@Snomaan6846
Copy link
Author

Fix for #2352

@Snomaan6846 Snomaan6846 force-pushed the opensource-master branch 2 times, most recently from 2b6f126 to 98b4a0e Compare January 29, 2026 07:20
Signed-off-by: Snomaan6846 <syedali@redhat.com>

rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED
@Snomaan6846 Snomaan6846 changed the title fix: Handle bind mounts and delayed model repository availability in KServe deployments fix: XGBoost model loading issue with modelcar in KServe deployments Feb 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants