Skip to content

ImportError: torch_extensions/fused/fused.so: undefined symbol: #5

@drscotthawley

Description

@drscotthawley

Dear Allen, I know it's been a few years so your code is not being actively maintained. Nevertheless, I still want to train the model on my own data!

After processing my dataset, I try to run the training script, and get the error:

ImportError: /home/myusername/.cache/torch_extensions/fused/fused.so: undefined symbol: _ZNSt15__exception_ptr13exception_ptr10_M_releaseEv

This seems to be a StyleGAN2 issue common to other users, but I'm not sure how to resolve it. At first the conda environment wasn't setting up CUDA_HOME properly, so I installed cudatoolkit-dev, but that only comes in version CUDA 10.1, and you were using CUDA 10.2... So....I tried downgrading pytorch to 10.1 as well, but.. that had no effect on getting rid of the error.

In case you have any interest in seeing if you code still runs, please let me know if you have any suggestions! Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions