Code Monkey home page Code Monkey logo

Comments (4)

laramiel avatar laramiel commented on June 24, 2024

You can try running third_party/pypa/generate_workspace.sh , adding -r ml-dtypes=0.2.0, and see if the constraints are met.

See tools/pypi_solver/main.py, which has a number of options to attempt to get compatible versions.

from tensorstore.

kvablack avatar kvablack commented on June 24, 2024

Sorry, I'm not sure I understand. If I want to install tensorstore and TensorFlow via pip (i.e., I have tensorflow == 2.15.0 and tensorstore == 0.1.51 in my requirements.txt), how can I do that without causing a version conflict? I'm not familiar with how generate_workspace.sh would become part of that workflow.

The reality of what's happening is actually more sinister: I have a chain of several dependencies that ends with tensorstore, but I also need TensorFlow, so the version of several other packages is silently "capped" by this ml-dtypes conflict. It seems like ml-types >= 0.3.1 was only added for float8 and int4 integration, which I definitely don't need. I would like to be able to get the most up-to-date version of tensorstore, as well as those other packages, without resorting to some complex pip install --no-deps shenanigans.

from tensorstore.

jbms avatar jbms commented on June 24, 2024

Currently we do specifically depend on 0.3.1 because certain data types were added in that version, and tensorstore will not work with an earlier version.

We could potentially change tensorstore to just skip support for missing data types, but it would instead be better to just change the version requirement for tensorflow, since I'm pretty sure it will in fact work with a newer version of ml-dtypes.

from tensorstore.

kvablack avatar kvablack commented on June 24, 2024

Ok thanks, I guess I'm off to try and convince the TensorFlow maintainers then

from tensorstore.

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.