error launching demo

#35
by tiziano00000 - opened

Hi,
I'm trying the demo on my PC; I followed the steps indicated in the readme but upon launch it crashes with this error:

[2024-02-08 16:47:12,399][WARNING][simuleval_agent_directory]: Failed to build agent SeamlessStreaming: /home/user/miniconda3/envs/smlss_server/lib/python3.8/site-packages/torchaudio/lib/libtorchaudio.so: undefined symbol: _ZN2at4_ops13scalar_tensor4callERKN3c106ScalarESt8optionalINS2_10ScalarTypeEES6_INS2_6LayoutEES6_INS2_6DeviceEES6_IbE
Process SpawnProcess-1:

Do you have any advice on how to solve?
Thanks

Hi! I got the same issue, if you want to try the same environment using the next commands, BTW if you got 1 step wrong I recommend you to start all over from the beginning

cd seamless_server
conda create --yes --name smlss_server python=3.8 libsndfile==1.0.31
conda activate smlss_server
conda install pytorch==2.1.1 torchvision==0.16.1 torchaudio==2.1.1 pytorch-cuda=12.1 -c pytorch -c nvidia  #Pytorch is currently in version 2.2.0, the original command causes conflicts between versions, also check your cuda version
pip install fairseq2 --pre --extra-index-url https://fair.pkg.atmeta.com/fairseq2/whl/nightly/pt2.1.1/cu121 #check cuda version
pip install -r requirements.txt*

image.png

I followed those steps and I got it up and running, except for this audio issue that I'm trying to solve

image.png

AI at Meta org

@Encinashael you could try this solution, which seems to be the same issue you're running into https://huggingface.co/spaces/facebook/seamless-streaming/discussions/32

hi,can i have your contact ,can you guys help

Sign up or log in to comment