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

GPU-enabled multiVI integration yaml issue #299

Open
wlason opened this issue Jul 26, 2024 · 0 comments
Open

GPU-enabled multiVI integration yaml issue #299

wlason opened this issue Jul 26, 2024 · 0 comments

Comments

@wlason
Copy link
Contributor

wlason commented Jul 26, 2024

If the use_gpu is set to True in yaml, the script errors with the following message:

  File "[path]/panpipes/panpipes/python_scripts/batch_correct_multivi.py", line 248, in <module>
    mvi.train( **multivi_training_args, **multivi_training_plan)
  File "[path]/panpipes_gpu/lib/python3.10/site-packages/scvi/model/_multivi.py", line 338, in train
    runner = self._train_runner_cls(
  File "[path]/conda/skylake/envs/panpipes_gpu/lib/python3.10/site-packages/scvi/train/_trainrunner.py", line 82, in __init__
    self.trainer = self._trainer_cls(
  File "[path]/panpipes_gpu/lib/python3.10/site-packages/scvi/train/_trainer.py", line 171, in __init__
    super().__init__(
  File "[path]/panpipes_gpu/lib/python3.10/site-packages/lightning/pytorch/utilities/argparse.py", line 70, in insert_env_defaults
    return fn(self, **kwargs)
TypeError: Trainer.__init__() got an unexpected keyword argument 'use_gpu'
@wlason wlason changed the title MultiVI use_gpu yaml GPU-enabled multiVI integration yaml issue Jul 26, 2024
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