"No such file or directory: 'train.sh'" after updating to f822c87344 #167

Closed
opened 2023-03-22 18:14:54 +07:00 by psammites · 0 comments
sneed@FMRLYCHKS:~/ai-voice-cloning$ ./start.sh --listen 172.20.8.87:8080

===================================BUG REPORT===================================
Welcome to bitsandbytes. For bug reports, please submit your error trace to: https://github.com/TimDettmers/bitsandbytes/issues
================================================================================
/home/sneed/ai-voice-cloning/venv/lib/python3.10/site-packages/bitsandbytes/cuda_setup/main.py:136: UserWarning: /usr/lib/wsl/lib: did not contain libcudart.so as expected! Searching further paths...
  warn(msg)
/home/sneed/ai-voice-cloning/venv/lib/python3.10/site-packages/bitsandbytes/cuda_setup/main.py:136: UserWarning: WARNING: The following directories listed in your path were found to be non-existent: {PosixPath('unix')}
  warn(msg)
CUDA_SETUP: WARNING! libcudart.so not found in any environmental path. Searching /usr/local/cuda/lib64...
CUDA SETUP: CUDA runtime path found: /usr/local/cuda/lib64/libcudart.so
CUDA SETUP: Highest compute capability among GPUs detected: 8.6
CUDA SETUP: Detected CUDA version 118
CUDA SETUP: Loading binary /home/sneed/ai-voice-cloning/venv/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cuda118.so...
Running on local URL:  http://172.20.8.87:8080

To create a public link, set `share=True` in `launch()`.
Spawning process:  train.sh ./training/HyeonSeo/train.yaml
Traceback (most recent call last):
  File "/home/sneed/ai-voice-cloning/venv/lib/python3.10/site-packages/gradio/routes.py", line 393, in run_predict
    output = await app.get_blocks().process_api(
  File "/home/sneed/ai-voice-cloning/venv/lib/python3.10/site-packages/gradio/blocks.py", line 1059, in process_api
    result = await self.call_function(
  File "/home/sneed/ai-voice-cloning/venv/lib/python3.10/site-packages/gradio/blocks.py", line 882, in call_function
    prediction = await anyio.to_thread.run_sync(
  File "/home/sneed/ai-voice-cloning/venv/lib/python3.10/site-packages/anyio/to_thread.py", line 31, in run_sync
    return await get_asynclib().run_sync_in_worker_thread(
  File "/home/sneed/ai-voice-cloning/venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread
    return await future
  File "/home/sneed/ai-voice-cloning/venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 867, in run
    result = context.run(func, *args)
  File "/home/sneed/ai-voice-cloning/venv/lib/python3.10/site-packages/gradio/utils.py", line 549, in async_iteration
    return next(iterator)
  File "/home/sneed/ai-voice-cloning/src/utils.py", line 1029, in run_training
    training_state = TrainingState(config_path=config_path, keep_x_past_checkpoints=keep_x_past_checkpoints)
  File "/home/sneed/ai-voice-cloning/src/utils.py", line 697, in __init__
    self.spawn_process(config_path=config_path, gpus=self.gpus)
  File "/home/sneed/ai-voice-cloning/src/utils.py", line 706, in spawn_process
    self.process = subprocess.Popen(self.cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, universal_newlines=True)
  File "/usr/lib/python3.10/subprocess.py", line 969, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.10/subprocess.py", line 1845, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'train.sh'

Same problem with da96161aaa.

Edit:

sneed@FMRLYCHKS:~/ai-voice-cloning$ find -iname 'train.sh'
./train.sh
``` sneed@FMRLYCHKS:~/ai-voice-cloning$ ./start.sh --listen 172.20.8.87:8080 ===================================BUG REPORT=================================== Welcome to bitsandbytes. For bug reports, please submit your error trace to: https://github.com/TimDettmers/bitsandbytes/issues ================================================================================ /home/sneed/ai-voice-cloning/venv/lib/python3.10/site-packages/bitsandbytes/cuda_setup/main.py:136: UserWarning: /usr/lib/wsl/lib: did not contain libcudart.so as expected! Searching further paths... warn(msg) /home/sneed/ai-voice-cloning/venv/lib/python3.10/site-packages/bitsandbytes/cuda_setup/main.py:136: UserWarning: WARNING: The following directories listed in your path were found to be non-existent: {PosixPath('unix')} warn(msg) CUDA_SETUP: WARNING! libcudart.so not found in any environmental path. Searching /usr/local/cuda/lib64... CUDA SETUP: CUDA runtime path found: /usr/local/cuda/lib64/libcudart.so CUDA SETUP: Highest compute capability among GPUs detected: 8.6 CUDA SETUP: Detected CUDA version 118 CUDA SETUP: Loading binary /home/sneed/ai-voice-cloning/venv/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cuda118.so... Running on local URL: http://172.20.8.87:8080 To create a public link, set `share=True` in `launch()`. Spawning process: train.sh ./training/HyeonSeo/train.yaml Traceback (most recent call last): File "/home/sneed/ai-voice-cloning/venv/lib/python3.10/site-packages/gradio/routes.py", line 393, in run_predict output = await app.get_blocks().process_api( File "/home/sneed/ai-voice-cloning/venv/lib/python3.10/site-packages/gradio/blocks.py", line 1059, in process_api result = await self.call_function( File "/home/sneed/ai-voice-cloning/venv/lib/python3.10/site-packages/gradio/blocks.py", line 882, in call_function prediction = await anyio.to_thread.run_sync( File "/home/sneed/ai-voice-cloning/venv/lib/python3.10/site-packages/anyio/to_thread.py", line 31, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "/home/sneed/ai-voice-cloning/venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread return await future File "/home/sneed/ai-voice-cloning/venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 867, in run result = context.run(func, *args) File "/home/sneed/ai-voice-cloning/venv/lib/python3.10/site-packages/gradio/utils.py", line 549, in async_iteration return next(iterator) File "/home/sneed/ai-voice-cloning/src/utils.py", line 1029, in run_training training_state = TrainingState(config_path=config_path, keep_x_past_checkpoints=keep_x_past_checkpoints) File "/home/sneed/ai-voice-cloning/src/utils.py", line 697, in __init__ self.spawn_process(config_path=config_path, gpus=self.gpus) File "/home/sneed/ai-voice-cloning/src/utils.py", line 706, in spawn_process self.process = subprocess.Popen(self.cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, universal_newlines=True) File "/usr/lib/python3.10/subprocess.py", line 969, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib/python3.10/subprocess.py", line 1845, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'train.sh' ```` Same problem with da96161aaa600c674c37456d246146851b2eb9bc. Edit: ```` sneed@FMRLYCHKS:~/ai-voice-cloning$ find -iname 'train.sh' ./train.sh ````
mrq referenced this issue from a commit 2023-03-22 18:21:42 +07:00
mrq closed this issue 2023-03-22 18:21:42 +07:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mrq/ai-voice-cloning#167
There is no content yet.