NVIDIA / NVIDIA/apex

Issue installing APEX on ubuntu

Open
#830 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
9k
Forks
1.5k
Avg merge
2d 4h
Merged PRs (30d)
3

Description

Usage:

I'm trying to install and run https://github.com/microsoft/DialoGPT which uses Apex

environment:

Ubuntu 16.04
conda 4.8.2
Python 3.6.9 :: Anaconda, Inc.
processor: Intel® Core™ i7-9700F CPU @ 3.00GHz × 8
graphics: GeForce RTX 2060/PCIe/SSE2

Problem:

After running
pip install -v --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext" ./
this occurs:

ERROR: Command errored out with exit status 1: /home/bl/anaconda3/envs/LSP/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/bl/DialoGPT/apex/setup.py'"'"'; __file__='"'"'/home/bl/DialoGPT/apex/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' --cpp_ext --cuda_ext install --record /tmp/pip-record-j92zt9oj/install-record.txt --single-version-externally-managed --compile --install-headers /home/bl/anaconda3/envs/LSP/include/python3.6m/apex Check the logs for full command output.

( which is causes another exception Given no hashes to check 137 links for project 'pip': discarding no candidates )

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the reported pip install command in the stated Ubuntu, Python, and conda environment, then start by inspecting apex/setup.py and the complete build output beyond the abbreviated error. Done means the Apex package installs with the requested C++ and CUDA extensions and can be used by DialoGPT.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch, ubuntu
Domain
build-system, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.