Error when running examples in optimum habana
Hello guys,Running a summarization examples in optimum habana and seeing this errors:github.comGitHub - HabanaAI/optimum-habana-fork: Easy and lightning fast training of 🤗...habana-mainEasy and lightning fast training of 🤗 Transformers on Habana Gaudi processor (HPU) - HabanaAI/optimum-habana-fork(gaudi2-demo-env) test1@smgailab-SYS-820GH-TNR2:~/demo/optimum-habana/examples/translation$ python3 run_translation.py–model_name_or_path t5-11b–do_train–do_eval–source_lang en–target_lang ro–source_prefix “translate English to Romanian: "–dataset_name wmt16–dataset_config_name ro-en–output_dir /tmp/tst-translation–per_device_train_batch_size 4–per_device_eval_batch_size 4–overwrite_output_dir–predict_with_generate–use_habana–use_lazy_mode–use_hpu_graphs_for_inference–gaudi_config_name Habana/t5–ignore_pad_token_for_loss False–pad_to_max_length–save_strategy epoch–throughput_warmup_steps 3–bf16Traceback (most recent call last):File “/home/test1/demo/optimum-habana/examples/translation/run_translation.py”, line 51, infrom optimum.habana import GaudiConfig, GaudiSeq2SeqTrainer, GaudiSeq2SeqTrainingArgumentsFile “/home/test1/demo/gaudi2-demo-env/lib/python3.10/site-packages/optimum/habana/init.py”, line 29, incheck_synapse_version()File “/home/test1/demo/gaudi2-demo-env/lib/python3.10/site-packages/optimum/habana/utils.py”, line 180, in check_synapse_versionhabana_frameworks_version_number = get_habana_frameworks_version()File “/home/test1/demo/gaudi2-demo-env/lib/python3.10/site-packages/optimum/habana/utils.py”, line 218, in get_habana_frameworks_versionreturn version.parse(output.stdout.split(”\n")[0].split()[-1])IndexError: list index out of rangeBelow are the dependencies that was installed in my machine:accelerate==0.27.2aiohttp==3.9.3aiosignal==1.3.1annotated-types==0.6.0async-timeout==4.0.3attrs==23.2.0Brotli==1.1.0certifi==2024.2.2charset-normalizer==3.3.2colorama==0.4.6coloredlogs==15.0.1datasets==2.17.1deepspeed==0.12.4+hpu.synapse.v1.14.0diffusers==0.26.3dill==0.3.8evaluate==0.4.1filelock==3.13.1frozenlist==1.4.1fsspec==2023.10.0hjson==3.1.0huggingface-hub==0.20.3humanfriendly==10.0idna==3.6importlib-metadata==7.0.1inflate64==1.0.0Jinja2==3.1.3lxml==5.1.0MarkupSafe==2.1.5mpmath==1.3.0multidict==6.0.5multiprocess==0.70.16multivolumefile==0.2.3networkx==3.2.1ninja==1.11.1.1numpy==1.26.4nvidia-cublas-cu12==12.1.3.1nvidia-cuda-cupti-cu12==12.1.105nvidia-cuda-nvrtc-cu12==12.1.105nvidia-cuda-runtime-cu12==12.1.105nvidia-cudnn-cu12==8.9.2.26nvidia-cufft-cu12==11.0.2.54nvidia-curand-cu12==10.3.2.106nvidia-cusolver-cu12==11.4.5.107nvidia-cusparse-cu12==12.1.0.106nvidia-nccl-cu12==2.19.3nvidia-nvjitlink-cu12==12.3.101nvidia-nvtx-cu12==12.1.105optimum==1.17.1optimum-habana==1.10.4packaging==23.2pandas==2.2.1pillow==10.2.0portalocker==2.8.2protobuf==4.25.3psutil==5.9.8py-cpuinfo==9.0.0py7zr==0.20.8pyarrow==15.0.0pyarrow-hotfix==0.6pybcj==1.0.2pycryptodomex==3.20.0pydantic==2.6.2pydantic_core==2.16.3pynvml==11.5.0pyppmd==1.1.0python-dateutil==2.8.2pytz==2024.1PyYAML==6.0.1pyzstd==0.15.9regex==2023.12.25requests==2.31.0responses==0.18.0sacrebleu==2.4.0safetensors==0.4.2sentencepiece==0.2.0six==1.16.0sympy==1.12tabulate==0.9.0texttable==1.7.0tokenizers==0.15.2torch==2.2.1tqdm==4.66.2transformers==4.37.2triton==2.2.0typing_extensions==4.10.0tzdata==2024.1urllib3==2.2.1xxhash==3.4.1yarl==1.9.4zipp==3.17.0
2024-02-27T07:43:39Z
Hi@darkhorse82, I replied in the linked GitHub issue. Let’s keep the discussion there please.