Giter Site home page Giter Site logo

Comments (8)

eellison avatar eellison commented on May 20, 2024

I just setup a pytorch-311 build and can't repro this. Python 3.11.9. Do you have to run multiple times to repro or does it happen consistently?

from pytorch.

Chillee avatar Chillee commented on May 20, 2024

@eellison hmm.. this script repros it consistently for me. Like, when you run it, it goes through compilation for all the shapes without erroring?

from pytorch.

eellison avatar eellison commented on May 20, 2024

That's correct

from pytorch.

cpuhrsch avatar cpuhrsch commented on May 20, 2024

I tried to get it to repo on CI in #125331 but it seems to have green / with an unrelated failure. The error is definitely real though, because we see it in AO here: pytorch/ao#197

from pytorch.

eellison avatar eellison commented on May 20, 2024

What python version are you specifically ?

from pytorch.

eellison avatar eellison commented on May 20, 2024

There is an AST Parsing bug that was fixed in 3.11.8: pytest-dev/pytest#11724 (comment).

I'm using 3.11.9 here so maybe that explains it.

Can @Chillee or @cpuhrsch give your 3.11 versions ?

from pytorch.

Chillee avatar Chillee commented on May 20, 2024

Yeah i'm on 3.11.7

from pytorch.

eellison avatar eellison commented on May 20, 2024

I guess we can disable precompilation from 3.11.0 to 3.11.7 and print a warning.

which has been around in that form in python3.11 releases since 3.11.0b4 up to and including 3.11.7.

from pytorch.

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.