NVIDIA / NVIDIA/apex

gcc 4.8.5 support

Open
#362 1 comment 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

I've been experiencing segmentation faults when using mixed precision O2 #231

I know its been discussed that compiling with gcc<4.9 is causing these issues.

I have a later version gcc that I can recompile with, however, this means I'd have to reinstall pytorch. I have many packages dependent on the installation that are sensitive to similar issues, and it would take me a very long time to reinstall all of those packages, would it be possible to extend compilation to gcc 4.8.5 to make the install easier for those with earlier versions of gcc?

Thanks!

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

Start by reviewing issue #231 and the extension's compilation requirements for GCC 4.8.5, focusing on the mixed-precision O2 segmentation-fault context. Confirm what changes are needed for installation with GCC 4.8.5, then verify that the extension builds and installs without reproducing the reported failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
build-system, machine-learning
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.