Giter VIP home page Giter VIP logo

Comments (5)

romanngg avatar romanngg commented on June 30, 2024 1

Thanks again for reporting this silent bug! It's now fixed with 11d70e1 (numpy 1.19 compatible), and 148ba2b (makes the for shell loop exit with code 1 if it fails mid-loop; here's a sample of a failing test https://travis-ci.org/github/google/neural-tangents/builds/705595567/config and passing master: https://travis-ci.org/github/google/neural-tangents/builds/705590810).

from neural-tangents.

romanngg avatar romanngg commented on June 30, 2024

Thanks for reporting this - looks like JAX or our code specifically doesn't go along with numpy 1.19, could you try with

pip install numpy=1.18.5

?

Interestingly, our tests have been also failing but reported as passing... https://travis-ci.org/github/google/neural-tangents/jobs/704287384

from neural-tangents.

DarrenZhang01 avatar DarrenZhang01 commented on June 30, 2024

Thanks for the reply, Roman! If you look into the execution log of travis CI, those tests actually failed.

from neural-tangents.

DarrenZhang01 avatar DarrenZhang01 commented on June 30, 2024

But as you mentioned, Numpy version is indeed the problem. Take Monte Carlo tests for example, all of them failed with Numpy 1.19, but they work fine with 1.18.

from neural-tangents.

DarrenZhang01 avatar DarrenZhang01 commented on June 30, 2024

Interestingly, our tests have been also failing but reported as passing... https://travis-ci.org/github/google/neural-tangents/jobs/704287384

Wrong exiting code (0) which misleads Travis CI might be the problem? https://stackoverflow.com/questions/24972098/unit-test-script-returns-exit-code-0-even-if-tests-fail

from neural-tangents.

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.