Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update xgboost inferface for GLCache #122

Merged
merged 1 commit into from
Feb 5, 2025
Merged

Conversation

haochengxia
Copy link
Collaborator

Resolve the following warning for GLCache.

[18:23:16] WARNING: /tmp/xgboost/src/c_api/c_api.cc:673: `XGDMatrixSetUIntInfo` is deprecated since2.1.0, use `XGDMatrixSetInfoFromInterface` instead.

Using the new interface does not affect performance.

# new interface
tencentBlock.ns1058.oracleGeneral.zst GLCache cache size     9489,          7963358 req, miss ratio 0.0675, throughput 3.53 MQPS

real    0m3.243s
user    0m3.076s
sys     0m0.160s

# old one
tencentBlock.ns1058.oracleGeneral.zst GLCache cache size     9489,          7963358 req, miss ratio 0.0675, throughput 3.43 MQPS

real    0m3.304s
user    0m3.180s
sys     0m0.121s

@1a1a11a 1a1a11a merged commit cfd9956 into 1a1a11a:develop Feb 5, 2025
2 checks passed
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