Skip to content

import numpy before dlopen to prevent segfault#928

Merged
soumith merged 1 commit intopytorch:masterfrom
albanD:segfault_scipy
Mar 5, 2017
Merged

import numpy before dlopen to prevent segfault#928
soumith merged 1 commit intopytorch:masterfrom
albanD:segfault_scipy

Conversation

@albanD
Copy link
Collaborator

@albanD albanD commented Mar 5, 2017

Please see this tensorflow issue for the reason why this fixes #786

This comment was marked as off-topic.

This comment was marked as off-topic.

@soumith soumith merged commit ac9245a into pytorch:master Mar 5, 2017
@albanD albanD deleted the segfault_scipy branch March 5, 2017 20:09
jjsjann123 pushed a commit to jjsjann123/pytorch that referenced this pull request Aug 5, 2021
…h#928)

Outdated due to 
- added invariance in computeAt csarofeen#838
- the change to barrier sync allowing block broadcast/reduce to be placed in conditional code
- persistent buffers being considered on inputs
jjsjann123 pushed a commit to jjsjann123/pytorch that referenced this pull request Aug 5, 2021
Undoes some of the changes of pytorch#928 as layer norm half was failing. This just doesn't run computeWithOutputs on inputs that aren't inputs to the reduction.
zhuhong61 pushed a commit to zhuhong61/pytorch that referenced this pull request Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Importing scipy.misc after torch causes segfault

3 participants