Giter Site home page Giter Site logo

Comments (7)

mittagessen avatar mittagessen commented on August 30, 2024 1

Yes, then that seems like the best compromise for now.

Ok, it's pinned now. I'll tag a new release once a couple of more bug fixes accumulate.

from kraken.

mittagessen avatar mittagessen commented on August 30, 2024

That's not going to happen. We've arrived at the current pinned dependencies because the random library combinations when not doing so regularly broke functionality. In particular, different pytorch versions can cause enormous (10x) differences in memory consumption and training divergence. You'll see that some dependencies are much less restricted. Those are for packages whose maintainers do not randomly break stuff.

pytorch 2.4.0 is out and I wonder any would keep Kraken from working but a recent commit 51d593a downgraded from 2.2.0 to 2.1.0 :|

Lightning officially only supports up to pytorch 2.2. But that one isn't on conda-forge yet. I can't maintain and keep track of different dependency sets for each packaging system.

from kraken.

drzraf avatar drzraf commented on August 30, 2024

FYI I got it to work full-pip (no conda), using

  • torch 2.4.0.dev20240510+cu121
  • pytorch-lightning 1.1.7
  • lightning 2.2.4
  • coremltools 6.3.0 (7.x didn't work due to missing libcoremlpython.so in the wheel)
  • numpy 1.26.4

It's indeed a very sensitive matters of version combinations (eg: shapely version breaking inference in non-obvious ways)

[Sadly, no model fits onto 2GB GPU... yet 😢]

from kraken.

bertsky avatar bertsky commented on August 30, 2024

The problem with Torch 2.1 is that it still uses pkg_resources.packaging, which broke with setuptools v70.

What do you recommend we do?

from kraken.

mittagessen avatar mittagessen commented on August 30, 2024

They've pushed pytorch 2.3 onto conda-forge so I can bump up the version as soon as I've verified that everything works.

from kraken.

mittagessen avatar mittagessen commented on August 30, 2024

Hm, the issue is there isn't a lightning release that works with pytorch 2.3 yet and conda-forge never got a pytorch 2.2 release. I can pin setuptools below v70 if that helps.

from kraken.

bertsky avatar bertsky commented on August 30, 2024

I can pin setuptools below v70 if that helps.

Yes, then that seems like the best compromise for now.

from kraken.

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.