Giter Club home page Giter Club logo

Comments (8)

dmMaze avatar dmMaze commented on May 13, 2024 3

Great, pytorch-directml doesn't share the same semantics with pytorch-cuda, I will try to make it compatible this week.

from ballonstranslator.

Snowad14 avatar Snowad14 commented on May 13, 2024

It seems to me that pytorch does not support ROCm (AMD GPU support) on windows

from ballonstranslator.

dmMaze avatar dmMaze commented on May 13, 2024

Hello
As stated by @Snowad14 it would not work on windows.
And I don't have AMD GPU, however, if you use Linux and your AMD GPU is supported (check https://pytorch.org/blog/pytorch-for-amd-rocm-platform-now-available-as-python-package), I'll create an 'amd' branch so you can help to verify if it works. It seems we don't need to modify the source code to use amd GPU according to https://pytorch.org/docs/stable/notes/hip.html, you may verify if the current master branch works.

I'm also considering switching to other more deploy-friendly frameworks but that would require extra effort to work with new fancy models so that won't happen before next iter.

from ballonstranslator.

imKota avatar imKota commented on May 13, 2024

@dmMaze hmmm
https://stackoverflow.com/a/63009844
microsoft/DirectML#52 (comment)

from ballonstranslator.

dmMaze avatar dmMaze commented on May 13, 2024

@dmMaze hmmm https://stackoverflow.com/a/63009844 microsoft/DirectML#52 (comment)

So it's pytorch-directml, you may verify if the current master branch works with win+amd+pytorch-directml.

from ballonstranslator.

imKota avatar imKota commented on May 13, 2024

image

from ballonstranslator.

dmMaze avatar dmMaze commented on May 13, 2024
Try the ```pytorch_dml_support``` branch and set backend to 'hip'. image

Delete BallonsTranslator\ballontranslator\data\config\config.json before you run the source code.

Some operators are not supported by pytorch_dml yet.
I would suggest you to use wslg+pytroch-ROCm

from ballonstranslator.

imKota avatar imKota commented on May 13, 2024

@dmMaze hello!
About amd gpu, tensorflow working on mac os
Can you add support?

image
image

image

https://developer.apple.com/metal/tensorflow-plugin/

from ballonstranslator.

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.