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

Better detection of GPU/GPU modules + workaround for now #31

Open
Zorlin opened this issue Sep 24, 2023 · 0 comments
Open

Better detection of GPU/GPU modules + workaround for now #31

Zorlin opened this issue Sep 24, 2023 · 0 comments

Comments

@Zorlin
Copy link
Collaborator

Zorlin commented Sep 24, 2023

Right now we've just added automatic GPU installation on the lotusd node (currently "lotus_primary" in the code).

This means that if you have some nodes that have GPUs (such as lotus miner, worker) and a lotusd that does not have or use a GPU, you will not be able to use this playbook without a workaround.

That workaround:

  • Create a host_vars directory, and a file within it named your-lotusd-machine-hostname.yml
  • Inside that file, add the following:
lotus_nvidia_skip_reboot: true
install_nvidia_driver: false
  • Re-run the playbook

Longer term, we should move the logic for detecting if you have a GPU out of fil_lotus, or make it so it will not try to find a GPU if you do not have your host in the host groups for lotus_worker or lotus_miner or something... actually, that sounds pretty good :)

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