#inference not working on applio 3.0.8 (arch linux)

1 messages · Page 1 of 1 (latest)

inland pebble
#

any attempts to run inference result in this error;

Traceback (most recent call last):
  File "/home/albert-softie/source/Applio-3.0.8/rvc/infer/infer.py", line 9, in <module>
    from pipeline import VC
  File "/home/albert-softie/source/Applio-3.0.8/rvc/infer/pipeline.py", line 17, in <module>
    from rvc.lib.FCPEF0Predictor import FCPEF0Predictor
  File "/home/albert-softie/source/Applio-3.0.8/rvc/lib/FCPEF0Predictor.py", line 18, in <module>
    from local_attention import LocalAttention
ModuleNotFoundError: No module named 'local_attention'
Traceback (most recent call last):
  File "/home/albert-softie/source/Applio-3.0.8/.venv/lib/python3.10/site-packages/gradio/queueing.py", line 495, in call_prediction
    output = await route_utils.call_process_api(
  File "/home/albert-softie/source/Applio-3.0.8/.venv/lib/python3.10/site-packages/gradio/route_utils.py", line 232, in call_process_api
    output = await app.get_blocks().process_api(
  File "/home/albert-softie/source/Applio-3.0.8/.venv/lib/python3.10/site-packages/gradio/blocks.py", line 1570, in process_api
    data = self.postprocess_data(fn_index, result["prediction"], state)
  File "/home/albert-softie/source/Applio-3.0.8/.venv/lib/python3.10/site-packages/gradio/blocks.py", line 1456, in postprocess_data
    outputs_cached = processing_utils.move_files_to_cache(
  File "/home/albert-softie/source/Applio-3.0.8/.venv/lib/python3.10/site-packages/gradio/processing_utils.py", line 265, in move_files_to_cache
    return client_utils.traverse(data, _move_to_cache, client_utils.is_file_obj)
  File "/home/albert-softie/source/Applio-3.0.8/.venv/lib/python3.10/site-packages/gradio_client/utils.py", line 919, in traverse
    return func(json_obj)
  File "/home/albert-softie/source/Applio-3.0.8/.venv/lib/python3.10/site-packages/gradio/processing_utils.py", line 257, in _move_to_cache
    temp_file_path = move_resource_to_block_cache(payload.path, block)
  File "/home/albert-softie/source/Applio-3.0.8/.venv/lib/python3.10/site-packages/gradio/processing_utils.py", line 234, in move_resource_to_block_cache
    return block.move_resource_to_block_cache(url_or_file_path)
  File "/home/albert-softie/source/Applio-3.0.8/.venv/lib/python3.10/site-packages/gradio/blocks.py", line 258, in move_resource_to_block_cache
    temp_file_path = processing_utils.save_file_to_cache(
  File "/home/albert-softie/source/Applio-3.0.8/.venv/lib/python3.10/site-packages/gradio/processing_utils.py", line 170, in save_file_to_cache
    temp_dir = hash_file(file_path)
  File "/home/albert-softie/source/Applio-3.0.8/.venv/lib/python3.10/site-packages/gradio/processing_utils.py", line 102, in hash_file
    with open(file_path, "rb") as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/albert-softie/source/Applio-3.0.8/assets/audios/CG5_-_BITE_OF_87_Main_Vocals_output.wav'
#

one user in the thread for the relevant github issue (https://github.com/IAHispano/Applio/issues/214) mentions using a newer version of fairseq, this did not work for me. it also doesn't matter whether split audio is enabled or not, and seemingly neither does the length/size of the input file

inland pebble
#

still broken just fyi ||why am i even here nobody's gonna help i may as well just keep using mainline and not even bother with applio at this point lmao||

vale river
#

@inland pebble dude im having the same issue

#

it happens on the google colab too

#

sorta same issue

#

now really checking it

#

nvm im dumb

#

💀

next widget
#

Ain't tested much on linux. How'd you install it btw ? Script or manually?

#

Seems like you're missing modules, which are present in the requirements file

inland pebble
#

i used the run-install script

next widget
#

good ol venv (on python 3.10) -> pip install -r requirements.txt -> launch

inland pebble
#

well i'm trying to install manually and it fails at trying to build fairseq with a No space left on disk error even though i have like 150gb free

#

i can't even copy the full pip log from the console because it cut off during the build process

#
Exception ignored in: <function ZipFile.__del__ at 0x711ac8d2d6c0>
      Traceback (most recent call last):
        File "/usr/lib/python3.10/zipfile.py", line 1821, in __del__
          self.close()
        File "/tmp/pip-build-env-8951_rf_/overlay/lib/python3.10/site-packages/wheel/wheelfile.py", line 194, in close
          self.writestr(self.record_path, data.getvalue())
        File "/tmp/pip-build-env-8951_rf_/overlay/lib/python3.10/site-packages/wheel/wheelfile.py", line 167, in writestr
          ZipFile.writestr(self, zinfo_or_arcname, data, compress_type)
        File "/usr/lib/python3.10/zipfile.py", line 1816, in writestr
          with self.open(zinfo, mode='w') as dest:
        File "/tmp/pip-build-env-8951_rf_/overlay/lib/python3.10/site-packages/wheel/wheelfile.py", line 111, in open
          ef = ZipFile.open(self, name_or_info, mode, pwd)
        File "/usr/lib/python3.10/zipfile.py", line 1519, in open
          return self._open_to_write(zinfo, force_zip64=force_zip64)
        File "/usr/lib/python3.10/zipfile.py", line 1608, in _open_to_write
          self.fp.seek(self.start_dir)
      OSError: [Errno 28] No space left on device
      error: [Errno 28] No space left on device
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for fairseq
Failed to build fairseq
ERROR: Could not build wheels for fairseq, which is required to install pyproject.toml-based projects
next widget
#

if TMPDIR is set, you should be able to put the builddir elsewhere

next widget
#

looking at your latest comment on the GitHub issue, you somehow landed with the wrong version of numpy

#

applio requests 1.23.5, and you're somehow on 1.24+

inland pebble
#

well that had to have been on the install script, not me

next widget