Comments (10)
Could you provide more information to verify whether the apex package was successfully installed?
from unilm.
You asked to not to add certain flags did the same but still getting errors while running decoder script for question generation which looks for apex, (running on CPU),
got segmentation fault
from unilm.
HI @DivyaWadehra,
Have you successfully installed the NVIDIA apex? You can install it following the instructions in README.md. Specifically:
cd $(mktemp -d)
git clone -q https://github.com/NVIDIA/apex.git
cd apex
git reset --hard 1603407bf49c7fc3da74fceb6a6c7b47fece2ef8
python setup.py install --user --cuda_ext --cpp_ext
from unilm.
Yes I did the same, but the error remains
from unilm.
Hi @DivyaWadehra ,
I am wondering whether you are running the code using CPUs? If so, you need to remove the dependency on apex.*.
The instructions in https://github.com/microsoft/unilm#docker could help. The docker makes the env setup way easier.
from unilm.
No I am not running it on CPU, I am using GPU
from unilm.
It seems like the apex was not correctly installed:
PWD_DIR=$(pwd)
cd $(mktemp -d)
git clone -q https://github.com/NVIDIA/apex.git
cd apex
git reset --hard 1603407bf49c7fc3da74fceb6a6c7b47fece2ef8
python setup.py install --user --cuda_ext --cpp_ext
cd $PWD_DIR
from unilm.
I did the same, but didn't get the error resolved
from unilm.
@DivyaWadehra strangley I had forked the version you had here in Jan, and I didnt get the segmentation fault: https://github.com/elnazsn1988/unilm/tree/master/layoutlm
however I used latest commit and am now facing the segmentation fault error, were you able to overcome this?
from unilm.
@DivyaWadehra Update - Using pytorch 1.6 removed all issues and allowed installation of latest commit.
from unilm.
Related Issues (20)
- How to fine-tune E5-mistral-7b-instruct? HOT 1
- Kosmo2.5 Chinese performance very bad HOT 2
- why last_hidden_states.sequence_length is not same as input_ids.sequence_length
- Model for commercial use? HOT 1
- Kosmos 2.5 for Volta GPU
- The influence of t (temperature) in the E5 Model paper HOT 4
- (BEIT-3) I can't find transformers.py HOT 3
- Kosmos-2.5 Dependencies Should Be Updated HOT 1
- The pretraining code and model of beit3
- TROCR model weight file cannot be downloaded.
- BEIT3 RuntimeError: Size mismatch when loading checkpoint for BEiT3ForRetrieval model
- Kosmos-2.5 - Deployment Challenges on a Windows 11 + RTX 3090 PC HOT 1
- [BEIT-3] error happens when I evaluate BEiT-3 finetuned model on VQAv2 HOT 4
- Missing Documentation
- Kosmos 2.5 dataset availability
- Kosmos-2.5 - Image-to-markdown generation for images outside the sample-set provided is almost entirely garbled - output markdown is completely unusable.
- Kosmos-2.5 - Python version 3.10.x (and any other confirmed working versions) should be mentioned as a requirement to deploy & infer the Kosmos-2.5 model
- Kosmos-2 batch modality and processing speed
- how to resume training for layoutlmv3-publaynet
- TextDiffuser - SD2.1 code and weights
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 unilm.