Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
1.9 kB
2
Indexable
Never
Traceback (most recent call last):
  File "F:\OneTrainer\modules\ui\TrainUI.py", line 478, in __training_thread_function
    trainer.train()
  File "F:\OneTrainer\modules\trainer\GenericTrainer.py", line 497, in train
    model_output_data = self.model_setup.predict(self.model, batch, self.config, train_progress)
  File "F:\OneTrainer\modules\modelSetup\BaseStableDiffusionXLSetup.py", line 339, in predict
    predicted_latent_noise = model.unet(
  File "F:\OneTrainer\venv\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "F:\OneTrainer\venv\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "F:\OneTrainer\venv\src\diffusers\src\diffusers\models\unets\unet_2d_condition.py", line 978, in forward
    emb = self.time_embedding(t_emb, timestep_cond)
  File "F:\OneTrainer\venv\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "F:\OneTrainer\venv\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "F:\OneTrainer\venv\src\diffusers\src\diffusers\models\embeddings.py", line 228, in forward
    sample = self.linear_1(sample)
  File "F:\OneTrainer\venv\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "F:\OneTrainer\venv\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "F:\OneTrainer\venv\lib\site-packages\torch\nn\modules\linear.py", line 114, in forward
    return F.linear(input, self.weight, self.bias)
RuntimeError: mat1 and mat2 must have the same dtype, but got Float and BFloat16
Leave a Comment