[GH-ISSUE #2212] ROCm linux, error occurred while trying to convert audio. 'NoneType' object has no attribute 'tobytes' #1505

Open
opened 2026-10-20 10:09:45 +00:00 by bsakaguchi · 3 comments
Owner

Originally created by @Loganavter on GitHub (Jul 25, 2024).
Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/2212

Logs file is here. My system is Arch Linux, RX 6600.
Pip list is here.
How do I get this error:

  1. Launch infer-web.py
  2. Choosing the kobov2.pth model
  3. I write the path to the audio file
  4. Attempt to convert audio
  5. Error in the terminal:
    AttributeError: 'NoneType' object has no attribute 'tobytes'

Please, any help. :/

Originally created by @Loganavter on GitHub (Jul 25, 2024). Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/2212 Logs file is [here](https://pastebin.com/kqZYw2yu). My system is Arch Linux, RX 6600. Pip list is [here](https://pastebin.com/5hFccnGx). How do I get this error: 1. Launch infer-web.py 2. Choosing the kobov2.pth model 3. I write the path to the audio file 4. Attempt to convert audio 5. Error in the terminal: AttributeError: 'NoneType' object has no attribute 'tobytes' Please, any help. :/
Author
Owner

@RitterKW commented on GitHub (Dec 4, 2024):

pip install gradio==3.48.0

<!-- gh-comment-id:2518017827 --> @RitterKW commented on GitHub (Dec 4, 2024): pip install gradio==3.48.0
Author
Owner

@saiisa commented on GitHub (Jun 18, 2025):

upgrade gradio is not working for me, same issue.

<!-- gh-comment-id:2983214133 --> @saiisa commented on GitHub (Jun 18, 2025): upgrade gradio is not working for me, same issue.
Author
Owner

@pwatx commented on GitHub (Jul 12, 2025):

your pytorch version was too high

<!-- gh-comment-id:3064884379 --> @pwatx commented on GitHub (Jul 12, 2025): your pytorch version was too high
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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
RVC-Project/Retrieval-based-Voice-Conversion-WebUI#1505
No description provided.