mteb/BrightProStackoverflowRetrieval huggingface dataset:
* [ Advanced ](/docs/terminal/advanced)
* GitHub Copilot
* [ Overview ](/docs/copilot/overview)
* [ Setup ](/docs/copilot/setup)
* [ Getting Started Tutorial ](/docs/copilot/getting-started)
* [ Copilot Chat Tutorial ](/docs/copilot/getting-started-chat)
* [ Code Completions ](/docs/copilot/ai-powered-suggestions)
* [ Copilot Chat ](/docs/copilot/copilot-chat)
* [ Best Practices ](/docs/copilot/prompt-crafting)
* [ Workspace Context ](/docs/copilot/workspace-context)
* [ FAQ ](/docs/copilot/faq)
* Languages
* [ Overview ](/docs/languages/overview)
* [ JavaScript ](/docs/languages/javascript)
* [ JSON ](/docs/languages/json)
* [ HTML ](/docs/languages/html)
* [ CSS, SCSS and Less ](/docs/languages/css)
* [ TypeScript ](/docs/languages/typescript)
* [ Markdown ](/docs/languages/markdown)
* [ PowerShell ](/docs/languages/powershell)
* [ C++ ](/docs/languages/cpp)
* [ Java ](/docs/languages/java)
* [ PHP ](/docs/languages/php)
* [ Python ](/docs/languages/python)
* [ Julia ](/docs/languages/julia)
* [ R ](/docs/languages/r)
* [ Ruby ](/docs/languages/ruby)
* [ Rust ](/docs/languages/rust)
* [ Go ](/docs/languages/go)
* [ T-SQL ](/docs/languages/tsql)
* [ C# ](/docs/languages/csharp)
* [ .NET ](/docs/languages/dotnet)
* [ Polyglot ](/docs/languages/polyglot)
* Node.js / JavaScript
* [ Working with JavaScript ](/docs/nodejs/working-with-javascript)
* [ Node.js Tutorial ](/docs/nodejs/nodejs-tutorial)
* [ Node.js Debugging ](/docs/nodejs/nodejs-debugging)
* [ Deploy Node.js Apps ](/docs/nodejs/nodejs-deployment)
* [ Browser Debugging ](/docs/nodejs/browser-debugging)
* [ Angular Tutorial ](/docs/nodejs/angular-tutorial)
* [ React Tutorial ](/docs/nodejs/reactjs-tutorial)
* [ Vue Tutorial ](/docs/nodejs/vuejs-tutorial)
* [ Debugging Recipes ](/docs/nodejs/debugging-recipes)
* [ Performance Profiling ](/docs/nodejs/profiling)
* [ Extensions ](/docs/nodejs/extensions)
* TypeScript
* [ Tutorial ](/docs/typescript/typescript-tutorial)
* [ Compiling ](/docs/typescript/typescript-compiling)
* [ Editing ](/docs/typescript/typescript-editing)
* [ Refactoring ](/docs/typescript/typescript-refactoring)
* [ Overview ](/docs)
* Setup
* [ Overview ](/docs/setup/setup-overview)
* [ Linux ](/docs/setup/linux)
* [ macOS ](/docs/setup/mac)
* [ Windows ](/docs/setup/windows)
* [ Raspberry Pi ](/docs/setup/raspberry-pi)
* [ Network ](/docs/setup/network)
* [ Additional Components ](/docs/setup/additional-components)
* [ Enterprise ](/docs/setup/enterprise)
* [ Uninstall ](/docs/setup/uninstall)
* Get Started
* [ Intro Videos ](/docs/getstarted/introvideos)
* [ Tips and Tricks ](/docs/getstarted/tips-and-tricks)
* [ User Interface ](/docs/getstarted/userinterface)
* [ Themes ](/docs/getstarted/themes)
* [ Settings ](/docs/getstarted/settings)
* [ Key Bindings ](/docs/getstarted/keybindings)
* [ Display Language ](/docs/getstarted/locales)
* [ Telemetry ](/docs/getstarted/telemetry)
* User Guide
* [ Basic Editing ](/docs/editor/codebasics)
* [ Extension Marketplace ](/docs/editor/extension-marketplace)
* [ IntelliSense ](/docs/editor/intellisense)
* [ Code Navigation ](/docs/editor/editingevolved)
* [ Refactoring ](/docs/editor/refactoring)
* [ Debugging ](/docs/editor/debugging)
* [ VS Code for the Web ](/docs/editor/vscode-web)
* [ Tasks ](/docs/editor/tasks)
* [ Profiles ](/docs/editor/profiles)
* [ Settings Sync ](/docs/editor/settings-sync)
* [ Snippets ](/docs/editor/userdefinedsnippets)
* [ Emmet ](/docs/editor/emmet)
* [ Command Line Interface ](/docs/editor/command-line)
* [ Workspace Trust ](/docs/editor/workspace-trust)
* [ Multi-root Workspaces ](/docs/editor/multi-root-workspaces)
* [ Accessibility ](/docs/editor/accessibility)
* [ Voice interactions ](/docs/editor/voice)
* [ Custom Layout ](/docs/editor/custom-layout)
* [ Port Forwarding ](/docs/editor/port-forwarding)
* Source Control
* [ Overview ](/docs/sourcecontrol/overview)
* [ Introduction to Git ](/docs/sourcecontrol/intro-to-git)
* [ Collaborate on GitHub ](/docs/sourcecontrol/github)
* [ FAQ ](/docs/sourcecontrol/faq)
* Terminal
* [ Terminal Basics ](/docs/terminal/basics)
* [ Terminal Profiles ](/docs/terminal/profiles)
* [ Shell Integration ](/docs/terminal/shell-integration)
* [ Appearance ](/docs/terminal/appearance)
{% if message_list %}
<table class="message_list">
<thead>
<tr>
<th>Date</th>
<th>Time</th>
<th>Message</th>
</tr>
</thead>
<tbody>
{% for message in message_list %}
<tr>
<td>{{ message.log_date | date:'d M Y' }}</td>
<td>{{ message.log_date | time:'H:i:s' }}</td>
<td>
{{ message.message }}
</td>
</tr>
{% endfor %}
</tbody>
</table>
{% else %}
<p>No messages have been logged. Use the <a href="{% url 'log' %}">Log Message form</a>.</p>
{% endif %}
{% endblock %}
* C#
* [ Intro Videos ](/docs/csharp/introvideos-csharp)
* [ Get Started ](/docs/csharp/get-started)
* [ Navigate and Edit ](/docs/csharp/navigate-edit)
* [ IntelliCode ](/docs/csharp/intellicode)
* [ Refactoring ](/docs/csharp/refactoring)
* [ Formatting and Linting ](/docs/csharp/formatting-linting)
* [ Project Management ](/docs/csharp/project-management)
* [ Build Tools ](/docs/csharp/build-tools)
* [ Package Management ](/docs/csharp/package-management)
* [ Run and Debug ](/docs/csharp/debugging)
* [ Testing ](/docs/csharp/testing)
* [ FAQ ](/docs/csharp/cs-dev-kit-faq)
* Docker
* [ Overview ](/docs/containers/overview)
* [ Node.js ](/docs/containers/quickstart-node)
* [ Python ](/docs/containers/quickstart-python)
* [ ASP.NET Core ](/docs/containers/quickstart-aspnet-core)
* [ Debug ](/docs/containers/debug-common)
* [ Docker Compose ](/docs/containers/docker-compose)
* [ Registries ](/docs/containers/quickstart-container-registries)
* [ Deploy to Azure ](/docs/containers/app-service)
* [ Choose a dev environment ](/docs/containers/choosing-dev-environment)
* [ Customize ](/docs/containers/reference)
* [ Develop with Kubernetes ](/docs/containers/bridge-to-kubernetes)
* [ Tips and Tricks ](/docs/containers/troubleshooting)
* Data Science
* [ Overview ](/docs/datascience/overview)
* [ Jupyter Notebooks ](/docs/datascience/jupyter-notebooks)
* [ Data Science Tutorial ](/docs/datascience/data-science-tutorial)
* [ Python Interactive ](/docs/datascience/python-interactive)
* [ Data Wrangler Quick Start ](/docs/datascience/data-wrangler-quick-start)
* [ Data Wrangler ](/docs/datascience/data-wrangler)
* [ PyTorch Support ](/docs/datascience/pytorch-support)
* [ Azure Machine Learning ](/docs/datascience/azure-machine-learning)
* [ Manage Jupyter Kernels ](/docs/datascience/jupyter-kernel-management)
* [ Jupyter Notebooks on the web ](/docs/datascience/notebooks-web)
* Azure
* [ Extensions ](/docs/azure/extensions)
* [ Deployment ](/docs/azure/deployment)
* [ Remote Debugging for Node.js ](/docs/azure/remote-debugging)
* [ Docker ](/docs/azure/docker)
* [ MongoDB ](/docs/azure/mongodb)
* [ Kubernetes ](/docs/azure/kubernetes)
* [ Azure Kubernetes Service ](/docs/azure/aksextensions)
* Remote
* [ Overview ](/docs/remote/remote-overview)
* [ SSH ](/docs/remote/ssh)
* [ Dev Containers ](/docs/remote/dev-containers)
* [ Windows Subsystem for Linux ](/docs/remote/wsl)
* [ GitHub ](https://github.com/django)
* [ Twitter ](https://twitter.com/djangoproject)
* [ Fediverse (Mastodon) ](https://fosstodon.org/@django)
* [ News RSS ](https://www.djangoproject.com/rss/weblog/)
* [ Django Users Mailing List ](https://groups.google.com/forum/#!forum/django-users)
[ Django ](https://www.djangoproject.com/)

The web framework for perfectionists with deadlines.

__ Menu

Toggle theme (current theme: auto)

Toggle theme (current theme: light)

Toggle theme (current theme: dark)

Toggle Light / Dark / Auto color theme

  * [ Overview ](https://www.djangoproject.com/start/overview/)
  * [ Download ](https://www.djangoproject.com/download/)
  * [ Documentation ](https://docs.djangoproject.com/)
  * [ News ](https://www.djangoproject.com/weblog/)
  * [ Community ](https://www.djangoproject.com/community/)
  * [ Code ](https://github.com/django/django)
  * [ Issues ](https://code.djangoproject.com/)
  * [ About ](https://www.djangoproject.com/foundation/)
  * [ ♥ Donate ](https://www.djangoproject.com/fundraising/)
  * Toggle theme (current theme: auto) 

Toggle theme (current theme: light)

Toggle theme (current theme: dark)

Toggle Light / Dark / Auto color theme

#  [ Documentation ](https://docs.djangoproject.com/en/4.0/)

Search:  __ Search

  * [ Getting Help  ](https://docs.djangoproject.com/en/4.0/faq/help/)

  * [ el ](https://docs.djangoproject.com/el/4.0/ref/models/options/)
  * [ es ](https://docs.djangoproject.com/es/4.0/ref/models/options/)
  * [ fr ](https://docs.djangoproject.com/fr/4.0/ref/models/options/)
  * [ id ](https://docs.djangoproject.com/id/4.0/ref/models/options/)
  * [ it ](https://docs.djangoproject.com/it/4.0/ref/models/options/)
  * [ ja ](https://docs.djangoproject.com/ja/4.0/ref/models/options/)
  * [ ko ](https://docs.djangoproject.com/ko/4.0/ref/models/options/)
  * [ pl ](https://docs.djangoproject.com/pl/4.0/ref/models/options/)
  * [ pt-br ](https://docs.djangoproject.com/pt-br/4.0/ref/models/options/)
  * [ zh-hans ](https://docs.djangoproject.com/zh-hans/4.0/ref/models/options/)
  * Language: **en**

  * [ 1.8 ](https://docs.djangoproject.com/en/1.8/ref/models/options/)
  * [ 1.10 ](https://docs.djangoproject.com/en/1.10/ref/models/options/)
  * [ 1.11 ](https://docs.djangoproject.com/en/1.11/ref/models/options/)
  * [ 2.0 ](https://docs.djangoproject.com/en/2.0/ref/models/options/)
  * [ 2.1 ](https://docs.djangoproject.com/en/2.1/ref/models/options/)
  * [ 2.2 ](https://docs.djangoproject.com/en/2.2/ref/models/options/)
  * [ 3.0 ](https://docs.djangoproject.com/en/3.0/ref/models/options/)
  * [ 3.1 ](https://docs.djangoproject.com/en/3.1/ref/models/options/)
  * [ 3.2 ](https://docs.djangoproject.com/en/3.2/ref/models/options/)
  * [ 4.1 ](https://docs.djangoproject.com/en/4.1/ref/models/options/)
  * [ 4.2 ](https://docs.djangoproject.com/en/4.2/ref/models/options/)
  * [ 5.0 ](https://docs.djangoproject.com/en/5.0/ref/models/options/)
  * [ dev ](https://docs.djangoproject.com/en/dev/ref/models/options/)
  * Documentation version: **4.0**

  * __

#  Model ` Meta  ` options  ¶

This document explains all the possible [ metadata options
](../../../topics/db/models/#meta-options) that you can give your model in its
internal ` class  Meta  ` .

##  Available ` Meta  ` options  ¶
* [ 1.8 ](https://docs.djangoproject.com/en/1.8/topics/class-based-views/)
* [ 1.10 ](https://docs.djangoproject.com/en/1.10/topics/class-based-views/)
* [ 1.11 ](https://docs.djangoproject.com/en/1.11/topics/class-based-views/)
* [ 2.0 ](https://docs.djangoproject.com/en/2.0/topics/class-based-views/)
* [ 2.1 ](https://docs.djangoproject.com/en/2.1/topics/class-based-views/)
* [ 2.2 ](https://docs.djangoproject.com/en/2.2/topics/class-based-views/)
* [ 3.0 ](https://docs.djangoproject.com/en/3.0/topics/class-based-views/)
* [ 3.1 ](https://docs.djangoproject.com/en/3.1/topics/class-based-views/)
* [ 3.2 ](https://docs.djangoproject.com/en/3.2/topics/class-based-views/)
* [ 4.0 ](https://docs.djangoproject.com/en/4.0/topics/class-based-views/)
* [ 4.1 ](https://docs.djangoproject.com/en/4.1/topics/class-based-views/)
* [ 4.2 ](https://docs.djangoproject.com/en/4.2/topics/class-based-views/)
* [ dev ](https://docs.djangoproject.com/en/dev/topics/class-based-views/)
* Documentation version: **5.0**
com/pytorch/pytorch/blob/master/CONTRIBUTING.md)

  * [ Resources ](https://pytorch.org/resources)
  * [ Tutorials ](https://pytorch.org/tutorials)
  * [ Docs ](https://pytorch.org/docs/stable/index.html)
  * [ Discuss ](https://discuss.pytorch.org)
  * [ Github Issues ](https://github.com/pytorch/pytorch/issues)
  * [ Brand Guidelines ](https://pytorch.org/assets/brand-guidelines/PyTorch-Brand-Guidelines.pdf)

  * Stay Connected 
  * Email Address 

[ ](https://www.facebook.com/pytorch) [ ](https://twitter.com/pytorch) [
](https://www.youtube.com/pytorch)

To analyze traffic and optimize your experience, we serve cookies on this
site. By clicking or navigating, you agree to allow our usage of cookies. As
the current maintainers of this site, Facebook’s Cookies Policy applies. Learn
more, including about available controls: [ Cookies Policy
](https://www.facebook.com/policies/cookies/) .

![](../_static/images/pytorch-x.svg)

[ ](https://pytorch.org/)

  * [ Get Started ](https://pytorch.org/get-started)
  * [ Features ](https://pytorch.org/features)
  * [ Ecosystem ](https://pytorch.org/ecosystem)
  * [ Mobile ](https://pytorch.org/mobile)
  * [ PyTorch Hub ](https://pytorch.org/hub)
  * [ Blog ](https://pytorch.org/blog/)
  * [ Tutorials ](https://pytorch.org/tutorials)
  * [ Docs ](https://pytorch.org/docs/stable/index.html)
  * [ Resources ](https://pytorch.org/resources)
  * [ Github ](https://github.com/pytorch/pytorch)
ected 
  * Email Address 

[ ](https://www.facebook.com/pytorch) [ ](https://twitter.com/pytorch) [
](https://www.youtube.com/pytorch)

To analyze traffic and optimize your experience, we serve cookies on this
site. By clicking or navigating, you agree to allow our usage of cookies. As
the current maintainers of this site, Facebook’s Cookies Policy applies. Learn
more, including about available controls: [ Cookies Policy
](https://www.facebook.com/policies/cookies/) .

![](_static/images/pytorch-x.svg)

[ ](https://pytorch.org/)

  * [ Get Started ](https://pytorch.org/get-started)
  * [ Features ](https://pytorch.org/features)
  * [ Ecosystem ](https://pytorch.org/ecosystem)
  * [ Mobile ](https://pytorch.org/mobile)
  * [ PyTorch Hub ](https://pytorch.org/hub)
  * [ Blog ](https://pytorch.org/blog/)
  * [ Tutorials ](https://pytorch.org/tutorials)
  * [ Docs ](https://pytorch.org/docs/stable/index.html)
  * [ Resources ](https://pytorch.org/resources)
  * [ Github ](https://github.com/pytorch/pytorch)
ffic and optimize your experience, we serve cookies on this
site. By clicking or navigating, you agree to allow our usage of cookies. As
the current maintainers of this site, Facebook’s Cookies Policy applies. Learn
more, including about available controls: [ Cookies Policy
](https://www.facebook.com/policies/cookies/) .

![](_static/images/pytorch-x.svg)

[ ](https://pytorch.org/)

  * [ Get Started ](https://pytorch.org/get-started)
  * [ Ecosystem ](https://pytorch.org/ecosystem)
  * [ Mobile ]()
  * [ Blog ](https://pytorch.org/blog/)
  * [ Tutorials ](https://pytorch.org/tutorials)
  * Docs 
    * [ PyTorch ](https://pytorch.org/docs/stable/index.html)
    * [ torchaudio ](https://pytorch.org/audio/stable/index.html)
    * [ torchtext ](https://pytorch.org/text/stable/index.html)
    * [ torchvision ](https://pytorch.org/vision/stable/index.html)
    * [ torcharrow ](https://pytorch.org/torcharrow)
    * [ TorchData ](https://pytorch.org/data)
    * [ TorchRec ](https://pytorch.org/torchrec)
    * [ TorchServe ](https://pytorch.org/serve/)
    * [ TorchX ](https://pytorch.org/torchx/)
    * [ PyTorch on XLA Devices ](https://pytorch.org/xla)
  * Resources 
    * [ About ](https://pytorch.org/features)
    * [ PyTorch Foundation ](https://pytorch.org/foundation)
    * [ Community ](https://pytorch.org/#community-module)
    * [ Community Stories ](https://pytorch.org/community-stories)
    * [ Developer Resources ](https://pytorch.org/resources)
    * [ Events ](https://pytorch.org/events)
    * [ Forums ](https://discuss.pytorch.org/)
    * [ Models (Beta) ](https://pytorch.org/hub)
  * [ Github ](https://github.com/pytorch/pytorch)
orials)
  * [ Docs ](/docs)
  * [ Discuss ](https://discuss.pytorch.org)
  * [ GitHub Issues ](https://github.com/pytorch/pytorch/issues)
  * [ Brand Guidelines ](/assets/brand-guidelines/PyTorch-Brand-Guidelines.pdf)

  * Stay up to date 

  * [ Facebook ](https://www.facebook.com/pytorch)
  * [ Twitter ](https://twitter.com/pytorch)
  * [ YouTube ](https://www.youtube.com/pytorch)
  * [ LinkedIn ](https://www.linkedin.com/company/pytorch)
  * [ Mastodon ](https://social.lfx.dev/@pytorch)

  * PyTorch Podcasts 

  * [ Spotify ](https://open.spotify.com/show/6UzHKeiy368jKfQMKKvJY5)
  * [ Apple ](https://podcasts.apple.com/us/podcast/pytorch-developer-podcast/id1566080008)
  * [ Google ](https://www.google.com/podcasts?feed=aHR0cHM6Ly9mZWVkcy5zaW1wbGVjYXN0LmNvbS9PQjVGa0lsOA%3D%3D)
  * [ Amazon ](https://music.amazon.com/podcasts/7a4e6f0e-26c2-49e9-a478-41bd244197d0/PyTorch-Developer-Podcast?)

  * [ Terms ](https://www.linuxfoundation.org/terms/)
  * | 
  * [ Privacy ](https://www.linuxfoundation.org/privacy-policy/)

© Copyright The Linux Foundation. The PyTorch Foundation is a project of The
Linux Foundation. For web site terms of use, trademark policy and other
policies applicable to The PyTorch Foundation please see [
www.linuxfoundation.org/legal/policies/
](https://www.linuxfoundation.org/legal/policies/) . The PyTorch Foundation
supports the PyTorch open source project, which has been established as
PyTorch Project a Series of LF Projects, LLC. For policies applicable to the
PyTorch Project a Series of LF Projects, LLC, please see [
www.lfprojects.org/policies/ ](https://www.lfprojects.org/policies/) .

![](https://www.googleadservices.com/pagead/conversion/795629140/?label=txkmCPmdtosBENSssfsC&guid=ON&script=0)

[ ](https://pytorch.org)

  *   * [ Get Started ](/get-started)
  * Ecosystem 
    * [ PyTorch Conference - 2024 ](https://events.linuxfoundation.org/pytorch-conference/)
    * [ Tools ](/ecosystem)
  * Edge 
    * [ About PyTorch Edge ](/edge)
    * [ ExecuTorch ](/executorch-overview)
  * [ Blog ](/blog)
  * [ Tutorials ](https://pytorch.org/tutorials)
  * [ Docs ](/docs)
    * [ PyTorch ](/docs)
    * [ torchaudio ](/audio)
    * [ torchtext ](/text)
    * [ torchvision ](/vision)
    * [ torcharrow ](/torcharrow)
    * [ TorchData ](/data)
    * [ TorchRec ](/torchrec)
    * [ TorchServe ](/serve)
    * [ PyTorch on XLA Devices ](/xla/release/1.6/index.html)
  * Resources 
    * [ About ](/features)
    * [ PyTorch Foundation ](/foundation)
    * [ Community ](/#community-module)
    * [ Community stories ](/community-stories)
    * [ Developer Resources ](/resources)
    * [ Events ](/events)
    * [ Forum ](https://discuss.pytorch.org)
    * [ Models (Beta) ](/hub)
  * [ GitHub ](https://github.com/pytorch/pytorch)

To analyze traffic and optimize your experience, we serve cookies on this
site. By clicking or navigating, you agree to allow our usage of cookies. As
the current maintainers of this site, Facebook’s Cookies Policy applies. Learn
more, including about available controls: [ Cookies Policy
](https://www.facebook.com/policies/cookies/) .

![](/assets/images/pytorch-x.svg)
sources

Find development resources and get your questions answered

[ View Resources ](https://pytorch.org/resources)

[ ](https://pytorch.org/)

  * [ PyTorch ](https://pytorch.org/)
  * [ Get Started ](https://pytorch.org/get-started)
  * [ Features ](https://pytorch.org/features)
  * [ Ecosystem ](https://pytorch.org/ecosystem)
  * [ Blog ](https://pytorch.org/blog/)
  * [ Contributing ](https://github.com/pytorch/pytorch/blob/master/CONTRIBUTING.md)

  * [ Resources ](https://pytorch.org/resources)
  * [ Tutorials ](https://pytorch.org/tutorials)
  * [ Docs ](https://pytorch.org/docs/stable/index.html)
  * [ Discuss ](https://discuss.pytorch.org)
  * [ Github Issues ](https://github.com/pytorch/pytorch/issues)
  * [ Brand Guidelines ](https://pytorch.org/assets/brand-guidelines/PyTorch-Brand-Guidelines.pdf)

  * Stay Connected 
  * Email Address 

[ ](https://www.facebook.com/pytorch) [ ](https://twitter.com/pytorch) [
](https://www.youtube.com/pytorch)

To analyze traffic and optimize your experience, we serve cookies on this
site. By clicking or navigating, you agree to allow our usage of cookies. As
the current maintainers of this site, Facebook’s Cookies Policy applies. Learn
more, including about available controls: [ Cookies Policy
](https://www.facebook.com/policies/cookies/) .

![](../_static/images/pytorch-x.svg)

[ ](https://pytorch.org/)

  * [ Get Started ](https://pytorch.org/get-started)
  * [ Features ](https://pytorch.org/features)
  * [ Ecosystem ](https://pytorch.org/ecosystem)
  * [ Mobile ](https://pytorch.org/mobile)
  * [ PyTorch Hub ](https://pytorch.org/hub)
  * [ Blog ](https://pytorch.org/blog/)
  * [ Tutorials ](https://pytorch.org/tutorials)
  * [ Docs ](https://pytorch.org/docs/stable/index.html)
  * [ Resources ](https://pytorch.org/resources)
  * [ Github ](https://github.com/pytorch/pytorch)
ron-right-orange.svg)
](large_scale_deployments.html "Features for large-scale deployments") [
![](../_static/images/chevron-right-orange.svg) Previous ](extending.html
"Extending PyTorch")

* * *

© Copyright 2019, Torch Contributors.

Built with [ Sphinx ](http://sphinx-doc.org/) using a [ theme
](https://github.com/rtfd/sphinx_rtd_theme) provided by [ Read the Docs
](https://readthedocs.org) .

  * Frequently Asked Questions 
    * My model reports “cuda runtime error(2): out of memory” 
    * My GPU memory isn’t freed properly 
    * My out of memory exception handler can’t allocate memory 
    * My data loader workers return identical random numbers 
    * My recurrent network doesn’t work with data parallelism 

![](https://www.googleadservices.com/pagead/conversion/795629140/?label=txkmCPmdtosBENSssfsC&guid=ON&script=0)

##  Docs

Access comprehensive developer documentation for PyTorch

[ View Docs ](https://pytorch.org/docs/stable/index.html)

##  Tutorials

Get in-depth tutorials for beginners and advanced developers

[ View Tutorials ](https://pytorch.org/tutorials)

##  Resources

Find development resources and get your questions answered

[ View Resources ](https://pytorch.org/resources)

[ ](https://pytorch.org/)

  * [ PyTorch ](https://pytorch.org/)
  * [ Get Started ](https://pytorch.org/get-started)
  * [ Features ](https://pytorch.org/features)
  * [ Ecosystem ](https://pytorch.org/ecosystem)
  * [ Blog ](https://pytorch.org/blog/)
  * [ Contributing ](https://github.com/pytorch/pytorch/blob/master/CONTRIBUTING.md)

  * [ Resources ](https://pytorch.org/resources)
  * [ Tutorials ](https://pytorch.org/tutorials)
  * [ Docs ](https://pytorch.org/docs/stable/index.html)
  * [ Discuss ](https://discuss.pytorch.org)
  * [ Github Issues ](https://github.com/pytorch/pytorch/issues)
  * [ Brand Guidelines ](https://pytorch.org/assets/brand-guidelines/PyTorch-Brand-Guidelines.pdf)

  * Stay Connected 
  * Email Address 

[ ](https://www.facebook.com/pytorch) [ ](https://twitter.com/pytorch) [
](https://www.youtube.com/pytorch)

To analyze traffic and optimize your experience, we serve cookies on this
site. By clicking or navigating, you agree to allow our usage of cookies. As
the current maintainers of this site, Facebook’s Cookies Policy applies. Learn
more, including about available controls: [ Cookies Policy
](https://www.facebook.com/policies/cookies/) .

![](../_static/images/pytorch-x.svg)

[ ](https://pytorch.org/)

  * [ Get Started ](https://pytorch.org/get-started)
  * [ Features ](https://pytorch.org/features)
  * [ Ecosystem ](https://pytorch.org/ecosystem)
  * [ Mobile ](https://pytorch.org/mobile)
  * [ PyTorch Hub ](https://pytorch.org/hub)
  * [ Blog ](https://pytorch.org/blog/)
  * [ Tutorials ](https://pytorch.org/tutorials)
  * [ Docs ](https://pytorch.org/docs/stable/index.html)
  * [ Resources ](https://pytorch.org/resources)
  * [ Github ](https://github.com/pytorch/pytorch)