Coder Social home page Coder Social logo

Comments (8)

CMCDragonkai avatar CMCDragonkai commented on June 9, 2024

I think the optimize function expects a simple dictionary, but what is copied into the core.optimize function is actually a high level graph. The high level graph is not just a simple dictionary: http://docs.dask.org/en/latest/high-level-graphs.html#highlevelgraphs

from graphchain.

CMCDragonkai avatar CMCDragonkai commented on June 9, 2024

I believe this PR dask/dask#4092 is what changed the underlying Dask graph representation and has broken graphchain.

from graphchain.

lsorber avatar lsorber commented on June 9, 2024

Thanks for the bug report @CMCDragonkai. We're working on a PR to add support for HighLevelGraphs!

from graphchain.

lsorber avatar lsorber commented on June 9, 2024

Published graphchain v1.1.0 to PyPI. Let us know if you encounter any other issues!

from graphchain.

CMCDragonkai avatar CMCDragonkai commented on June 9, 2024

Since you changed the pytest options, I get this error now:

pytest: error: unrecognized arguments: --cov=graphchain

It seems there was an additional option added in with setup.cfg. But this option is not recognised in pytest 4.2.1.

from graphchain.

lsorber avatar lsorber commented on June 9, 2024

You'll need the pytest-cov extension [1] for pytest to work with the bundled setup.cfg. Or, you can also choose not to use our setup.cfg (which we use for development, not in the graphchain distribution).

[1] https://anaconda.org/search?q=pytest-cov

from graphchain.

CMCDragonkai avatar CMCDragonkai commented on June 9, 2024

Should pytest-cov then be part of the list of dependencies specified somewhere?

from graphchain.

lsorber avatar lsorber commented on June 9, 2024

If you installed graphchain with pip install graphchain, you should have all the required runtime dependencies. The runtime dependencies are listed in setup.py [1].

If you want to modify or contribute to graphchain, then you do indeed need additional dependencies. Those are listed in the local conda environment spec [2]. You can install these with conda env create -f environment.local.yml, followed by source activate graphchain-local-env.

[1] https://github.com/radix-ai/graphchain/blob/master/setup.py#L31
[2] https://github.com/radix-ai/graphchain/blob/master/environment.local.yml

from graphchain.

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.