Coder Social home page Coder Social logo

All tests failing in github CI about scico HOT 3 CLOSED

lanl avatar lanl commented on July 22, 2024
All tests failing in github CI

from scico.

Comments (3)

lukepfister avatar lukepfister commented on July 22, 2024 1

Yes, definitely pin it.

It wouldn't be a bad idea to set up a test matrix and run the tests on jax==whatever we pin to and jax upstream.

See here: https://docs.github.com/en/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix

I've seen this error before. My best guess: a new helper function got added to jax.random; one that doesn't take shape as an argument. We are running the scico.random wrapper over all functions that aren't explicitly prohibited. This happened with threefry_2x32 and I fixed it in this commit: https://github.com/scici/scico/commit/3cb896d547f28862e3cc82d253ab15eaf4332cde. I'd suggest looking at the functions here and seeing if any of them are the problem:

https://github.com/google/jax/blob/573943125bc575feb16fc8eeaceb624b07c19941/jax/random.py#L109-L115

To keep this from happening in the future:
Maybe we should change to an allow_list model and only wrap the functions that we intend to?

from scico.

Michael-T-McCann avatar Michael-T-McCann commented on July 22, 2024

It looks to me like the CI just grabs the latest jax: jax>=0.2.19. This is bad, right? Given that the jax API is changing, I would suggest we pin SCICO to a specific version of jax.

from scico.

Michael-T-McCann avatar Michael-T-McCann commented on July 22, 2024

I see how to fix the immediate problem in random, will handle it now.

from scico.

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.