Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AMD GPU support #710

Open
Digitalpeer1 opened this issue Jan 23, 2025 · 0 comments
Open

AMD GPU support #710

Digitalpeer1 opened this issue Jan 23, 2025 · 0 comments

Comments

@Digitalpeer1
Copy link

I am trying to train a voice model with my 6700XT but when I run the training command I get this error that says that pytorch_lightning.utilities.exceptions.MisconfigurationException: No supported gpu backend found!

full event:

(.venv) ishaan@ishaanpc:~/Music/training/piper/src/python$ python3 -m piper_train --dataset-dir ~/Music/training/train-me --accelerator 'gpu' --devices 1 --batch-size 32 --validation-split 0.0 --num-test-examples 0 --max_epochs 4000 --resume_from_checkpoint "./epoch=663-step=646736.ckpt" --checkpoint-epochs 1 --precision 16 --max-phoneme-ids 400 --quality medium DEBUG:piper_train:Namespace(dataset_dir='/home/ishaan/Music/training/train-me', checkpoint_epochs=1, quality='medium', resume_from_single_speaker_checkpoint=None, logger=True, enable_checkpointing=True, default_root_dir=None, gradient_clip_val=None, gradient_clip_algorithm=None, num_nodes=1, num_processes=None, devices='1', gpus=None, auto_select_gpus=False, tpu_cores=None, ipus=None, enable_progress_bar=True, overfit_batches=0.0, track_grad_norm=-1, check_val_every_n_epoch=1, fast_dev_run=False, accumulate_grad_batches=None, max_epochs=4000, min_epochs=None, max_steps=-1, min_steps=None, max_time=None, limit_train_batches=None, limit_val_batches=None, limit_test_batches=None, limit_predict_batches=None, val_check_interval=None, log_every_n_steps=50, accelerator='gpu', strategy=None, sync_batchnorm=False, precision=16, enable_model_summary=True, weights_save_path=None, num_sanity_val_steps=2, resume_from_checkpoint='./epoch=663-step=646736.ckpt', profiler=None, benchmark=None, deterministic=None, reload_dataloaders_every_n_epochs=0, auto_lr_find=False, replace_sampler_ddp=True, detect_anomaly=False, auto_scale_batch_size=False, plugins=None, amp_backend='native', amp_level=None, move_metrics_to_cpu=False, multiple_trainloader_mode='max_size_cycle', batch_size=32, validation_split=0.0, num_test_examples=0, max_phoneme_ids=400, hidden_channels=192, inter_channels=192, filter_channels=768, n_layers=6, n_heads=2, seed=1234) Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/home/ishaan/Music/training/piper/src/python/piper_train/__main__.py", line 147, in <module> main() File "/home/ishaan/Music/training/piper/src/python/piper_train/__main__.py", line 60, in main trainer = Trainer.from_argparse_args(args) File "/home/ishaan/Music/training/.venv/lib/python3.10/site-packages/pytorch_lightning/trainer/trainer.py", line 2449, in from_argparse_args return from_argparse_args(cls, args, **kwargs) File "/home/ishaan/Music/training/.venv/lib/python3.10/site-packages/pytorch_lightning/utilities/argparse.py", line 72, in from_argparse_args return cls(**trainer_kwargs) File "/home/ishaan/Music/training/.venv/lib/python3.10/site-packages/pytorch_lightning/utilities/argparse.py", line 345, in insert_env_defaults return fn(self, **kwargs) File "/home/ishaan/Music/training/.venv/lib/python3.10/site-packages/pytorch_lightning/trainer/trainer.py", line 433, in __init__ self._accelerator_connector = AcceleratorConnector( File "/home/ishaan/Music/training/.venv/lib/python3.10/site-packages/pytorch_lightning/trainer/connectors/accelerator_connector.py", line 212, in __init__ self._accelerator_flag = self._choose_gpu_accelerator_backend() File "/home/ishaan/Music/training/.venv/lib/python3.10/site-packages/pytorch_lightning/trainer/connectors/accelerator_connector.py", line 518, in _choose_gpu_accelerator_backend raise MisconfigurationException("No supported gpu backend found!") pytorch_lightning.utilities.exceptions.MisconfigurationException: No supported gpu backend found!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant