Giter Site home page Giter Site logo

Comments (12)

suhangpro avatar suhangpro commented on July 16, 2024 3

There is now a branch "th14" which the test cases pass with pytorch 1.4. Not yet tested with any real experiments though.

from pacnet.

KT27-A avatar KT27-A commented on July 16, 2024 1

it seems that ignoring "ctx._backend = type2backend[input.type()]" works fine, could we just ignore it in the new version of Pytorch. BTW, what are we doing by using "ctx._backend = type2backend[input.type()]"? Thanks. @suhangpro @vkothapally

from pacnet.

EyalRozenberg1 avatar EyalRozenberg1 commented on July 16, 2024 1

Ignoring this import (as in #14 (comment)) seems to be working for the forward pass but raises errors in backprop.
Using the new branch (#14 (comment)) solved the issue.

Sorry to bother you, but i don't know what the new branch(14th) is.
Is that a new package or something? Could you please post the link for me? Thank you so much!

Sure, no problem.
you can find branch th14 here

from pacnet.

vkothapally avatar vkothapally commented on July 16, 2024

I had the same issue. @suhangpro Do you have plans to make it compatible with PyTorch 1.4.0?

from pacnet.

suhangpro avatar suhangpro commented on July 16, 2024

@pfeatherstone Sorry for the delay. Yes, we definitely plan to bring compatibility to 1.4. Will take a look soon (in the next few days or perhaps a week).

from pacnet.

vkothapally avatar vkothapally commented on July 16, 2024

@suhangpro Just curious to know if you got a chance to look into this issue

from pacnet.

vkothapally avatar vkothapally commented on July 16, 2024

Thanks a lot for the quick update @suhangpro

from pacnet.

suhangpro avatar suhangpro commented on July 16, 2024

@Katou2 Thanks for sharing the observation. That line was originally used in some custom layer examples for exposing low-level functions. If it runs without errors then I think you're right you've found an even easier fix!

from pacnet.

EyalRozenberg1 avatar EyalRozenberg1 commented on July 16, 2024

Ignoring this import (as in #14 (comment)) seems to be working for the forward pass but raises errors in backprop.

Using the new branch (#14 (comment)) solved the issue.

from pacnet.

scarlett16 avatar scarlett16 commented on July 16, 2024

Ignoring this import (as in #14 (comment)) seems to be working for the forward pass but raises errors in backprop.

Using the new branch (#14 (comment)) solved the issue.

Sorry to bother you, but i don't know what the new branch(14th) is.
Is that a new package or something? Could you please post the link for me? Thank you so much!

from pacnet.

EricPengShuai avatar EricPengShuai commented on July 16, 2024

@suhangpro What is the main change of your new branch th14 to solve the problem of type2backend’s missing, can you briefly talk about it? Thanks

from pacnet.

suhangpro avatar suhangpro commented on July 16, 2024

@EricPengShuai You can check the changes here. backend is no longer exposed and so we changed the implementation to just use the higher level fold function.

from pacnet.

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.