Skip to content

Document garbage_collection_threshold default #150917

Closed
@neoncube2

Description

@neoncube2

📚 The doc issue

It'd be nice if https://pytorch.org/docs/stable/notes/cuda.html#memory-management documented the default for garbage_collection_threshold

Suggest a potential alternative/fix

I think the default is 1.0

cc @svekars @sekyondaMeta @AlannaBurke @ptrblck @msaroufim @eqy @jerryzh168

Metadata

Metadata

Assignees

Labels

docathon-h1-2025easylabel for easy docathon tasksmodule: cudaRelated to torch.cuda, and CUDA support in generalmodule: docsRelated to our documentation, both in docs/ and docblockstriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions