Git Product home page Git Product logo

Comments (12)

Realdr4g0n avatar Realdr4g0n commented on May 27, 2024 2

Thanks for your feedback
As I said above, I am using cuda 10.0 version, this error is caused by PyTorch version.

I've use torch version 1.0.0. But I uninstall this package and now I've change to version 0.4
so it's work!

Thanks a lot

from instagan.

sangwoomo avatar sangwoomo commented on May 27, 2024 1

I used CUDA 9.0, CUDNN 7.0, and PyTorch 0.4.
I thinks it's a PyTorch bug. Does other codes work in your environment?

It seems that the latest PyTorch is not compatible with CUDA < 10.0.
https://discuss.pytorch.org/t/cuda-runtime-error-11/30080/10

from instagan.

mrc736 avatar mrc736 commented on May 27, 2024 1

Hi, it seems that there is an incompatibility of PyTorch with some environments.
I'm sorry that I'm not maintaining this code base, and it'd be really appreciate if you find some solution and share it (may be from the official PyTorch github)!

Gratefully, but I still have not solved this issue. If it is solved, I will share it with you here.

from instagan.

sangwoomo avatar sangwoomo commented on May 27, 2024

Hello, I comment in English as it may be helpful for others with same issue.
First, can you try to use --gpu_ids 0 instead of sudo CUDA_VISIBLE_DEVICES=0?

from instagan.

Realdr4g0n avatar Realdr4g0n commented on May 27, 2024

Thanks for your comment.

Yes I've tried --gpu_ids 0. But same error occured

from instagan.

Realdr4g0n avatar Realdr4g0n commented on May 27, 2024

Can I know about your development environment about cuda and cudnn version?

from instagan.

mrc736 avatar mrc736 commented on May 27, 2024

Hi, I have the same erro about cuda run time erro(11), I changed the cuda version as 9.0,but it does not work?

from instagan.

sangwoomo avatar sangwoomo commented on May 27, 2024

Hi, did you use PyTorch 0.4?

from instagan.

mrc736 avatar mrc736 commented on May 27, 2024

Hi, did you use PyTorch 0.4?

yes,I used Pytorch0.4.1 ,and GeForce RTX2080ti.

from instagan.

sangwoomo avatar sangwoomo commented on May 27, 2024

Hi, it seems that there is an incompatibility of PyTorch with some environments.
I'm sorry that I'm not maintaining this code base, and it'd be really appreciate if you find some solution and share it (may be from the official PyTorch github)!

from instagan.

Ehsan-Yaghoubi avatar Ehsan-Yaghoubi commented on May 27, 2024

Is anybody find a solution?

from instagan.

ControllableGeneration avatar ControllableGeneration commented on May 27, 2024

I assume sometimes it can also be a batchsize problem. Try decrease your batchsize and run again. At least this is true to me when I use cuda 9.0 torch 0.4.1 python 3.6 to run another program.

from instagan.

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.