Skip to content

Latest commit

ย 

History

History
435 lines (362 loc) ยท 18.7 KB

recipes_index.rst

File metadata and controls

435 lines (362 loc) ยท 18.7 KB

ํŒŒ์ดํ† ์น˜ ๋ ˆ์‹œํ”ผ

๋ ˆ์‹œํ”ผ๋Š” ์ „์ฒด ๊ธธ์ด์˜ ํŠœํ† ๋ฆฌ์–ผ๊ณผ ๋‹ฌ๋ฆฌ, PyTorch์˜ ํŠน์ • ๊ธฐ๋Šฅ์„ ์‚ฌ์šฉํ•˜๋Š” ๊ฐ„๋‹จํ•˜๊ณ  ๋ฐ”๋กœ ์ ์šฉ ๊ฐ€๋Šฅํ•œ ์˜ˆ์ œ๋“ค์ž…๋‹ˆ๋‹ค.

All

.. customcarditem::
   :header: PyTorch์—์„œ ๋ฐ์ดํ„ฐ ๋ถˆ๋Ÿฌ์˜ค๊ธฐ
   :card_description: PyTorch ํŒจํ‚ค์ง€๋ฅผ ์ด์šฉํ•ด์„œ ๊ณต์šฉ ๋ฐ์ดํ„ฐ์…‹์„ ๋ถˆ๋Ÿฌ์˜ค๊ณ  ๋ชจ๋ธ์— ์ ์šฉํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ์•Œ์•„๋ด…๋‹ˆ๋‹ค.
   :image: ../_static/img/thumbnails/cropped/loading-data.PNG
   :link: ../recipes/recipes/loading_data_recipe.html
   :tags: Basics

.. customcarditem::
   :header: ์‹ ๊ฒฝ๋ง ์ •์˜ํ•˜๊ธฐ
   :card_description: MNIST dataset์„ ์‚ฌ์šฉํ•œ ์‹ ๊ฒฝ๋ง์„ ๋งŒ๋“ค๊ณ  ์ •์˜ํ•˜๊ธฐ ์œ„ํ•ด PyTorch์˜ torch.nn ํŒจํ‚ค์ง€๋ฅผ ์–ด๋–ป๊ฒŒ ์‚ฌ์šฉํ•˜๋Š” ์ง€ ์•Œ์•„๋ด…์‹œ๋‹ค.
   :image: ../_static/img/thumbnails/cropped/defining-a-network.PNG
   :link: ../recipes/recipes/defining_a_neural_network.html
   :tags: Basics

.. customcarditem::
   :header: PyTorch์—์„œ state_dict๋ž€ ๋ฌด์—‡์ธ๊ฐ€์š”?
   :card_description: PyTorch์—์„œ ๋ชจ๋ธ์„ ์ €์žฅํ•˜๊ฑฐ๋‚˜ ๋ถˆ๋Ÿฌ์˜ฌ ๋•Œ Python ์‚ฌ์ „์ธ state_dict ๊ฐ์ฒด๊ฐ€ ์–ด๋–ป๊ฒŒ ์‚ฌ์šฉ๋˜๋Š”์ง€ ์•Œ์•„๋ด…๋‹ˆ๋‹ค.
   :image: ../_static/img/thumbnails/cropped/what-is-a-state-dict.PNG
   :link: ../recipes/recipes/what_is_state_dict.html
   :tags: Basics

.. customcarditem::
   :header: PyTorch์—์„œ ์ถ”๋ก (inference)์„ ์œ„ํ•ด ๋ชจ๋ธ ์ €์žฅํ•˜๊ธฐ & ๋ถˆ๋Ÿฌ์˜ค๊ธฐ
   :card_description: PyTorch์—์„œ ์ถ”๋ก ์„ ์œ„ํ•ด ๋ชจ๋ธ์„ ์ €์žฅํ•˜๊ณ  ๋ถˆ๋Ÿฌ์˜ค๋Š” ๋‘ ๊ฐ€์ง€ ์ ‘๊ทผ ๋ฐฉ์‹(state_dict ๋ฐ ์ „์ฒด ๋ชจ๋ธ)์„ ์•Œ์•„๋ด…๋‹ˆ๋‹ค.
   :image: ../_static/img/thumbnails/cropped/saving-and-loading-models-for-inference.PNG
   :link: ../recipes/recipes/saving_and_loading_models_for_inference.html
   :tags: Basics

.. customcarditem::
   :header: PyTorch์—์„œ ์ผ๋ฐ˜์ ์ธ ์ฒดํฌํฌ์ธํŠธ(checkpoint) ์ €์žฅํ•˜๊ธฐ & ๋ถˆ๋Ÿฌ์˜ค๊ธฐ
   :card_description: ์ถ”๋ก  ๋˜๋Š” ํ•™์Šต์„ ์žฌ๊ฐœํ•˜๊ธฐ ์œ„ํ•ด ์ผ๋ฐ˜์ ์ธ ์ฒดํฌํฌ์ธํŠธ๋ฅผ ์ €์žฅํ•˜๊ณ  ๋ถˆ๋Ÿฌ์˜ค๋Š” ๊ฒƒ์€ ๋งˆ์ง€๋ง‰์œผ๋กœ ์ค‘๋‹จํ•œ ๋ถ€๋ถ„์„ ๊ณ ๋ฅด๋Š”๋ฐ ๋„์›€์ด ๋ฉ๋‹ˆ๋‹ค. ์ด ๋ ˆ์‹œํ”ผ์—์„œ๋Š” ์–ด๋–ป๊ฒŒ ์—ฌ๋Ÿฌ๊ฐœ์˜ ์ฒดํฌํฌ์ธํŠธ๋ฅผ ์ €์žฅํ•˜๊ณ  ๋ถˆ๋Ÿฌ์˜ค๋Š”์ง€ ์•Œ์•„๋ด…๋‹ˆ๋‹ค.
   :image: ../_static/img/thumbnails/cropped/saving-and-loading-general-checkpoint.PNG
   :link: ../recipes/recipes/saving_and_loading_a_general_checkpoint.html
   :tags: Basics

.. customcarditem::
   :header: PyTorch์—์„œ ์—ฌ๋Ÿฌ ๋ชจ๋ธ์„ ํ•˜๋‚˜์˜ ํŒŒ์ผ์— ์ €์žฅํ•˜๊ธฐ & ๋ถˆ๋Ÿฌ์˜ค๊ธฐ
   :card_description: ์ด์ „์— ํ•™์Šตํ–ˆ๋˜ ์—ฌ๋Ÿฌ ๋ชจ๋ธ๋“ค์„ ์ €์žฅํ•˜๊ณ  ๋ถˆ๋Ÿฌ์™€ ๋ชจ๋ธ์„ ์žฌ์‚ฌ์šฉํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ์•Œ์•„๋ด…๋‹ˆ๋‹ค.
   :image: ../_static/img/thumbnails/cropped/saving-multiple-models.PNG
   :link: ../recipes/recipes/saving_multiple_models_in_one_file.html
   :tags: Basics

.. customcarditem::
   :header: Warmstarting model using parameters from a different model in PyTorch
   :card_description: Learn how warmstarting the training process by partially loading a model or loading a partial model can help your model converge much faster than training from scratch.
   :image: ../_static/img/thumbnails/cropped/warmstarting-models.PNG
   :link: ../recipes/recipes/warmstarting_model_using_parameters_from_a_different_model.html
   :tags: Basics

.. customcarditem::
   :header: PyTorch์—์„œ ๋‹ค์–‘ํ•œ ์žฅ์น˜ ๊ฐ„ ๋ชจ๋ธ์„ ์ €์žฅํ•˜๊ณ  ๋ถˆ๋Ÿฌ์˜ค๊ธฐ
   :card_description: PyTorch๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๋‹ค์–‘ํ•œ ์žฅ์น˜(CPU์™€ GPU) ๊ฐ„์˜ ๋ชจ๋ธ์„ ์ €์žฅํ•˜๊ณ  ๋ถˆ๋Ÿฌ์˜ค๋Š” ๋น„๊ต์  ๊ฐ„๋‹จํ•œ ๋ฐฉ๋ฒ•์„ ์•Œ์•„๋ด…๋‹ˆ๋‹ค.
   :image: ../_static/img/thumbnails/cropped/saving-and-loading-models-across-devices.PNG
   :link: ../recipes/recipes/save_load_across_devices.html
   :tags: Basics

.. customcarditem::
   :header: PyTorch์—์„œ ๋ณ€ํ™”๋„๋ฅผ 0์œผ๋กœ ๋งŒ๋“ค๊ธฐ
   :card_description: ๋ณ€ํ™”๋„๋ฅผ ์–ธ์ œ 0์œผ๋กœ ๋งŒ๋“ค์–ด์•ผ ํ•˜๋ฉฐ, ๊ทธ๋ ‡๊ฒŒ ํ•˜๋Š” ๊ฒƒ์ด ๋ชจ๋ธ์˜ ์ •ํ™•๋„๋ฅผ ๋†’์ด๋Š” ๋ฐ์— ์–ด๋–ป๊ฒŒ ๋„์›€์ด ๋˜๋Š”์ง€ ์•Œ์•„๋ด…๋‹ˆ๋‹ค.
   :image: ../_static/img/thumbnails/cropped/zeroing-out-gradients.PNG
   :link: ../recipes/recipes/zeroing_out_gradients.html
   :tags: Basics

.. customcarditem::
   :header: PyTorch ๋ฒค์น˜๋งˆํฌ
   :card_description: PyTorch์˜ ๋ฒค์น˜๋งˆํฌ ๋ชจ๋“ˆ์„ ์‚ฌ์šฉํ•˜์—ฌ ์ฝ”๋“œ์˜ ์„ฑ๋Šฅ์„ ์ธก์ •ํ•˜๊ณ  ๋น„๊ตํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ์•Œ์•„๋ด…๋‹ˆ๋‹ค.
   :image: ../_static/img/thumbnails/cropped/profiler.png
   :link: ../recipes/recipes/benchmark.html
   :tags: Basics

.. customcarditem::
   :header: Timer ๋น ๋ฅธ ์‹œ์ž‘
   :card_description: ์ฝ”๋“œ ์กฐ๊ฐ(snippet)์˜ ์‹คํ–‰ ์‹œ๊ฐ„์„ ์ธก์ •ํ•˜๊ณ  ๋ช…๋ น์–ด๋“ค์„ ํ™•์ธํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ์•Œ์•„๋ด…๋‹ˆ๋‹ค.
   :image: ../_static/img/thumbnails/cropped/profiler.png
   :link: ../recipes/recipes/timer_quick_start.html
   :tags: Basics

.. customcarditem::
   :header: PyTorch ํ”„๋กœํŒŒ์ผ๋Ÿฌ
   :card_description: PyTorch์˜ ํ”„๋กœํŒŒ์ผ๋Ÿฌ๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์—ฐ์‚ฐ ์‹œ๊ฐ„๊ณผ ๋ฉ”๋ชจ๋ฆฌ ์†Œ๋น„๋Ÿ‰์„ ์ธก์ •ํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ์•Œ์•„๋ด…๋‹ˆ๋‹ค.
   :image: ../_static/img/thumbnails/cropped/profiler.png
   :link: ../recipes/recipes/profiler_recipe.html
   :tags: Basics

.. customcarditem::
   :header: PyTorch Profiler with Instrumentation and Tracing Technology API (ITT API) support
   :card_description: Learn how to use PyTorch's profiler with Instrumentation and Tracing Technology API (ITT API) to visualize operators labeling in Intelยฎ VTuneโ„ข Profiler GUI
   :image: ../_static/img/thumbnails/cropped/profiler.png
   :link: ../recipes/profile_with_itt.html
   :tags: Basics

.. customcarditem::
   :header: Torch Compile IPEX Backend
   :card_description: Learn how to use torch.compile IPEX backend
   :image: ../_static/img/thumbnails/cropped/generic-pytorch-logo.png
   :link: ../recipes/torch_compile_backend_ipex.html
   :tags: Basics

.. customcarditem::
   :header: PyTorch์˜ Shape์— ๋Œ€ํ•œ ์ถ”๋ก 
   :card_description: meta ๋””๋ฐ”์ด์Šค๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๋ชจ๋ธ์˜ shape์„ ์ถ”๋ก ํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ์•Œ์•„๋ด…๋‹ˆ๋‹ค.
   :image: ../_static/img/thumbnails/cropped/generic-pytorch-logo.png
   :link: ../recipes/recipes/reasoning_about_shapes.html
   :tags: Basics

.. customcarditem::
   :header: Tips for Loading an nn.Module from a Checkpoint
   :card_description: Learn tips for loading an nn.Module from a checkpoint.
   :image: ../_static/img/thumbnails/cropped/generic-pytorch-logo.png
   :link: ../recipes/recipes/module_load_state_dict_tips.html
   :tags: Basics

.. customcarditem::
   :header: (beta) Using TORCH_LOGS to observe torch.compile
   :card_description: Learn how to use the torch logging APIs to observe the compilation process.
   :image: ../_static/img/thumbnails/cropped/generic-pytorch-logo.png
   :link: ../recipes/torch_logs.html
   :tags: Basics

.. customcarditem::
   :header: Extension points in nn.Module for loading state_dict and tensor subclasses
   :card_description: New extension points in nn.Module.
   :image: ../_static/img/thumbnails/cropped/generic-pytorch-logo.png
   :link: ../recipes/recipes/swap_tensors.html
   :tags: Basics


.. customcarditem::
   :header: ์‚ฌ์šฉ์ž ์ •์˜ ๋ฐ์ดํ„ฐ์…‹, Transforms & DataLoader
   :card_description: PyTorch ๋ฐ์ดํ„ฐ์…‹ API๋ฅผ ์ด์šฉํ•˜์—ฌ ์–ด๋–ป๊ฒŒ ์‰ฝ๊ฒŒ ์‚ฌ์šฉ์ž ์ •์˜ ๋ฐ์ดํ„ฐ์…‹๊ณผ dataloader๋ฅผ ๋งŒ๋“œ๋Š”์ง€ ์•Œ์•„๋ด…๋‹ˆ๋‹ค.
   :image: ../_static/img/thumbnails/cropped/custom-datasets-transforms-and-dataloaders.png
   :link: ../recipes/recipes/custom_dataset_transforms_loader.html
   :tags: Data-Customization

.. customcarditem::
   :header: Captum์„ ์‚ฌ์šฉํ•˜์—ฌ ๋ชจ๋ธ ํ•ด์„ํ•˜๊ธฐ
   :card_description: Captum์„ ์‚ฌ์šฉํ•˜์—ฌ ์ด๋ฏธ์ง€ ๋ถ„๋ฅ˜๊ธฐ์˜ ์˜ˆ์ธก์„ ํ•ด๋‹น ์ด๋ฏธ์ง€์˜ ํŠน์ง•(features)์— ์‚ฌ์šฉํ•˜๊ณ  ์†์„ฑ(attribution) ๊ฒฐ๊ณผ๋ฅผ ์‹œ๊ฐํ™” ํ•˜๋Š”๋ฐ ์‚ฌ์šฉํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ํ•™์Šตํ•ฉ๋‹ˆ๋‹ค.
   :image: ../_static/img/thumbnails/cropped/model-interpretability-using-captum.png
   :link: ../recipes/recipes/Captum_Recipe.html
   :tags: Interpretability,Captum

.. customcarditem::
   :header: PyTorch๋กœ TensorBoard ์‚ฌ์šฉํ•˜๊ธฐ
   :card_description: PyTorch๋กœ TensorBoard๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ๊ธฐ๋ณธ ๋ฐฉ๋ฒ•๊ณผ TensorBoard UI์—์„œ ๋ฐ์ดํ„ฐ๋ฅผ ์‹œ๊ฐํ™”ํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ์•Œ์•„๋ด…๋‹ˆ๋‹ค.
   :image: ../_static/img/thumbnails/tensorboard_scalars.png
   :link: ../recipes/recipes/tensorboard_with_pytorch.html
   :tags: Visualization,TensorBoard

.. customcarditem::
   :header: Dynamic Quantization
   :card_description:  Apply dynamic quantization to a simple LSTM model.
   :image: ../_static/img/thumbnails/cropped/using-dynamic-post-training-quantization.png
   :link: ../recipes/recipes/dynamic_quantization.html
   :tags: Quantization,Text,Model-Optimization


.. customcarditem::
   :header: TorchScript๋กœ ๋ฐฐํฌํ•˜๊ธฐ
   :card_description: ํ•™์Šต๋œ ๋ชจ๋ธ์„ TorchScript ํ˜•์‹์œผ๋กœ ๋‚ด๋ณด๋‚ด๋Š” ๋ฐฉ๋ฒ•๊ณผ TorchScript ๋ชจ๋ธ์„ C++๋กœ ๋ถˆ๋Ÿฌ์˜ค๊ณ  ์ถ”๋ก ํ•˜๋Š” ๋ฐฉ๋ฒ•์— ๋Œ€ํ•ด ์•Œ์•„๋ด…๋‹ˆ๋‹ค.
   :image: ../_static/img/thumbnails/cropped/torchscript_overview.png
   :link: ../recipes/torchscript_inference.html
   :tags: TorchScript

.. customcarditem::
   :header: Flask๋กœ ๋ฐฐํฌํ•˜๊ธฐ
   :card_description: ๊ฒฝ๋Ÿ‰ ์›น์„œ๋ฒ„ Flask๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ํ•™์Šต๋œ PyTorch Model์„ Web API๋กœ ๋น ๋ฅด๊ฒŒ ๋งŒ๋“œ๋Š” ๋ฐฉ๋ฒ•์„ ์•Œ์•„๋ด…๋‹ˆ๋‹ค.
   :image: ../_static/img/thumbnails/cropped/using-flask-create-restful-api.png
   :link: ../recipes/deployment_with_flask.html
   :tags: Production,TorchScript

.. customcarditem::
   :header: PyTorch ๋ชจ๋ฐ”์ผ ์„ฑ๋Šฅ ๋ ˆ์‹œํ”ผ
   :card_description: ๋ชจ๋ฐ”์ผ(Android์™€ iOS) ์ƒ์—์„œ PyTorch๋ฅผ ์‚ฌ์šฉํ•˜๊ธฐ ์œ„ํ•œ ์„ฑ๋Šฅ ์ตœ์ ํ™” ๋ ˆ์‹œํ”ผ ๋ชฉ๋ก๋“ค.
   :image: ../_static/img/thumbnails/cropped/mobile.png
   :link: ../recipes/mobile_perf.html
   :tags: Mobile,Model-Optimization

.. customcarditem::
   :header: PyTorch ์‚ฌ์ „ ๋นŒ๋“œ๋œ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ๋„ค์ดํ‹ฐ๋ธŒ Android ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜ ๋งŒ๋“ค๊ธฐ
   :card_description: LibTorch C++ API์™€ ์‚ฌ์šฉ์ž ์ง€์ • C++ ์—ฐ์‚ฐ์ž๋ฅผ ๊ฐ€์ง€๋Š” TorchScript๋ฅผ ์‚ฌ์šฉํ•ด์„œ Android ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์„ ์ฒ˜์Œ๋ถ€ํ„ฐ ๋งŒ๋“œ๋Š” ๋ฐฉ๋ฒ•์„ ์•Œ์•„๋ด…๋‹ˆ๋‹ค.
   :image: ../_static/img/thumbnails/cropped/android.png
   :link: ../recipes/android_native_app_with_custom_op.html
   :tags: Mobile

.. customcarditem::
  :header: Fuse Modules recipe
  :card_description: Learn how to fuse a list of PyTorch modules into a single module to reduce the model size before quantization.
  :image: ../_static/img/thumbnails/cropped/mobile.png
  :link: ../recipes/fuse.html
  :tags: Mobile

.. customcarditem::
  :header: Quantization for Mobile Recipe
  :card_description: Learn how to reduce the model size and make it run faster without losing much on accuracy.
  :image: ../_static/img/thumbnails/cropped/mobile.png
  :link: ../recipes/quantization.html
  :tags: Mobile,Quantization

.. customcarditem::
  :header: Script and Optimize for Mobile
  :card_description: Learn how to convert the model to TorchScipt and (optional) optimize it for mobile apps.
  :image: ../_static/img/thumbnails/cropped/mobile.png
  :link: ../recipes/script_optimized.html
  :tags: Mobile

.. customcarditem::
  :header: Model Preparation for iOS Recipe
  :card_description: Learn how to add the model in an iOS project and use PyTorch pod for iOS.
  :image: ../_static/img/thumbnails/cropped/ios.png
  :link: ../recipes/model_preparation_ios.html
  :tags: Mobile

.. customcarditem::
  :header: Model Preparation for Android Recipe
  :card_description: Learn how to add the model in an Android project and use the PyTorch library for Android.
  :image: ../_static/img/thumbnails/cropped/android.png
  :link: ../recipes/model_preparation_android.html
  :tags: Mobile

.. customcarditem::
   :header: Mobile Interpreter Workflow in Android and iOS
   :card_description: Learn how to use the mobile interpreter on iOS and Andriod devices.
   :image: ../_static/img/thumbnails/cropped/mobile.png
   :link: ../recipes/mobile_interpreter.html
   :tags: Mobile

.. customcarditem::
   :header: Profiling PyTorch RPC-Based Workloads
   :card_description: How to use the PyTorch profiler to profile RPC-based workloads.
   :image: ../_static/img/thumbnails/cropped/profile.png
   :link: ../recipes/distributed_rpc_profiling.html
   :tags: Production

.. customcarditem::
   :header: Automatic Mixed Precision
   :card_description: Use torch.cuda.amp to reduce runtime and save memory on NVIDIA GPUs.
   :image: ../_static/img/thumbnails/cropped/amp.png
   :link: ../recipes/recipes/amp_recipe.html
   :tags: Model-Optimization

.. customcarditem::
   :header: Performance Tuning Guide
   :card_description: Tips for achieving optimal performance.
   :image: ../_static/img/thumbnails/cropped/profiler.png
   :link: ../recipes/recipes/tuning_guide.html
   :tags: Model-Optimization

.. customcarditem::
   :header: PyTorch Inference Performance Tuning on AWS Graviton Processors
   :card_description: Tips for achieving the best inference performance on AWS Graviton CPUs
   :image: ../_static/img/thumbnails/cropped/generic-pytorch-logo.png
   :link: ../recipes/inference_tuning_on_aws_graviton.html
   :tags: Model-Optimization

.. customcarditem::
   :header: Leverage Intelยฎ Advanced Matrix Extensions
   :card_description: Learn to leverage Intelยฎ Advanced Matrix Extensions.
   :image: ../_static/img/thumbnails/cropped/generic-pytorch-logo.png
   :link: ../recipes/amx.html
   :tags: Model-Optimization

.. customcarditem::
   :header: (beta) Compiling the Optimizer with torch.compile
   :card_description: Speed up the optimizer using torch.compile
   :image: ../_static/img/thumbnails/cropped/generic-pytorch-logo.png
   :link: ../recipes/compiling_optimizer.html
   :tags: Model-Optimization

.. customcarditem::
   :header: (beta) Running the compiled optimizer with an LR Scheduler
   :card_description: Speed up training with LRScheduler and torch.compiled optimizer
   :image: ../_static/img/thumbnails/cropped/generic-pytorch-logo.png
   :link: ../recipes/compiling_optimizer_lr_scheduler.html
   :tags: Model-Optimization

.. customcarditem::
   :header: Using User-Defined Triton Kernels with ``torch.compile``
   :card_description: Learn how to use user-defined kernels with ``torch.compile``
   :image: ../_static/img/thumbnails/cropped/generic-pytorch-logo.png
   :link: ../recipes/torch_compile_user_defined_triton_kernel_tutorial.html
   :tags: Model-Optimization

.. customcarditem::
   :header: Intelยฎ Extension for PyTorch*
   :card_description: Introduction of Intelยฎ Extension for PyTorch*
   :image: ../_static/img/thumbnails/cropped/profiler.png
   :link: ../recipes/intel_extension_for_pytorch.html
   :tags: Model-Optimization

.. customcarditem::
   :header: Intelยฎ Neural Compressor for PyTorch
   :card_description: Ease-of-use quantization for PyTorch with Intelยฎ Neural Compressor.
   :image: ../_static/img/thumbnails/cropped/profiler.png
   :link: ../recipes/intel_neural_compressor_for_pytorch.html
   :tags: Quantization,Model-Optimization

.. customcarditem::
   :header: Getting Started with DeviceMesh
   :card_description: Learn how to use DeviceMesh
   :image: ../_static/img/thumbnails/cropped/profiler.png
   :link: ../recipes/distributed_device_mesh.html
   :tags: Distributed-Training

.. customcarditem::
   :header: Shard Optimizer States with ZeroRedundancyOptimizer
   :card_description: How to use ZeroRedundancyOptimizer to reduce memory consumption.
   :image: ../_static/img/thumbnails/cropped/profiler.png
   :link: ../recipes/zero_redundancy_optimizer.html
   :tags: Distributed-Training

.. customcarditem::
   :header: Direct Device-to-Device Communication with TensorPipe RPC
   :card_description: How to use RPC with direct GPU-to-GPU communication.
   :image: ../_static/img/thumbnails/cropped/profiler.png
   :link: ../recipes/cuda_rpc.html
   :tags: Distributed-Training

.. customcarditem::
   :header: Distributed Optimizer with TorchScript support
   :card_description: How to enable TorchScript support for Distributed Optimizer.
   :image: ../_static/img/thumbnails/cropped/profiler.png
   :link: ../recipes/distributed_optim_torchscript.html
   :tags: Distributed-Training,TorchScript

.. customcarditem::
   :header: Getting Started with Distributed Checkpoint (DCP)
   :card_description: Learn how to checkpoint distributed models with Distributed Checkpoint package.
   :image: ../_static/img/thumbnails/cropped/Getting-Started-with-DCP.png
   :link: ../recipes/distributed_checkpoint_recipe.html
   :tags: Distributed-Training

.. customcarditem::
   :header: Deploying a PyTorch Stable Diffusion model as a Vertex AI Endpoint
   :card_description: Learn how to deploy model in Vertex AI with TorchServe
   :image: ../_static/img/thumbnails/cropped/generic-pytorch-logo.png
   :link: ../recipes/torchserve_vertexai_tutorial.html
   :tags: Production

.. toctree::
   :hidden:

   /recipes/recipes/loading_data_recipe
   /recipes/recipes/defining_a_neural_network
   /recipes/torch_logs
   /recipes/recipes/what_is_state_dict
   /recipes/recipes/saving_and_loading_models_for_inference
   /recipes/recipes/saving_and_loading_a_general_checkpoint
   /recipes/recipes/saving_multiple_models_in_one_file
   /recipes/recipes/warmstarting_model_using_parameters_from_a_different_model
   /recipes/recipes/save_load_across_devices
   /recipes/recipes/zeroing_out_gradients
   /recipes/recipes/profiler_recipe
   /recipes/recipes/profile_with_itt
   /recipes/recipes/Captum_Recipe
   /recipes/recipes/tensorboard_with_pytorch
   /recipes/recipes/dynamic_quantization
   /recipes/recipes/amp_recipe
   /recipes/recipes/tuning_guide
   /recipes/recipes/intel_extension_for_pytorch
   /recipes/compiling_optimizer
   /recipes/torch_compile_backend_ipex
   /recipes/torchscript_inference
   /recipes/deployment_with_flask
   /recipes/distributed_rpc_profiling
   /recipes/zero_redundancy_optimizer
   /recipes/cuda_rpc
   /recipes/distributed_optim_torchscript
   /recipes/mobile_interpreter