question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to compile torchtext v0.13

See original GitHub issue

🐛 Bug

Seeing the following error while building torchtext:

-- Found CUDA: /usr/local/cuda (found version "11.4")
-- The CUDA compiler identification is unknown
-- Detecting CUDA compiler ABI info
CMake Error in <myhome>/work/build/temp.linux-ppc64le-3.9/CMakeFiles/CMakeTmp/CMakeLists.txt:
  CUDA_ARCHITECTURES is empty for target "cmTC_94ffb".


CMake Error in <myhome>/work/build/temp.linux-ppc64le-3.9/CMakeFiles/CMakeTmp/CMakeLists.txt:
  CUDA_ARCHITECTURES is empty for target "cmTC_94ffb".


CMake Error at <myhome>/_build_env/share/cmake-3.19/Modules/CMakeDetermineCompilerABI.cmake:48 (try_compile):
  Failed to generate test project build system.

To Reproduce :

Build torchtext tag https://github.com/pytorch/text/releases/tag/v0.13.0-rc2

Expected behavior . It should build successfully.

Environment

OS: Red Hat Enterprise Linux 8.5 (Ootpa) (ppc64le) GCC version: Anaconda GCC 11.2 Python version: 3.9.12 (main, Apr 5 2022, 07:09:29) CUDA runtime version: 11.4.152


Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:20 (9 by maintainers)

github_iconTop GitHub Comments

3reactions
mthrokcommented, Jul 8, 2022

I think PyTorch plans to do minor release 1.12.1 due to https://github.com/pytorch/pytorch/issues/80569. So I think we can include #1814 in torchtext 0.13.1 release.

1reaction
cdeepalicommented, Jul 11, 2022

@Nayef211, I have verified with #1814 on my environment and it works. Thanks for adding the fix.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Publish torchtext 0.9.2 on PyPi · Issue #1397 · pytorch/text
It is not a bug per se, but it would be nice if torchtext 0.9.2 could be added to the releases, since at...
Read more >
torchtext
torchtext. This repository consists of: torchtext.datasets: The raw text iterators for common NLP datasets. torchtext.data: Some basic NLP building blocks.
Read more >
python - How can I install torchtext?
As stated in the PyTorch forum, simply do: $ pip install https://github.com/pytorch/text/archive/master.zip. That should do it.
Read more >
Torchtext 0.13.0 documentation
This library is part of the PyTorch project. PyTorch is an open source machine learning framework. Features described in this documentation are classified...
Read more >
torchtext.legacy not found - You.com | The AI Search ...
How to solve the no module named torchtext.legacy Error Solution 1: Install the torchtext module Solution 2: Install pytorch again Solution 3: Add...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found