cuda compile error
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 12/100
- Type d'issue
- Bug
- Clarté
- À clarifier
- Activité
- À l'abandon
- Domaine
- build-system
Piste de recherche
The failure is a template-compilation error in pybind11/pytypes.h, reached when torch/extension.h is included from a .cu file built with nvcc, and the issue does not name a reproduction or a fix. Start by reading the include chain from the .cu source and the build setup that compiles it. Done would mean a reproducible build of the CUDA extension that compiles without this error; the thread has no answer yet.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
PyTorch GitHub Issues Guidelines
/home/yexiang/anaconda3/lib/python3.6/site-packages/torch/lib/include/pybind11/pytypes.h:1165:206:error: expansion pattern ‘pybind11::detail::negation<std::is_same<pybind11::detail::bools<pybind11::detail::negation<std::is_base_of<pybind11::arg, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::kwargs_proxy, Args> >::value ..., true>, pybind11::detail::bools<true, pybind11::detail::negation<std::is_base_of<pybind11::arg, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::kwargs_proxy, Args> >::value ...> > >::value’ contains no argument packs
/home/yexiang/anaconda3/lib/python3.6/site-packages/torch/lib/include/pybind11/pytypes.h:1165:215:error: template argument 1 is invalid
/home/yexiang/anaconda3/lib/python3.6/site-packages/torch/lib/include/pybind11/pytypes.h:1165:392:error: expansion pattern ‘pybind11::detail::negation<std::is_same<pybind11::detail::bools<pybind11::detail::negation<std::is_base_of<pybind11::arg, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::kwargs_proxy, Args> >::value ..., true>, pybind11::detail::bools<true, pybind11::detail::negation<std::is_base_of<pybind11::arg, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::kwargs_proxy, Args> >::value ...> > >::value’ contains no argument packs
/home/yexiang/anaconda3/lib/python3.6/site-packages/torch/lib/include/pybind11/pytypes.h:1165:395:error: template argument 2 is invalid
/home/yexiang/anaconda3/lib/python3.6/site-packages/torch/lib/include/pybind11/pytypes.h:
I can't compile the cuda version. When torch/extension.h is included in the .cu file, this error is reported.
How to solve this problem.
- 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