Error when running llama2_fine_tuning_inference & Intel_Gaudi_Fine_Tuning examples #1467
Closed
2 of 4 tasks
Labels
bug
Something isn't working
System Info
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
Traceback (most recent call last):
File "/content/Gaudi-tutorials/PyTorch/llama2_fine_tuning_inference/optimum-habana/examples/language-modeling/../gaudi_spawn.py", line 34, in
from optimum.habana.distributed import DistributedRunner
File "/usr/local/lib/python3.10/dist-packages/optimum/habana/init.py", line 34, in
check_synapse_version()
File "/usr/local/lib/python3.10/dist-packages/optimum/habana/utils.py", line 207, in check_synapse_version
habana_frameworks_version_number = get_habana_frameworks_version()
File "/usr/local/lib/python3.10/dist-packages/optimum/habana/utils.py", line 245, in get_habana_frameworks_version
return version.parse(output.stdout.split("\n")[0].split()[-1])
IndexError: list index out of range
Expected behavior
I would expect it to run and fine-tune the model with no errors.
I discovered this post which shows someone had the same problem but it does not describe or link to how it was resolved: https://discuss.huggingface.co/t/error-when-running-examples-in-optimum-habana/74944
This is probably user error, any pointers would be appreciated!
The text was updated successfully, but these errors were encountered: