-
Couldn't load subscription status.
- Fork 282
recipe_source/torch_export_challenges_solutions.rst 번역 #1036
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
base: master
Are you sure you want to change the base?
Conversation
|
graph break 를 아예 그래프 분리 (graph break) 이런 식으로 번역하는 것은 어떨까요? 원래 영단어를 사용하셨는데, 의견만 여쭤봅니다! |
|
리뷰 너무 감사합니다 참고해서 수정했습니다 ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
긴 문서 번역하시느라 고생 많으셨습니다. 리뷰 내용 검토 요청드립니다.
| @@ -1,60 +1,57 @@ | |||
| Demonstration of torch.export flow, common challenges and the solutions to address them | |||
| ======================================================================================= | |||
| **Authors:** `Ankith Gunapal <https://github.com/agunapal>`__, `Jordi Ramon <https://github.com/JordiFB>`__, `Marcos Carranza <https://github.com/macarran>`__ | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
다른 분들이 작업하신 내용 참조하여 저자 및 번역자의 이름을 기입해 주세요.
|
|
||
| In the `Introduction to torch.export Tutorial <https://tutorials.pytorch.kr/intermediate/torch_export_tutorial.html>`__ , we learned how to use `torch.export <https://pytorch.org/docs/stable/export.html>`__. | ||
| This tutorial expands on the previous one and explores the process of exporting popular models with code, as well as addresses common challenges that may arise with ``torch.export``. | ||
| `Introduction to torch.export Tutorial <https://tutorials.pytorch.kr/intermediate/torch_export_tutorial.html>`__ 에서, `torch.export <https://pytorch.org/docs/stable/export.html>`__ 할수 있는 방법을 배울 수 있습니다. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
앞선 튜토리얼을 읽으면 본 튜토리얼을 읽는 데 도움이 된다는 의미로 해석되어 아래와 같이 수정 제안 드립니다.
할 수 있는 방법을 배울 수 있습니다. -> 를 사용하는 방법을 배웠습니다.
| PyTorch eager execution. The only difference is that all ``Tensor`` objects will be replaced by ``ProxyTensors``, which will record all their operations into | ||
| a graph. By using ``strict=False``, we are able to export the program. | ||
| 위의 에러를 해결하기 위해, ``torch.export``는 Python 인터프리터를 사용해 프로그램을 트레이싱하는 ``non_strict`` 모드를 제공하며, 이는 PyTorch eager 실행과 유사하게 동작합니다. | ||
| 유일한 차이점은 모든 ``Tensor`` 객체가 ``ProxyTensors``로 대체 되며, 이는 모든 연산이 그래프에 기록된다는 것입니다. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
띄어쓰기 교정 요청 드립니다.
대체 되며 -> 대체되며
| ``torch.export`` lists the common cases of supported and unsupported operations in `ExportDB <https://pytorch.org/docs/main/generated/exportdb/index.html>`__ and shows how you can modify your code to make it export compatible. | ||
| 모델을 내보낼 때, 모델 구현에서 ``torch.export`` 에서 아직 지원하지 않는 특정 Python 연산이 포함이 될 수 있기 때문에 실패할 수 있습니다. | ||
| 이 실패 사례들 중 일부는 해결 방법이 있을 수 있습니다. BLIP는 원래 모델에서 오류가 발생하는 예시이지만, 코드에 작은 수정을 가하면 해결할 수 있습니다. | ||
| ``torch.export``는 `ExportDB <https://pytorch.org/docs/main/generated/exportdb/index.html>`__ 에서 지원되는 연산과 지원되지 않는 연산의 일반적인 사례들을 나열하고, 코드에서 내보낼 수 있도록 수정하는 방법을 보여줍니다. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수동형으로 작성된 문장이 수정되면 좋을 것 같습니다.
지원되는 연산과 지원되지 않는 연산 -> 지원하는 연산과 지원하지 않는 연산
| which means that the entire model or part of the model that you are exporting needs to be a single graph. This is because handling graph breaks | ||
| involves interpreting the unsupported operation with default Python evaluation, which is incompatible with what ``torch.export`` is | ||
| designed for. You can read details about the differences between the various PyTorch frameworks in this `link <https://pytorch.org/docs/main/export.html#existing-frameworks>`__ | ||
| ``torch.export``와 ``torch.compile``의 주요한 차이점 중 하나는 ``torch.export``는 그래프 분절(graph breaks)을 지원하지 않는다는 것입니다. 즉, 내보내려는 전체 모델 또는 모델의 일부는 단일 그래프 형태여야 합니다. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
L23에서 이미 그래프 분절에 대한 번역 및 영문 병기를 해주었기 때문에 뒤에서도 계속 병기할 필요는 없을 것 같습니다.
L33, 36, 42, ... 부분에 계속 나오네요.
라이선스 동의
변경해주시는 내용에 BSD 3항 라이선스가 적용됨을 동의해주셔야 합니다.
더 자세한 내용은 기여하기 문서를 참고해주세요.
동의하시면 아래
[ ]를[x]로 만들어주세요.관련 이슈 번호
PR 종류
이 PR에 해당되는 종류 앞의
[ ]을[x]로 변경해주세요.PR 설명
torch_export_challenges_solutions.rst 파일 번역