Giter Site home page Giter Site logo

Comments (5)

Zhendong-Wang avatar Zhendong-Wang commented on July 2, 2024

If the newest Pytorch doesn't work in your case, try this one https://github.com/Zhendong-Wang/Diffusion-GAN/blob/main/diffusion-insgen/environment.yml, which is 1.8.1 Pytorch, python 3.8 and should fit for most machines.

from diffusion-gan.

sahilqure avatar sahilqure commented on July 2, 2024

I tried with Pytorch 1.8.1 and python 3.8 but it still showing the same error

from diffusion-gan.

Zhendong-Wang avatar Zhendong-Wang commented on July 2, 2024

That is weird. The environment.yml works fine on my Linux/Ubuntu machines. I show the conda list output for my env built by the environement.yml below.

(difgan) zdwang@#######:~$ conda list
# packages in environment at /home/zdwang/miniconda3/envs/difgan:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                        main  
_openmp_mutex             5.1                       1_gnu  
appdirs                   1.4.4              pyhd3eb1b0_0  
blas                      1.0                         mkl  
brotlipy                  0.7.0           py39h27cfd23_1003  
ca-certificates           2023.01.10           h06a4308_0  
certifi                   2022.12.7        py39h06a4308_0  
cffi                      1.15.1           py39h5eee18b_3  
charset-normalizer        2.0.4              pyhd3eb1b0_0  
click                     8.0.4            py39h06a4308_0  
cryptography              39.0.1           py39h9ce1e76_0  
cudatoolkit               11.6.0               habf752d_9    nvidia
flit-core                 3.8.0            py39h06a4308_0  
freetype                  2.12.1               h4a9f257_0  
giflib                    5.2.1                h5eee18b_3  
idna                      3.4              py39h06a4308_0  
imageio                   2.26.0           py39h06a4308_0  
imageio-ffmpeg            0.4.8                    pypi_0    pypi
intel-openmp              2021.4.0          h06a4308_3561  
jpeg                      9e                   h5eee18b_1  
lcms2                     2.12                 h3be6417_0  
ld_impl_linux-64          2.38                 h1181459_1  
lerc                      3.0                  h295c915_0  
libdeflate                1.17                 h5eee18b_0  
libffi                    3.4.2                h6a678d5_6  
libgcc-ng                 11.2.0               h1234567_1  
libgfortran-ng            11.2.0               h00389a5_1  
libgfortran5              11.2.0               h1234567_1  
libgomp                   11.2.0               h1234567_1  
libpng                    1.6.39               h5eee18b_0  
libstdcxx-ng              11.2.0               h1234567_1  
libtiff                   4.5.0                h6a678d5_2  
libwebp                   1.2.4                h11a3e52_1  
libwebp-base              1.2.4                h5eee18b_1  
lz4-c                     1.9.4                h6a678d5_0  
mkl                       2021.4.0           h06a4308_640  
mkl-service               2.4.0            py39h7f8727e_0  
mkl_fft                   1.3.1            py39hd3c417c_0  
mkl_random                1.2.2            py39h51133e4_0  
ncurses                   6.4                  h6a678d5_0  
ninja                     1.10.2               h06a4308_5  
ninja-base                1.10.2               hd09550d_5  
numpy                     1.23.5           py39h14f4228_0  
numpy-base                1.23.5           py39h31eccc5_0  
openssl                   1.1.1t               h7f8727e_0  
packaging                 23.0             py39h06a4308_0  
pillow                    9.4.0            py39h6a678d5_0  
pip                       23.0.1           py39h06a4308_0  
pooch                     1.4.0              pyhd3eb1b0_0  
psutil                    5.9.0            py39h5eee18b_0  
pycparser                 2.21               pyhd3eb1b0_0  
pyopenssl                 23.0.0           py39h06a4308_0  
pysocks                   1.7.1            py39h06a4308_0  
pyspng                    0.1.1                    pypi_0    pypi
python                    3.9.16               h7a1cb2a_2  
pytorch                   1.12.1          py3.9_cuda11.6_cudnn8.3.2_0    pytorch
pytorch-mutex             1.0                        cuda    pytorch
readline                  8.2                  h5eee18b_0  
requests                  2.28.1           py39h06a4308_1  
scipy                     1.10.0           py39h14f4228_1  
setuptools                65.6.3           py39h06a4308_0  
six                       1.16.0             pyhd3eb1b0_1  
sqlite                    3.41.1               h5eee18b_0  
tk                        8.6.12               h1ccaba5_0  
tqdm                      4.65.0           py39hb070fc8_0  
typing_extensions         4.4.0            py39h06a4308_0  
tzdata                    2022g                h04d1e81_0  
urllib3                   1.26.14          py39h06a4308_0  
wheel                     0.38.4           py39h06a4308_0  
xz                        5.2.10               h5eee18b_1  
zlib                      1.2.13               h5eee18b_0  
zstd                      1.5.4                hc292b87_0

You could also try this Docker file https://github.com/NVlabs/stylegan2-ada-pytorch/blob/main/Dockerfile

from diffusion-gan.

octadion avatar octadion commented on July 2, 2024

I have found my problem, it appears that in my pytorch installation there is no runtime_api in /usr/local/cuda/ which makes my ninja seem not to be running. this is confusing because on my different machine everything works normally. do you know of a solution to my pytorch problem that there is no runtime_api ? I've tried reinstalling different versions but still nothing.

from diffusion-gan.

Zhendong-Wang avatar Zhendong-Wang commented on July 2, 2024

Never met the error. Is it something related to the cuda version while not Pytorch, as you said 'there is no runtime_api in /usr/local/cuda/'

from diffusion-gan.

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.