-
Notifications
You must be signed in to change notification settings - Fork 24
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
Error in xgb.get.handle(object): 'xgb.Booster' object is corrupted or is from an incompatible xgboost version. #447
Comments
I see that this issue might be addressed with #386. In that PR, I don't see any info on the original and updated versions. Which version of xgboost was used to train the default model, and which was used to create the updated models for the PR? |
Thanks for reporting this. Did you install Bambu via BioConductor or Github? Was your installation of xgboost separate or part of the dependency installation? Let me know if updating R/Bambu/downgrading xgboost solves your issue. Kind Regards, |
Thanks for the suggestion. Do you constrain the supported versions of xgboost in the package setup? I don't see any such constraints on xgboost in the DESCRIPTION. If there are no version constraints, why would a re-install of bambu install anything other than the latest version of xgboost, which is now in v2, while you are testing on v1.7 ("v1.7.8.1 from what I just tested")? |
The cran version of xgboost is still v1.7.8 (https://cran.rstudio.com/web/packages/xgboost/index.html) which is what bioconductor will install as a dependency I believe. To confirm if thats correct , may I ask if you installed xgboost independantly or via bioconductor? Presumably in the next bioconductor release xgboosts version will incrase to v2 so we will make sure to either constrain the version or make sure its compatible thanks to your report. |
The lastest conda-forge version of xgboost is 2.1.1. I used the bambu Bioconda recipe, which does not specify particular xgboost versions. It might be best to contact the authors of this bioconda recipe: |
Hi @nick-youngblut , thanks for reporting this. However, I believe there must be some confusion here. As you know, xgboost can refer to both the software or the R package. For bambu, the xgboost version is always referring to that of the R xgboost package, so if you check the latest version of that on cran, it is v1.7.8.1, which is the same version that is in bioconductor, see attached here: Hope this clarifies your question! |
Hi both, I am experiencing the same issue via conda - is there a solution for this? I'm using
Cheers, |
Quick update - the method which has brought me closest to a working (?) install is:
This method resulted in So I followed this up with
This brought me to
|
Hi all, For now I managed to work around it for Bambu 3.4.0 by specifying in my environment:
I used xgboost 1.7.6 here because it was the latest version before 2.0.3 in conda. I hope this helps you @SwiftSeal (also it's strange that you have bambu_3.9.3 if you installed it via conda ? It should be 3.8.3 from what I understand). Best regards, |
Hi @N-Hoffmann Aye some confusion there - I installed bambu via conda then patched it via
I might open a separate issue for that as seems unrelated to this. EDIT: Turns out that was just an OOM - runs fine after increasing memory |
My command:
The error:
I've tried restarting the R kernel, but that did not help. It appears that the xgboost version that I've installed (
xgboost_2.1.1.1
) is not compatible with the model utilized by default bybambu
.I don't see any version specifications for xgboost in the README or elsewhere. Which versions of xgboost are compatible with the default model?
sessionInfo
The text was updated successfully, but these errors were encountered: