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

Segment fault before main #1113

Closed
hedaoyuan opened this issue Jan 10, 2017 · 0 comments
Closed

Segment fault before main #1113

hedaoyuan opened this issue Jan 10, 2017 · 0 comments
Assignees
Labels

Comments

@hedaoyuan
Copy link
Contributor

hedaoyuan commented Jan 10, 2017

当前Paddle用的是CUDA Runtime API,libcudart.so通过GetCudartDsoHandle函数被加载,但是由于libcudart.so是在main函数之前被加载的,GetCudartDsoHandle中有调用glog相关的代码,而glog在initMain中才被初始化,所有会导致运行错误。

@gangliao gangliao self-assigned this Jan 11, 2017
@hedaoyuan hedaoyuan changed the title CUDA Driver API Segment fault before main Jan 11, 2017
@hedaoyuan hedaoyuan added Bug and removed enhancement labels Jan 11, 2017
wangxicoding pushed a commit to wangxicoding/Paddle that referenced this issue Dec 9, 2021
* feat: add BART example

* refactor: rm model_type

* style: optimize params name stype

* refactor: rm fluid api and correct equality judgment

* docs: add docs

* docs: update docs.

* feat: add jit

* docs: update docs

* fix: GELU change to approximate

* fix: add gelu judgement

* fix: update layer.activation

* refactor: update amp scaler usage

* docs: update docs

* docs: update docs for FasterBART

* docs: update docs for FasterBART

Co-authored-by: Zeyu Chen <chenzeyu01@baidu.com>
lizexu123 pushed a commit to lizexu123/Paddle that referenced this issue Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants