Git Product home page Git Product logo

Comments (7)

kshitij12345 avatar kshitij12345 commented on June 11, 2024

autograd_function_db was added fairly recently and should be available only by installing nightlies or building from source. Unfortunately none of the stable release has it.

cc: @zou3519

from functorch.

zou3519 avatar zou3519 commented on June 11, 2024

@sunmorgan what are you trying to do?

from functorch.

sunmorgan avatar sunmorgan commented on June 11, 2024

@zou3519 I tried running

pytest test/functorch/test_vmap.py -v -k "test_op_has_batch_rule_tril" (as well as triu)

and received

ModuleNotFoundError: No module named 'torch.testing._internal.autograd_function_db'

Is the above line the expected error? (built from source)

from functorch.

zou3519 avatar zou3519 commented on June 11, 2024

That is not expected, what commit hash are you at? (git log will tell)

from functorch.

sunmorgan avatar sunmorgan commented on June 11, 2024

13b3d862dd35cef133e09bdbc62ee9891999209f

from functorch.

zou3519 avatar zou3519 commented on June 11, 2024

Can you verify that you do not have a PyTorch binary installed in your environment that is interfering? What does import torch; torch.__version__ say?

from functorch.

sunmorgan avatar sunmorgan commented on June 11, 2024

2.0.0a0+git13b3d86

from functorch.

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.