Skip to content

backend_config_tutorial.rst 번역 - #909

Merged
hyoyoung merged 4 commits into
PyTorchKR:masterfrom
jason9865:translation-backend_config_tutorial
Oct 15, 2024
Merged

backend_config_tutorial.rst 번역#909
hyoyoung merged 4 commits into
PyTorchKR:masterfrom
jason9865:translation-backend_config_tutorial

Conversation

@jason9865

@jason9865 jason9865 commented Sep 1, 2024

Copy link
Copy Markdown
Contributor

라이선스 동의

변경해주시는 내용에 BSD 3항 라이선스가 적용됨을 동의해주셔야 합니다.

더 자세한 내용은 기여하기 문서를 참고해주세요.

동의하시면 아래 [ ][x]로 만들어주세요.

  • 기여하기 문서를 확인하였으며, 본 PR 내용에 BSD 3항 라이선스가 적용됨에 동의합니다.

관련 이슈 번호

이 Pull Request와 관련있는 이슈 번호를 적어주세요.

이슈 또는 PR 번호 앞에 #을 붙이시면 제목을 바로 확인하실 수 있습니다. (예. #999 )

PR 종류

이 PR에 해당되는 종류 앞의 [ ][x]로 변경해주세요.

  • 오탈자를 수정하거나 번역을 개선하는 기여
  • 번역되지 않은 튜토리얼을 번역하는 기여
  • 공식 튜토리얼 내용을 반영하는 기여
  • 위 종류에 포함되지 않는 기여

PR 설명

이 PR로 무엇이 달라지는지 대략적으로 알려주세요.

  • prototype_source의 backend_config_tutorial.rst를 번역하였습니다.

@uddk6215 uddk6215 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

저도 번역 작업을 하는 과정에서 영문에서 한글로 옮길 때 어색한 부분이 생기는 경우가 많았는데,
그 부분을 신경 많이 쓰신 거 같습니다. 잘 읽었습니다.:)

before and after the float linear op, such that we produce the following
reference model::
양자화된 선형연산자를 위해 백엔드 환경에서는 `[dequant - fp32_linear - quant]` 참조 패턴을
하나의 양자화된 선형 연산자로 변환하여 사용한다고 가정합시다.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"~ 양자화된 단일 선형 연산자로 축소하여 ~"가 좀 더 정확한 표현일 거 같습니다.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

제시해주신 대안이 더 정확한 표현인 것 같습니다. 피드백 주셔서 감사합니다!

@hyoyoung hyoyoung left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

긴문서 번역하느라 수고하셨습니다
전반적으로 잘되어있는데 몇가지 수정 사항이 필요합니다
확인해보시고, 필요한경우 반영 부탁드립니다

@@ -2,20 +2,19 @@
==========================================
**Author**: `Andrew Or <https://github.com/andrewor14>`_

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

번역자 정보 추가 부탁드립니다

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수정완료하였습니다!

초기 사용자 모델에서는 합성곱 연산자와 ReLU 연산자가 분리되어 있습니다.
따라서 먼저 합성곱 연산자와 ReLU 연산자를 결합하여 하나의 합성곱-ReLU연산자를 만든 후
선형 연산자를 양자화한 것과 유사하게 합성곱-ReLU 연산자를 양자화를 진행합니다.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이 줄의 공백은 제거해도 좋을거 같습니다

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can set up fusion by defining a function that accepts
3 arguments, where the first is whether or not this is for QAT, and the
remaining arguments refer to the individual items of the fused pattern.

이 부분에 대한 번역이 없는거 같습니다

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수정완료하였습니다!

This is commonly the case for weighted ops like linear and conv.
이제 필요한 것은 모두 준비가 되었으니 BackendConfig를 정의해봅시다.
선형 연산자의 입력값과 출력값에 대해 서로 다른 observer(명칭은 추후 변경 예정)를 사용합니다.
이를 통해 양자화 파라미터가 서로 다른 양자화 연산자(quant1과 quant2)를 거치며

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TRANSLATION_GUIDE.md 보시면 parameter는 매개변수로 번역하라고 권유하고 있습니다

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수정완료하였습니다!

@jason9865
jason9865 requested a review from hyoyoung September 26, 2024 15:09
quantization in the future. In this tutorial, we will demonstrate how to
use this API to customize quantization support for specific backends.
For more information on the motivation and implementation details behind
BackendConfig, please refer to this

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

번역정보를 넣어서 좋아졌는데
이번엔 저자 정보가 빠졌습니다
추가 부탁드립니다

.set_backend_pattern_config(fused_conv_relu_config)

5. Set up QConfigMapping that satisfies the backend constraints
5. 백엔드 환경 제약조건을 충족하기 위해 QConfigMapping 설정하기

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

백엔드 환경 제약조건을 만족시키는 QConfigMapping 설정하기

요정도로 바꿔보는건 어떨까요

@hyoyoung hyoyoung left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good

@hyoyoung
hyoyoung requested a review from 9bow October 6, 2024 15:40
@hyoyoung
hyoyoung merged commit 2f5c892 into PyTorchKR:master Oct 15, 2024
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.

4 participants