undefined symbol: THPVariableClass
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 18/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- À l'abandon
- Domaine
- build-system
Piste de recherche
The failure is a runtime undefined symbol: THPVariableClass when loading the compiled extension lltm_cpp, reported against PyTorch 0.4.0 with CUDA 9.0. Start with the build and linking setup for the extension in the repository, since the reporter suspects a missing library link. Reproducing needs an old PyTorch 0.4.0 environment, and the thread has 13 comments with no linked fix, so the cause is still unresolved.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
- OS: Ubuntu 16.04
- PyTorch version: 0.4.0
- How you installed PyTorch (conda, pip, source): conda
- Python version: 3.6
- CUDA/cuDNN version: 9.0
- GPU models and configuration: Titan XP
I built an extension basing on this tutorial and it used to work. I was then doing some refactoring and fixes (in cuda/cpp code) and afterwards it started failing at runtime:
/home/jatentaki/anaconda3/lib/python3.6/site-packages/sort2_cuda-0.0.0-py3.6-linux-x86_64.egg/lltm_cpp.cpython-36m-x86_64-linux-gnu.so: undefined symbol: THPVariableClass
(both for CUDA and cpp versions). Then I tried if the original example still worked, and to my surprise, no longer.
Timeline:
- My initial success was on some 0.4.0 pre-release source build for cuda8.0.
- I broke it
- Trying to troubleshoot, I reinstalled conda and torch for the release 0.4.0 version, with cuda9.0
- Neither my code nor your original example work
I believe the error just means I am not linking against some static library, but I don't see when and how I could have introduced that change.
- Langage dominant
- Python
- Étoiles
- 1.2k
- Forks
- 250
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de pytorch/extension-cpp
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 68/100
pytorch/extension-cpp#100 · 5 commentaires ·
-
Deprecation warningOuverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 78/100
pytorch/extension-cpp#82 ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 45/100
pytorch/extension-cpp#124 ·
-
Difficulté 3/5 1-2 jours Accessibilité débutants 35/100
pytorch/extension-cpp#123 ·
-
Difficulté 4/5 1-2 jours Accessibilité débutants 12/100
pytorch/extension-cpp#121 · 3 commentaires ·
Toutes les issues de pytorch/extension-cpp
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
Les mainteneurs répondent en général sous 1 jour
-
hermes hooks doctor smoke test never checks the hook exit code — a crashing hook (exit=1) renders ✓ "ran clean" and "All shell hooks look healthy"Peut-être pris @cestercian l’a pris aujourd’hui. Ouvertecomp/cli P2 type/bug
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
NousResearch/hermes-agent#162259 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
[request] gRpc/1.86.0Ouverteupstream update
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
conan-io/conan-center-index#31597 ·
Les mainteneurs répondent en général sous 1 jour
-
bug enhancement
Difficulté 1/5 Moins d'une heure Accessibilité débutants 90/100
AOSSIE-Org/PictoPy#1802 · 2 commentaires ·
Les mainteneurs répondent en général sous 3 jours
-
community-request
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
NVIDIA-NeMo/Run#727 ·
Les mainteneurs répondent en général sous 1 jour