Comments (22)
We should be good to go. All the tests are now green thanks to Julia v1.9.2
from xgboost.jl.
Issue fixed in latest nightly 👍 . Great job @jd-foster and @giordano.
julia> b = xgboost((X,y), max_depth=4)
[ Info: XGBoost: starting training.
[ Info: [1] train-rmse:0.92113782176854342
[ Info: [2] train-rmse:0.86453193144589746
[ Info: [3] train-rmse:0.81174178860290347
[ Info: [4] train-rmse:0.77007250879661970
[ Info: [5] train-rmse:0.70126246007321902
[ Info: [6] train-rmse:0.64168739063396085
[ Info: [7] train-rmse:0.61086880841385705
[ Info: [8] train-rmse:0.56906845909755754
[ Info: [9] train-rmse:0.54034384738000574
[ Info: [10] train-rmse:0.51089554296834572
[ Info: Training rounds complete.
from xgboost.jl.
Fixed in Julia master by JuliaLang/julia#50135 (and yes, this is a duplicate)
from xgboost.jl.
Ok, well thanks @jd-foster then!
from xgboost.jl.
Can you show the full stack trace? I can't reproduce any error.
from xgboost.jl.
Yes, please post stack trace, but my guess is JuliaLang/julia#48187 . Only workaround I know of is downgrade julia to < 1.8.4 or use non-windows machine
from xgboost.jl.
How do I generate the full stack trace? Running on Windows 11
from xgboost.jl.
Oh, I didn't notice this was windows, yeah it's probably that. Also Julia 1.9 just came out today so that might work (and it's best to upgrade anyway).
How do I generate the full stack trace? Running on Windows 11
What appears when you see the error?
from xgboost.jl.
Unfortunately the problem hasn't been resolved with Julia v1.9.
AFAIK, the most active thread discussing the issue is: https://discourse.julialang.org/t/issue-with-xgboost-jl-and-libsvm-jl-when-julia-1-8-4/92396/46
from xgboost.jl.
Yeah, didn't fix the issue when I tried in 1.9.0 as well. Seems to be ongoing since 1.8.4.
No errors are generated it silently crashes. The REPL dies when you run the four lines above and if you put in a script nothing prints.
from xgboost.jl.
I'm getting the sense that there are a lack of windows people around to debug the issue. I don't think any of us who have made recent commits to this package are capable of debugging the issue. Probably something JLL related but 🤷
from xgboost.jl.
As discussed in the linked discourse thread, it seems to be an incompatibility arising after an update to building julia under gcc 12 since v1.8.4, and the libgomp (OpenMP) library. A possible work-around is to use your own system's version of libgomp, but not a good long-term solution. And, yes, it needs someone who knows how to debug windows crashes.
from xgboost.jl.
Do we know what library that xgboost relies on has libgomp as a build dependency? I'm wondering if it could be as simple as updating a jll build script, but I don't even know which one my specify this as a dependency.
from xgboost.jl.
The julia stdlib CompilerSupportLibraries and the CompilerSupportLibraries_jll supply a specific libgomp
:
See also my halting attempts: https://discourse.julialang.org/t/issue-with-xgboost-jl-and-libsvm-jl-when-julia-1-8-4/92396/28?u=jd-foster
from xgboost.jl.
Ok, quick and dirty fix to at least avoid crashes. As noted above, offending library seems to be libgomp-1.dll that is installed in the bin directory. Replacing with the 1.8.3 version seems to fix the crashes.
Mode LastWriteTime Length Name
-a--- 11/14/2022 1:07 PM 1761059 libgomp-1.dll
-a--- 5/8/2023 6:28 AM 1511051 libgomp-1.dll.installed_1_9_0
the 1_9_0 version (second one) comes with 1.8.5 and 1.9.0, the first one is from 1.8.3. For now, just replace this one if you need to use XGBoost. Of course, someone needs to figure out why libgomp-1.dll.installed_1_9_0 crashes.
from xgboost.jl.
Seems like a duplicate of #153?
from xgboost.jl.
Thanks so much for your efforts on this @giordano .
from xgboost.jl.
I merely executed the solution found by @jd-foster 🙂
from xgboost.jl.
I reported the fact that this issue has been fixed (at least on Julia master
) because maybe you want to close this ticket (and #153) 🙂
from xgboost.jl.
I'll wait until 1.9.2 is out and we see CI/CD pass to close them.
from xgboost.jl.
For CI you can check it works on nightly, like JuliaApproximation/FastTransforms.jl#222
from xgboost.jl.
As with #153, I believe this is now resolved on 1.9.2. Please re-open if this is not the case.
from xgboost.jl.
Related Issues (20)
- Package now requires a Julia built with GPL libraries enabled HOT 2
- early_stopping_rounds? HOT 18
- what is the role of sparse `DMatrix` constructors? HOT 24
- Can not reduce verbosity HOT 4
- Classification: Support multiple metrics HOT 9
- XGBoost rewrite on Julia using Metal.jl HOT 8
- question on XGBoost_jll HOT 3
- TreeSHAP, libxgboost, and implications for predict function HOT 10
- Update term.jl dependency HOT 3
- Add GPU tests with buildkite
- Quick question on Custom objective HOT 3
- issue finding libomp popped up after updating environment HOT 1
- xgboost fails to find libxgboost HOT 13
- Watchlist error HOT 1
- `predict` overwrites previously returned predictions HOT 2
- Saving and Loading Boosters HOT 13
- Precompile fails on Julia 1.10 HOT 5
- Saving and reloading boosters using IOBuffer HOT 5
- Occasional segfaults on m1 apple silicon HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xgboost.jl.