sjtuplayer / anomalydiffusion

[AAAI 2024] AnomalyDiffusion: Few-Shot Anomaly Image Generation with Diffusion Model
MIT License
169 stars 26 forks source link

Set up virtual environment #80

Open sauerland97 opened 1 month ago

sauerland97 commented 1 month ago

Dear Author,

I am trying to set up the virtual environment to try out your model. I have followed the set up from the Environment.yaml. (cuda 11.3, python 3.8.5). When I try to start the model training through the main.py file I get the following output and error message:

python3 main.py --spatial_encoder_embedding --data_enhance --base configs/latent-diffusion/txt2img-1p4B-finetune-encoder+embedding.yaml -t --actual_resume models/ldm/text2img-large/model.ckpt -n test --gpus 0, --init_word anomaly  --mvtec_path /home/analyse/Dokumente/Sauerland/OberflaechenInspektion/mvTec
Global seed set to 23
Running on GPUs 0,
Loading model from models/ldm/text2img-large/model.ckpt
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 872.30 M params.
making attention of type 'vanilla' with 512 in_channels
Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
making attention of type 'vanilla' with 512 in_channels
Restored from models/ldm/text2img-large/model.ckpt with 0 missing and 2 unexpected keys
Unexpected Keys: ['model_ema.decay', 'model_ema.num_updates']
Traceback (most recent call last):
  File "/home/analyse/anaconda3/envs/Anomalydiffusion/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1808, in _run_ninja_build
    subprocess.run(
  File "/home/analyse/anaconda3/envs/Anomalydiffusion/lib/python3.8/subprocess.py", line 512, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "main.py", line 644, in <module>
    model = load_model_from_config(config, opt.actual_resume)
  File "main.py", line 30, in load_model_from_config
    model = instantiate_from_config(config.model)
  File "/home/analyse/Dokumente/Sauerland/opticalAnalyzer/models/anomalydiffusion-master/ldm/util.py", line 86, in instantiate_from_config
    return get_obj_from_str(config["target"])(**config.get("params", dict()), **kwargs)
  File "/home/analyse/Dokumente/Sauerland/opticalAnalyzer/models/anomalydiffusion-master/ldm/models/diffusion/ddpm.py", line 501, in __init__
    self.embedding_manager = self.instantiate_embedding_manager(personalization_config, self.cond_stage_model)
  File "/home/analyse/Dokumente/Sauerland/opticalAnalyzer/models/anomalydiffusion-master/ldm/models/diffusion/ddpm.py", line 579, in instantiate_embedding_manager
    model = instantiate_from_config(config, embedder=embedder)
  File "/home/analyse/Dokumente/Sauerland/opticalAnalyzer/models/anomalydiffusion-master/ldm/util.py", line 86, in instantiate_from_config
    return get_obj_from_str(config["target"])(**config.get("params", dict()), **kwargs)
  File "/home/analyse/Dokumente/Sauerland/opticalAnalyzer/models/anomalydiffusion-master/ldm/util.py", line 94, in get_obj_from_str
    return getattr(importlib.import_module(module, package=None), cls)
  File "/home/analyse/anaconda3/envs/Anomalydiffusion/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/analyse/Dokumente/Sauerland/opticalAnalyzer/models/anomalydiffusion-master/ldm/modules/embedding_manager2.py", line 8, in <module>
    from ldm.models.psp_encoder.encoders import psp_encoders
  File "/home/analyse/Dokumente/Sauerland/opticalAnalyzer/models/anomalydiffusion-master/ldm/models/psp_encoder/encoders/psp_encoders.py", line 8, in <module>
    from ..stylegan2.model import EqualLinear
  File "/home/analyse/Dokumente/Sauerland/opticalAnalyzer/models/anomalydiffusion-master/ldm/models/psp_encoder/stylegan2/model.py", line 7, in <module>
    from .op import FusedLeakyReLU, fused_leaky_relu, upfirdn2d
  File "/home/analyse/Dokumente/Sauerland/opticalAnalyzer/models/anomalydiffusion-master/ldm/models/psp_encoder/stylegan2/op/__init__.py", line 1, in <module>
    from .fused_act import FusedLeakyReLU, fused_leaky_relu
  File "/home/analyse/Dokumente/Sauerland/opticalAnalyzer/models/anomalydiffusion-master/ldm/models/psp_encoder/stylegan2/op/fused_act.py", line 9, in <module>
    fused = load(
  File "/home/analyse/anaconda3/envs/Anomalydiffusion/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1202, in load
    return _jit_compile(
  File "/home/analyse/anaconda3/envs/Anomalydiffusion/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1425, in _jit_compile
    _write_ninja_file_and_build_library(
  File "/home/analyse/anaconda3/envs/Anomalydiffusion/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1537, in _write_ninja_file_and_build_library
    _run_ninja_build(
  File "/home/analyse/anaconda3/envs/Anomalydiffusion/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1824, in _run_ninja_build
    raise RuntimeError(message) from e
RuntimeError: Error building extension 'fused': [1/3] /home/analyse/anaconda3/envs/Anomalydiffusion/bin/nvcc  -ccbin /home/analyse/anaconda3/envs/Anomalydiffusion/bin/x86_64-conda-linux-gnu-cc -DTORCH_EXTENSION_NAME=fused -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -isystem /home/analyse/anaconda3/envs/Anomalydiffusion/lib/python3.8/site-packages/torch/include -isystem /home/analyse/anaconda3/envs/Anomalydiffusion/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -isystem /home/analyse/anaconda3/envs/Anomalydiffusion/lib/python3.8/site-packages/torch/include/TH -isystem /home/analyse/anaconda3/envs/Anomalydiffusion/lib/python3.8/site-packages/torch/include/THC -isystem /home/analyse/anaconda3/envs/Anomalydiffusion/include -isystem /home/analyse/anaconda3/envs/Anomalydiffusion/include/python3.8 -D_GLIBCXX_USE_CXX11_ABI=0 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 --compiler-options '-fPIC' -std=c++14 -c /home/analyse/Dokumente/Sauerland/opticalAnalyzer/models/anomalydiffusion-master/ldm/models/psp_encoder/stylegan2/op/fused_bias_act_kernel.cu -o fused_bias_act_kernel.cuda.o
FAILED: fused_bias_act_kernel.cuda.o
/home/analyse/anaconda3/envs/Anomalydiffusion/bin/nvcc  -ccbin /home/analyse/anaconda3/envs/Anomalydiffusion/bin/x86_64-conda-linux-gnu-cc -DTORCH_EXTENSION_NAME=fused -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -isystem /home/analyse/anaconda3/envs/Anomalydiffusion/lib/python3.8/site-packages/torch/include -isystem /home/analyse/anaconda3/envs/Anomalydiffusion/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -isystem /home/analyse/anaconda3/envs/Anomalydiffusion/lib/python3.8/site-packages/torch/include/TH -isystem /home/analyse/anaconda3/envs/Anomalydiffusion/lib/python3.8/site-packages/torch/include/THC -isystem /home/analyse/anaconda3/envs/Anomalydiffusion/include -isystem /home/analyse/anaconda3/envs/Anomalydiffusion/include/python3.8 -D_GLIBCXX_USE_CXX11_ABI=0 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 --compiler-options '-fPIC' -std=c++14 -c /home/analyse/Dokumente/Sauerland/opticalAnalyzer/models/anomalydiffusion-master/ldm/models/psp_encoder/stylegan2/op/fused_bias_act_kernel.cu -o fused_bias_act_kernel.cuda.o
cc1plus: fatal error: cuda_runtime.h: No such file or directory
compilation terminated.
[2/3] /home/analyse/anaconda3/envs/Anomalydiffusion/bin/x86_64-conda-linux-gnu-c++ -MMD -MF fused_bias_act.o.d -DTORCH_EXTENSION_NAME=fused -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -isystem /home/analyse/anaconda3/envs/Anomalydiffusion/lib/python3.8/site-packages/torch/include -isystem /home/analyse/anaconda3/envs/Anomalydiffusion/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -isystem /home/analyse/anaconda3/envs/Anomalydiffusion/lib/python3.8/site-packages/torch/include/TH -isystem /home/analyse/anaconda3/envs/Anomalydiffusion/lib/python3.8/site-packages/torch/include/THC -isystem /home/analyse/anaconda3/envs/Anomalydiffusion/include -isystem /home/analyse/anaconda3/envs/Anomalydiffusion/include/python3.8 -D_GLIBCXX_USE_CXX11_ABI=0 -fPIC -std=c++14 -c /home/analyse/Dokumente/Sauerland/opticalAnalyzer/models/anomalydiffusion-master/ldm/models/psp_encoder/stylegan2/op/fused_bias_act.cpp -o fused_bias_act.o
FAILED: fused_bias_act.o
/home/analyse/anaconda3/envs/Anomalydiffusion/bin/x86_64-conda-linux-gnu-c++ -MMD -MF fused_bias_act.o.d -DTORCH_EXTENSION_NAME=fused -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -isystem /home/analyse/anaconda3/envs/Anomalydiffusion/lib/python3.8/site-packages/torch/include -isystem /home/analyse/anaconda3/envs/Anomalydiffusion/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -isystem /home/analyse/anaconda3/envs/Anomalydiffusion/lib/python3.8/site-packages/torch/include/TH -isystem /home/analyse/anaconda3/envs/Anomalydiffusion/lib/python3.8/site-packages/torch/include/THC -isystem /home/analyse/anaconda3/envs/Anomalydiffusion/include -isystem /home/analyse/anaconda3/envs/Anomalydiffusion/include/python3.8 -D_GLIBCXX_USE_CXX11_ABI=0 -fPIC -std=c++14 -c /home/analyse/Dokumente/Sauerland/opticalAnalyzer/models/anomalydiffusion-master/ldm/models/psp_encoder/stylegan2/op/fused_bias_act.cpp -o fused_bias_act.o
In file included from /home/analyse/anaconda3/envs/Anomalydiffusion/lib/python3.8/site-packages/torch/include/torch/csrc/python_headers.h:10:0,
                 from /home/analyse/anaconda3/envs/Anomalydiffusion/lib/python3.8/site-packages/torch/include/torch/csrc/Device.h:3,
                 from /home/analyse/anaconda3/envs/Anomalydiffusion/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/python.h:8,
                 from /home/analyse/anaconda3/envs/Anomalydiffusion/lib/python3.8/site-packages/torch/include/torch/extension.h:6,
                 from /home/analyse/Dokumente/Sauerland/opticalAnalyzer/models/anomalydiffusion-master/ldm/models/psp_encoder/stylegan2/op/fused_bias_act.cpp:1:
/home/analyse/anaconda3/envs/Anomalydiffusion/include/python3.8/Python.h:44:10: fatal error: crypt.h: No such file or directory
 #include <crypt.h>
          ^~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "main.py", line 887, in <module>
    if trainer.global_rank == 0:
NameError: name 'trainer' is not defined

Enclosed is the Conda list for my virtual environment:

Conda list # packages in environment at /home/analyse/anaconda3/envs/Anomalydiffusion: # # Name Version Build Channel _libgcc_mutex 0.1 main _openmp_mutex 5.1 1_gnu absl-py 2.1.0 pypi_0 pypi addict 2.4.0 pypi_0 pypi aiofiles 24.1.0 pypi_0 pypi aiohappyeyeballs 2.4.3 pypi_0 pypi aiohttp 3.10.10 pypi_0 pypi aiosignal 1.3.1 pypi_0 pypi albumentations 1.3.0 pypi_0 pypi altair 5.4.1 pypi_0 pypi annotated-types 0.7.0 pypi_0 pypi antlr4-python3-runtime 4.8 pypi_0 pypi anyio 4.5.2 pypi_0 pypi async-timeout 4.0.3 pypi_0 pypi attrs 24.2.0 pypi_0 pypi backports-zoneinfo 0.2.1 pypi_0 pypi basicsr 1.4.2 pypi_0 pypi binutils_impl_linux-64 2.36.1 h193b22a_2 conda-forge binutils_linux-64 2.36 hf3e587d_33 conda-forge blas 1.0 mkl blinker 1.8.2 pypi_0 pypi braceexpand 0.1.7 pypi_0 pypi brotli-python 1.0.9 py38h6a678d5_8 bzip2 1.0.8 h5eee18b_6 ca-certificates 2024.9.24 h06a4308_0 cachetools 5.5.0 pypi_0 pypi certifi 2024.8.30 py38h06a4308_0 charset-normalizer 3.3.2 pyhd3eb1b0_0 click 8.1.7 pypi_0 pypi clip 1.0 dev_0 contourpy 1.1.1 pypi_0 pypi cuda-nvcc 11.3.58 h2467b9f_0 nvidia/label/cuda-11.3.0 cudatoolkit 11.3.1 h2bc3f7f_2 cycler 0.12.1 pypi_0 pypi einops 0.3.0 pypi_0 pypi exceptiongroup 1.2.2 pypi_0 pypi fastapi 0.115.2 pypi_0 pypi ffmpeg 4.3 hf484d3e_0 pytorch ffmpy 0.4.0 pypi_0 pypi filelock 3.16.1 pypi_0 pypi fonttools 4.54.1 pypi_0 pypi freetype 2.12.1 h4a9f257_0 frozenlist 1.4.1 pypi_0 pypi fsspec 2024.9.0 pypi_0 pypi ftfy 6.2.3 pypi_0 pypi future 1.0.0 pypi_0 pypi gcc_impl_linux-64 7.5.0 h7105cf2_17 gcc_linux-64 7.5.0 h47867f9_33 conda-forge gitdb 4.0.11 pypi_0 pypi gitpython 3.1.43 pypi_0 pypi gmp 6.2.1 h295c915_3 gnutls 3.6.15 he1e5248_0 google-auth 2.35.0 pypi_0 pypi google-auth-oauthlib 1.0.0 pypi_0 pypi gradio 3.16.2 pypi_0 pypi grpcio 1.66.2 pypi_0 pypi gxx_impl_linux-64 7.5.0 h0a5bf11_17 gxx_linux-64 7.5.0 h555fc39_33 conda-forge h11 0.14.0 pypi_0 pypi httpcore 1.0.6 pypi_0 pypi httpx 0.27.2 pypi_0 pypi huggingface-hub 0.25.2 pypi_0 pypi idna 3.7 py38h06a4308_0 imageio 2.27.0 pypi_0 pypi imageio-ffmpeg 0.4.2 pypi_0 pypi imgaug 0.4.0 pypi_0 pypi importlib-metadata 8.5.0 pypi_0 pypi importlib-resources 6.4.5 pypi_0 pypi intel-openmp 2021.4.0 h06a4308_3561 invisible-watermark 0.2.0 pypi_0 pypi jinja2 3.1.4 pypi_0 pypi joblib 1.4.2 pypi_0 pypi jpeg 9e h5eee18b_3 jsonschema 4.23.0 pypi_0 pypi jsonschema-specifications 2023.12.1 pypi_0 pypi kernel-headers_linux-64 3.10.0 he073ed8_17 conda-forge kiwisolver 1.4.7 pypi_0 pypi kornia 0.6.0 pypi_0 pypi lame 3.100 h7b6447c_0 lazy-loader 0.4 pypi_0 pypi lcms2 2.12 h3be6417_0 ld_impl_linux-64 2.36.1 hea4e1c9_2 conda-forge lerc 3.0 h295c915_0 libdeflate 1.17 h5eee18b_1 libffi 3.3 he6710b0_2 libgcc-devel_linux-64 7.5.0 hbbeae57_17 libgcc-ng 11.2.0 h1234567_1 libgomp 11.2.0 h1234567_1 libiconv 1.16 h5eee18b_3 libidn2 2.3.4 h5eee18b_0 libpng 1.6.39 h5eee18b_0 libstdcxx-devel_linux-64 7.5.0 hf0c5c8d_17 libstdcxx-ng 11.2.0 h1234567_1 libtasn1 4.19.0 h5eee18b_0 libtiff 4.5.1 h6a678d5_0 libunistring 0.9.10 h27cfd23_0 libwebp-base 1.3.2 h5eee18b_0 lightning-utilities 0.11.7 pypi_0 pypi linkify-it-py 2.0.3 pypi_0 pypi lmdb 1.5.1 pypi_0 pypi lz4-c 1.9.4 h6a678d5_1 markdown 3.7 pypi_0 pypi markdown-it-py 3.0.0 pypi_0 pypi markupsafe 2.1.5 pypi_0 pypi matplotlib 3.7.5 pypi_0 pypi mdit-py-plugins 0.4.2 pypi_0 pypi mdurl 0.1.2 pypi_0 pypi mkl 2021.4.0 h06a4308_640 mkl-service 2.4.0 py38h7f8727e_0 mkl_fft 1.3.1 py38hd3c417c_0 mkl_random 1.2.2 py38h51133e4_0 multidict 6.1.0 pypi_0 pypi narwhals 1.9.3 pypi_0 pypi ncurses 6.4 h6a678d5_0 nettle 3.7.3 hbbd107a_1 networkx 3.1 pypi_0 pypi ninja 1.11.1 pypi_0 pypi numpy 1.24.3 py38h14f4228_0 numpy-base 1.24.3 py38h31eccc5_0 oauthlib 3.2.2 pypi_0 pypi omegaconf 2.1.1 pypi_0 pypi open-clip-torch 2.0.2 pypi_0 pypi opencv-contrib-python 4.5.5.62 pypi_0 pypi opencv-python-headless 4.10.0.84 pypi_0 pypi openh264 2.1.1 h4ff587b_0 openjpeg 2.5.2 he7f1fd0_0 openssl 1.1.1w h7f8727e_0 orjson 3.10.7 pypi_0 pypi packaging 24.1 pypi_0 pypi pandas 2.0.3 pypi_0 pypi pillow 10.4.0 py38h5eee18b_0 pip 24.2 py38h06a4308_0 pkgutil-resolve-name 1.3.10 pypi_0 pypi prettytable 3.6.0 pypi_0 pypi propcache 0.2.0 pypi_0 pypi protobuf 3.20.3 pypi_0 pypi pyarrow 17.0.0 pypi_0 pypi pyasn1 0.6.1 pypi_0 pypi pyasn1-modules 0.4.1 pypi_0 pypi pycryptodome 3.21.0 pypi_0 pypi pydantic 2.9.2 pypi_0 pypi pydantic-core 2.23.4 pypi_0 pypi pydeck 0.9.1 pypi_0 pypi pydeprecate 0.3.1 pypi_0 pypi pydub 0.25.1 pypi_0 pypi pygments 2.18.0 pypi_0 pypi pympler 1.1 pypi_0 pypi pyparsing 3.1.4 pypi_0 pypi pysocks 1.7.1 py38h06a4308_0 python 3.8.5 h7579374_1 python-dateutil 2.9.0.post0 pypi_0 pypi python-multipart 0.0.12 pypi_0 pypi pytorch 1.12.1 py3.8_cuda11.3_cudnn8.3.2_0 pytorch pytorch-lightning 1.5.0 pypi_0 pypi pytorch-mutex 1.0 cuda pytorch pytz 2024.2 pypi_0 pypi pywavelets 1.4.1 pypi_0 pypi pyyaml 6.0.2 pypi_0 pypi qudida 0.0.4 pypi_0 pypi readline 8.2 h5eee18b_0 referencing 0.35.1 pypi_0 pypi regex 2024.9.11 pypi_0 pypi requests 2.32.3 py38h06a4308_0 requests-oauthlib 2.0.0 pypi_0 pypi rich 13.9.2 pypi_0 pypi rpds-py 0.20.0 pypi_0 pypi rsa 4.9 pypi_0 pypi safetensors 0.2.7 pypi_0 pypi scikit-image 0.21.0 pypi_0 pypi scikit-learn 1.3.2 pypi_0 pypi scipy 1.10.1 pypi_0 pypi semver 3.0.2 pypi_0 pypi setuptools 75.1.0 py38h06a4308_0 shapely 2.0.6 pypi_0 pypi six 1.16.0 pyhd3eb1b0_1 smmap 5.0.1 pypi_0 pypi sniffio 1.3.1 pypi_0 pypi sqlite 3.45.3 h5eee18b_0 starlette 0.40.0 pypi_0 pypi streamlit 1.12.1 pypi_0 pypi streamlit-drawable-canvas 0.8.0 pypi_0 pypi sysroot_linux-64 2.17 h4a8ded7_17 conda-forge taming-transformers 0.0.1 dev_0 tb-nightly 2.14.0a20230808 pypi_0 pypi tensorboard 2.14.0 pypi_0 pypi tensorboard-data-server 0.7.2 pypi_0 pypi test-tube 0.7.5 pypi_0 pypi threadpoolctl 3.5.0 pypi_0 pypi tifffile 2023.7.10 pypi_0 pypi timm 0.6.12 pypi_0 pypi tk 8.6.14 h39e8969_0 tokenizers 0.12.1 pypi_0 pypi toml 0.10.2 pypi_0 pypi torchaudio 0.12.1 py38_cu113 pytorch torchmetrics 0.6.0 pypi_0 pypi torchvision 0.13.1 py38_cu113 pytorch tornado 6.4.1 pypi_0 pypi tqdm 4.66.5 pypi_0 pypi transformers 4.19.2 pypi_0 pypi typing_extensions 4.11.0 py38h06a4308_0 tzdata 2024.2 pypi_0 pypi tzlocal 5.2 pypi_0 pypi uc-micro-py 1.0.3 pypi_0 pypi urllib3 2.2.3 py38h06a4308_0 uvicorn 0.31.1 pypi_0 pypi validators 0.34.0 pypi_0 pypi watchdog 4.0.2 pypi_0 pypi wcwidth 0.2.13 pypi_0 pypi webdataset 0.2.5 pypi_0 pypi websockets 13.1 pypi_0 pypi werkzeug 3.0.4 pypi_0 pypi wheel 0.44.0 py38h06a4308_0 xz 5.4.6 h5eee18b_1 yapf 0.32.0 pypi_0 pypi yarl 1.15.2 pypi_0 pypi zipp 3.20.2 pypi_0 pypi zlib 1.2.13 h5eee18b_1 zstd 1.5.6 hc292b87_0

I am grateful for any advice :-)

sjtuplayer commented 1 month ago

What's your gcc version?

sauerland97 commented 1 month ago

I am using a gcc version of 7.5.0

gcc --version
gcc (crosstool-NG 1.24.0.133_b0863d8_dirty) 7.5.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.