Skip to content

add guards against loading (lua)Torch's libTH*.so libraries #121

@soumith

Description

@soumith

Right now, if you have (lua)Torch in LD_LIBRARY_PATH, pytorch will try to load that, which will either:

  1. fail loading because of symbol lookups
  2. load a 1-indexing based torch, also having massive side-effects.

Have guards against this and make it robust

Necessary cmake fixes in #385

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions