Comments (5)
git clone https://github.com/zjunlp/EasyEdit.git conda create -n EasyEdit python=3.9.7 ... pip install -r requirements.txt
Following the instructions above in README, after the environments have been set up, I just tried
from easyeditor import MENDHyperParams
and it caused a segfault: "Segmentation fault (core dumped)". And I also triedimport torch
, the same error happened. Importing other packages like transformers won't caused the segfault.Is there any way to work around this problem? Please advice.
Did you run the following command?
like:
source activate
conda activate EasyEdit
Segmentation fault (core dumped)
mostly cause by improper memory operations.
from easyedit.
git clone https://github.com/zjunlp/EasyEdit.git conda create -n EasyEdit python=3.9.7 ... pip install -r requirements.txt
Following the instructions above in README, after the environments have been set up, I just tried
from easyeditor import MENDHyperParams
and it caused a segfault: "Segmentation fault (core dumped)". And I also triedimport torch
, the same error happened. Importing other packages like transformers won't caused the segfault.
Is there any way to work around this problem? Please advice.Did you run the following command? like:
source activate conda activate EasyEdit
Segmentation fault (core dumped)
mostly cause by improper memory operations.
Yes, I did. The segmentation fault happened in the EasyEdit virtual env.
How can I find out what kind of improper memory operations lead to this segfault? All I did was importing.
Please advice.
from easyedit.
I cannot reproduce your problem, please check your local computer configuration
from easyedit.
If your problem has been resolved, please help close this issue.
from easyedit.
Hi, I met the same problem, and I have solved it by setting LD_LIBRARY_PATH="".
Hoping the solution work on your machine. @peixin-lin
from easyedit.
Related Issues (20)
- Error when runing function test_IKE_Blip2OPT_VQA() in multimodal_edit.py HOT 3
- Error when Running IKE for Wiki Counterfactual dataset HOT 10
- Builder config error when running MEMIT HOT 9
- Differences between ft_main.py and lora_main.py HOT 2
- Full datasets loading fix HOT 1
- There is a question about 'edited_model' in easyeditor/editor.py, why edit() function always return the last edited_model only? HOT 5
- Model edition does not take effects HOT 6
- 请问是否可以设置随机种子? HOT 8
- How to apply it to new models HOT 5
- Request for 'Editing GPU memory usage' update HOT 2
- MMEdit config description HOT 15
- MEMIT方法是否能使每次的权重更新相同(在代码完全一致的情况下) HOT 6
- Problems about the results of GRACE method on Llama-2-7b HOT 13
- 请问一下论文中提到的opencompass在评估时要用到吗 HOT 2
- T-Patcher support HOT 2
- Question about E-VQA HOT 8
- Could there be a bug in the FT implementation HOT 6
- MELO fails to edit gpt2-xl HOT 7
- it seems there is an import bug HOT 5
- error when runing knowedit HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from easyedit.