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

Memory management techniques #185

Open
dsyme opened this issue Sep 15, 2020 · 0 comments
Open

Memory management techniques #185

dsyme opened this issue Sep 15, 2020 · 0 comments

Comments

@dsyme
Copy link
Collaborator

dsyme commented Sep 15, 2020

dotnet/TorchSharp#168 documents the memory management techniques possible with TorchSharp

DiffSharp currently supports only option #2. We should consider mapping through the necessary calls to allow option #3 (RegisterAsMemoryPressure) and perhaps also option #1 (allowing explicit disposal of tensors)

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