Giter Site home page Giter Site logo

Comments (6)

cceyda avatar cceyda commented on July 27, 2024 2

Indeed ulimit -H -s is set to a value. I'm was running on aws sagemaker (so inside a blind container)
I guess this is something to keep in mind for people using docker containers to maybe set their ulimits to unlimited(or other large number)
I'll test when the nightly package drops

from hidet.

cceyda avatar cceyda commented on July 27, 2024 2

Just tested, it is working. Thank you ~

from hidet.

yaoyaoding avatar yaoyaoding commented on July 27, 2024 1

Hi @cceyda, the nightly build version of hidet should have this PR in it. Could you have a try?

$ pip install --pre --extra-index-url https://download.hidet.org/whl hidet

from hidet.

austinmw avatar austinmw commented on July 27, 2024

got same error

from hidet.

yaoyaoding avatar yaoyaoding commented on July 27, 2024

Hi @cceyda , thanks for bringing this up!

Hidet uses recursion to traverse the its IR, thus we need a large stack size to process large computation graph and tensor program. This error seems indicate that your operating system has set the hard limit for stack size to a concret value instead of infinity (ulimit -H -s to check).

I have submitted #195 to deal with this case. Now, hidet will not force to set the limit if the hard limit is less than the recommanded size, but emit a warning.

from hidet.

yaoyaoding avatar yaoyaoding commented on July 27, 2024

Let me know if this PR does not solve the problem @cceyda @austinmw, thanks!

from hidet.

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.