Open Arrkwen opened 1 year ago
You could confirm that whether you followed the same steps as in https://github.com/microsoft/unilm/tree/master/kosmos-2#setup
Especially the correct local-version fairseq as shown in https://github.com/microsoft/unilm/tree/master/kosmos-2#L1
You could also refer to https://github.com/microsoft/unilm/issues/1167#issuecomment-1615564431
Especially the correct local-version fairseq as shown in https://github.com/microsoft/unilm/tree/master/kosmos-2#L1
yep, I pip install -e fairseq $:pip show fairseq
Name: fairseq
Version: 1.0.0a0+874dfed
Summary: Facebook AI Research Sequence-to-Sequence Toolkit
Home-page: https://github.com/pytorch/fairseq
Author:
Author-email:
License:
Location: /python/unilm/kosmos-2/fairseq
You could confirm that whether you followed the same steps as in https://github.com/microsoft/unilm/tree/master/kosmos-2#setup
I cant run the docker container due to some terrible cluster configuration. I just start from step 2.
# virtual env
conda create -n kosmos python=3.8
# torch
pip install torch==1.13.1+cu116 torchvision==0.14.1+cu116 torchaudio==0.13.1 --extra-index-url https://download.pytorch.org/whl/cu116
# triton and ninja
pip install triton ninja
pip install -e fairseq
pip install -e infinibatch
pip install ftfy
pip install -e torchscale
pip install -e open_clip
pip install tiktoken
pip install sentencepiece
# deepspeed
git clone -b jeffra/engine-xthru-v2 https://github.com/microsoft/DeepSpeed.git
cd DeepSpeed
python setup.py install --user
# xformers
git clone https://github.com/facebookresearch/xformers.git
git submodule update --init --recursive
python setup.py install
so, can you show me the version of all dependencies?
Hi, @Arrkwen
so, can you show me the version of all dependencies?
I run pip freeze > requirements.txt
in the docker after setup, and get requirements.txt. Please check it.
@Arrkwen Do you have any progress here? Which requirement is causing the issue?
@Arrkwen Do you have any progress here? Which requirement is causing the issue?
I don't know what is causing the error in my cluster env,maybe xformers, which build in my local host, than upload to cluster node. lastly, I get the expect result by replaying operation in README on my local host.
Describe Thanks for the amazing work [kosmos-2]. I deploy the web-demo in my local host following the Readme, and the running script like this:
then I run the example in the demo , but get the output as flow:
can you help me?