Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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