thevasudevgupta / gsoc-wav2vec2

GSoC'2021 | TensorFlow implementation of Wav2Vec2

Home Page:https://thevasudevgupta.github.io/gsoc-wav2vec2/assets/final_report

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error in accompanying Colab: "InternalError: libdevice not found at ./libdevice.10.bc [Op:__inference_tf_forward_55230]"

evanrmurphy opened this issue · comments

In an accompanying Colab (different Colab than for #29), under Setting up training state at this step:

predictions, labels = infer_librispeech(dataset, num_batches=2618)

Running all the code in the colab up to this point produces an error here:

---------------------------------------------------------------------------
InternalError                             Traceback (most recent call last)
<ipython-input-16-85b57072fd5d> in <module>()
----> 1 predictions, labels = infer_librispeech(dataset, num_batches=2618)

6 frames
/usr/local/lib/python3.7/dist-packages/tensorflow/python/eager/execute.py in quick_execute(op_name, num_outputs, inputs, attrs, ctx, name)
     58     ctx.ensure_initialized()
     59     tensors = pywrap_tfe.TFE_Py_Execute(ctx._handle, device_name, op_name,
---> 60                                         inputs, attrs, num_outputs)
     61   except core._NotOkStatusException as e:
     62     if name is not None:

InternalError: libdevice not found at ./libdevice.10.bc [Op:__inference_tf_forward_55230]

Here's a screenshot:

Screen Shot 2022-01-09 at 2 18 26 PM

Hi,
it was happening because colab was unable to re-install tensorflow properly because of some reason. I have removed tensorflow from the requirements.txt as the fix. So, you should be able to run the notebooks now!!

Feel free to open the issue again if you encounter any other problem.