Pinokio
FeedAppsRemoteCreate
Download Pinokio
Sign inCreate accountJoin
Sign inCreate accountJoin

Post

Conversation
@akos2·15h

Hi,

Good news first: lyrics and style now work.

Now voice training fails. I tried to train the voice 'ice cream 1' (31 s of voice, 4 pieces, 300 steps):

Traceback (most recent call last):
File "/Users/akos/pinokio/api/os-studio.beta.git/app/service.py", line 1937, in train_voice
(voice,) = SongVoiceTrain().train(
File "/Users/akos/pinokio/api/os-studio.beta.git/app/engine/song_voice/song_voice_node.py", line 922, in train
trainer.train(train_pieces, training_steps, batch_size=2, on_step=on_step,
File "/Users/akos/pinokio/api/os-studio.beta.git/app/engine/song_voice/voice_trainer.py", line 157, in train
loss = self.step(*self._batch(pieces, batch_size, replay))
File "/Users/akos/pinokio/api/os-studio.beta.git/app/engine/song_voice/voice_trainer.py", line 114, in step
f0 = self.svc.rmvpe.infer_from_audio_batch(w16).float().to(self.device)
File "/Users/akos/pinokio/api/os-studio.beta.git/app/engine/song_voice/seed-vc/modules/rmvpe.py", line 607, in infer_from_audio_batch
f0s = torch.from_numpy(f0s).to(self.device)
TypeError: Cannot convert a MPS Tensor to float64 dtype as the MPS framework doesn't support float64. Please use float32 instead.
[studio] voice failed: TypeError: Cannot convert a MPS Tensor to float64 dtype as the MPS framework doesn't support float64. Please use float32 instead.

In rmvpe.py, line 607, a float64 NumPy array is moved to the MPS device. MPS does not support float64.

My system: Mac Studio M5 Max, 128 GB RAM, macOS 27.0.1, PyTorch 2.10.0, installed through Pinokio.

The activity log is attached. I am happy to test a fix.

Best regards,
Akos Simon

Loading conversation…

Replies

Post context

App used

OS StudioTheAwaken1/os-studioView app

Published by

@akos215h ago
Pinokio
PrivacyTerms
FeedAppsCreateRemote

Post context

App used

OS StudioTheAwaken1/os-studioView app

Published by

@akos215h ago

Related posts

Hi, Thank you for the fast fixes! Stem is perfect now,.... and OS Stu...@akos2 · 8h agoanother error druing learning a singing voice here the termnal conten...@akos2 · 15h agoWan2GP: raise AssertionError("Torch not compiled with CUDA enabled")@meenakshisharma · 1mo ago