Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_C.so: undefined symbol: _ZTVSt12bad_weak_ptr #2310

Closed
zhengyunqq opened this issue Aug 7, 2017 · 7 comments
Closed

_C.so: undefined symbol: _ZTVSt12bad_weak_ptr #2310

zhengyunqq opened this issue Aug 7, 2017 · 7 comments

Comments

@zhengyunqq
Copy link

zhengyunqq commented Aug 7, 2017

I tried the the new version v0.2.0 by
pip install http://download.pytorch.org/whl/cu75/torch-0.2.0.post1-cp27-cp27m-manylinux1_x86_64.whl
I got the following error message, when running import torch
_C.so: undefined symbol: _ZTVSt12bad_weak_ptr

@soumith
Copy link
Member

soumith commented Aug 7, 2017

What is your Operating System name/version,
also the output of python --version?
Also the output of gcc --version?

@zhengyunqq
Copy link
Author

python version:
2.7 (r27, May 27 2013, 20:02:53)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-46)]

@soumith
Copy link
Member

soumith commented Aug 7, 2017

that gcc is reallllly old. what os are you running on? rhel5?

@zhengyunqq
Copy link
Author

Yes,rhel5. I installed the latest manylinux release of scipy, numpy, pillow etc. There are no such problems.

@soumith
Copy link
Member

soumith commented Aug 7, 2017

unfortunately we cannot support rhel5. the reason for this is because CUDA doesn't support rhel5. I've looked into this extensively and tried to find a solution. The packages you mention do not use CUDA or gpus.

@soumith soumith closed this as completed Aug 7, 2017
@zhengyunqq
Copy link
Author

In this case, I only need the cpu version of pytorch. Could it possible to build a version which only supports cpu ?

@soumith
Copy link
Member

soumith commented Aug 7, 2017

you can build from source using the instructions in our readme

houseroad added a commit to houseroad/pytorch that referenced this issue Sep 17, 2019
…bcc3b0 (pytorch#26309)

Summary:
Pull Request resolved: pytorch#26309

Previous import was 95252c2adec185e305e34486c6756ece9aa8f57f

Included changes:
- **[1316afc9](onnx/onnx@1316afc9)**: Update IR doc to clarify initializers are permitted as node inputs (pytorch#2320) <G. Ramalingam>
- **[5e920d0c](onnx/onnx@5e920d0c)**: Avoid uses of special chars (pytorch#2315) <Wei-Sheng Chin>
- **[2fa08b0f](onnx/onnx@2fa08b0f)**: Regenerate ONNX proto and add release date to ver 6 IR (pytorch#2316) <Wei-Sheng Chin>
- **[adf9c7a3](onnx/onnx@adf9c7a3)**: Add description of default type about y_zero_point (pytorch#2110) <Takeshi Watanabe>
- **[ee7072c7](onnx/onnx@ee7072c7)**: Support make_attribute empty string (pytorch#2129) <shjwudp>
- **[f913b6e7](onnx/onnx@f913b6e7)**: More unsqueeze tests (pytorch#2200) <James Allingham>
- **[57b51937](onnx/onnx@57b51937)**: Fix resize shape inference issue in opset10 (pytorch#2294) <Bowen Bao>
- **[d7595f34](onnx/onnx@d7595f34)**: Sequence related ops (pytorch#2249) <Bowen Bao>
- **[599f3da9](onnx/onnx@599f3da9)**: Add helper function update_inputs_outputs_dims to tools (pytorch#2148) <Bowen Bao>
- **[3e6382bc](onnx/onnx@3e6382bc)**: Update documentation about required input output types (pytorch#2310) <G. Ramalingam>
- **[0c765d9b](onnx/onnx@0c765d9b)**: Shape inference for NMS (pytorch#2269) <Hariharan Seshadri>
- **[89266710](onnx/onnx@89266710)**: Fix extra collect_snippets warning (pytorch#2277) (pytorch#2307) <Lutz Roeder>

Test Plan: ci

Reviewed By: hl475

Differential Revision: D17403954

fbshipit-source-id: 8f7cbf77b7e09b73db2015f3e0f436772482b322
facebook-github-bot pushed a commit that referenced this issue Sep 17, 2019
…bcc3b0 (#26309)

Summary:
Pull Request resolved: #26309

Previous import was 95252c2adec185e305e34486c6756ece9aa8f57f

Included changes:
- **[1316afc9](onnx/onnx@1316afc9)**: Update IR doc to clarify initializers are permitted as node inputs (#2320) <G. Ramalingam>
- **[5e920d0c](onnx/onnx@5e920d0c)**: Avoid uses of special chars (#2315) <Wei-Sheng Chin>
- **[2fa08b0f](onnx/onnx@2fa08b0f)**: Regenerate ONNX proto and add release date to ver 6 IR (#2316) <Wei-Sheng Chin>
- **[adf9c7a3](onnx/onnx@adf9c7a3)**: Add description of default type about y_zero_point (#2110) <Takeshi Watanabe>
- **[ee7072c7](onnx/onnx@ee7072c7)**: Support make_attribute empty string (#2129) <shjwudp>
- **[f913b6e7](onnx/onnx@f913b6e7)**: More unsqueeze tests (#2200) <James Allingham>
- **[57b51937](onnx/onnx@57b51937)**: Fix resize shape inference issue in opset10 (#2294) <Bowen Bao>
- **[d7595f34](onnx/onnx@d7595f34)**: Sequence related ops (#2249) <Bowen Bao>
- **[599f3da9](onnx/onnx@599f3da9)**: Add helper function update_inputs_outputs_dims to tools (#2148) <Bowen Bao>
- **[3e6382bc](onnx/onnx@3e6382bc)**: Update documentation about required input output types (#2310) <G. Ramalingam>
- **[0c765d9b](onnx/onnx@0c765d9b)**: Shape inference for NMS (#2269) <Hariharan Seshadri>
- **[89266710](onnx/onnx@89266710)**: Fix extra collect_snippets warning (#2277) (#2307) <Lutz Roeder>

Test Plan: ci

Reviewed By: hl475

Differential Revision: D17403954

fbshipit-source-id: 78a9c3ecf5aa7f7a0ba8ea30286eab61ee903772
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants