undefined symbol: THPVariableClass
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 18/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Área
- build-system
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
- 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.
- Lenguaje dominante
- Python
- Estrellas
- 1.2k
- Forks
- 250
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de pytorch/extension-cpp
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 68/100
pytorch/extension-cpp#100 · 5 comentarios ·
-
Deprecation warningAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
pytorch/extension-cpp#82 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
pytorch/extension-cpp#124 ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
pytorch/extension-cpp#123 ·
-
Dificultad 4/5 1-2 días Aptitud para principiantes 12/100
pytorch/extension-cpp#121 · 3 comentarios ·
Todos los issues de pytorch/extension-cpp
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
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"Posiblemente ocupada @cestercian la tomó hoy. Abiertocomp/cli P2 type/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
NousResearch/hermes-agent#162259 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
[request] gRpc/1.86.0Abiertoupstream update
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
conan-io/conan-center-index#31597 ·
Los mantenedores suelen responder en 1 día
-
bug enhancement
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
AOSSIE-Org/PictoPy#1802 · 2 comentarios ·
Los mantenedores suelen responder en 3 días
-
community-request
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
NVIDIA-NeMo/Run#727 ·
Los mantenedores suelen responder en 1 día