GithubHelp home page GithubHelp logo

Comments (22)

tylerjthomas9 avatar tylerjthomas9 commented on June 12, 2024 4

We should be good to go. All the tests are now green thanks to Julia v1.9.2

#184

from xgboost.jl.

naveenpalli avatar naveenpalli commented on June 12, 2024 3

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.

giordano avatar giordano commented on June 12, 2024 1

Fixed in Julia master by JuliaLang/julia#50135 (and yes, this is a duplicate)

from xgboost.jl.

ExpandingMan avatar ExpandingMan commented on June 12, 2024 1

Ok, well thanks @jd-foster then!

from xgboost.jl.

ExpandingMan avatar ExpandingMan commented on June 12, 2024

Can you show the full stack trace? I can't reproduce any error.

from xgboost.jl.

ablaom avatar ablaom commented on June 12, 2024

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.

naveenpalli avatar naveenpalli commented on June 12, 2024

How do I generate the full stack trace? Running on Windows 11

from xgboost.jl.

ExpandingMan avatar ExpandingMan commented on June 12, 2024

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.

jeremiedb avatar jeremiedb commented on June 12, 2024

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.

naveenpalli avatar naveenpalli commented on June 12, 2024

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.

ExpandingMan avatar ExpandingMan commented on June 12, 2024

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.

jd-foster avatar jd-foster commented on June 12, 2024

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.

ExpandingMan avatar ExpandingMan commented on June 12, 2024

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.

jd-foster avatar jd-foster commented on June 12, 2024

The julia stdlib CompilerSupportLibraries and the CompilerSupportLibraries_jll supply a specific libgomp:

https://github.com/JuliaPackaging/Yggdrasil/blob/543e52c046761a2ad39c1d93dbbe108b79a48b22/X/XGBoost/build_tarballs.jl#LL86C1-L86C1

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.

naveenpalli avatar naveenpalli commented on June 12, 2024

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.

devmotion avatar devmotion commented on June 12, 2024

Seems like a duplicate of #153?

from xgboost.jl.

ExpandingMan avatar ExpandingMan commented on June 12, 2024

Thanks so much for your efforts on this @giordano .

from xgboost.jl.

giordano avatar giordano commented on June 12, 2024

I merely executed the solution found by @jd-foster 🙂

from xgboost.jl.

giordano avatar giordano commented on June 12, 2024

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.

ExpandingMan avatar ExpandingMan commented on June 12, 2024

I'll wait until 1.9.2 is out and we see CI/CD pass to close them.

from xgboost.jl.

giordano avatar giordano commented on June 12, 2024

For CI you can check it works on nightly, like JuliaApproximation/FastTransforms.jl#222

from xgboost.jl.

ExpandingMan avatar ExpandingMan commented on June 12, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.