GithubHelp home page GithubHelp logo

Comments (5)

AIWintermuteAI avatar AIWintermuteAI commented on September 17, 2024

Can you provide more details? Are you running aXeleRate in Colab or local computer?
If local computer: native installation, virtual env or conda?

from axelerate.

pritamghanghas avatar pritamghanghas commented on September 17, 2024

I am running on local computer with conda. I have another conda environment with tf2.2. There GPU works perfectly fine. aXcelerate seems to be doing something, I used tensorflow_gpu 1.15 but still no luck. Next I will see how much effort is there to switch to tf 2.2 while still using aXcelerate. Will try to run it on colab as well. I generally prefer local, but whatever gets the job done is good by me.

from axelerate.

AIWintermuteAI avatar AIWintermuteAI commented on September 17, 2024

If you do port it to tf 2.2, make a PR :) not complicated, but that is quite a lot of work though.
Try making clean environment, then install aXeleRate with pip there and after that do conda install tensorflow-gpu==1.15 - that will make sure you have CUDA installed in conda environment you've activated. aXeleRate by itself doesn't influence GPU/CUDA usage. But from what I understand, tensorflow installed in conda environment needs CUDA installed with conda install command and will not use system-wide CUDA.

from axelerate.

AIWintermuteAI avatar AIWintermuteAI commented on September 17, 2024

Try this
git clone https://github.com/AIWintermuteAI/aXeleRate.git
cd aXeleRate
python setup.py install
conda install tensorflow-gpu==1.15 keras

I just did this with new clean conda environment - after python setup.py install I wasn't able to use GPU, but when I did conda install tensorflow-gpu==1.15 keras it automatically installed necessary CUDA/CUDNN packages in the environment and GPU acceleration was back.

If this solution works for you, please do give feedback :)

from axelerate.

pritamghanghas avatar pritamghanghas commented on September 17, 2024

That was strange. I had installed the same version using pip. But an install with conda of same package solved the probelm.
Thanks.

from axelerate.

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.