8000 Add a couple of top level aliases from nn.system module by talmo · Pull Request #446 · talmolab/sleap · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add a couple of top level aliases from nn.system module #446

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

Merged
merged 1 commit into from
Jan 6, 2021

Conversation

talmo
Copy link
Collaborator
@talmo talmo commented Jan 5, 2021

Convenience APIs:

  • sleap.use_cpu_only(): hide GPUs from TensorFlow
  • sleap.disable_preallocation(): prevent TensorFlow from allocating entire GPU memory (crashes on some *nix systems)
  • sleap.system_summary(): prints info on the GPUs available, if any

@talmo talmo merged commit 87231ce into develop Jan 6, 2021
@talmo talmo deleted the talmo/system_aliases branch January 6, 2021 00:14
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

Successfully merging this pull request may close these issues.

1 participant
0