본문 바로가기
AI · 인공지능/AI 뉴스

이미지 생성 AI에서도 사용되는 AI 라이브러리「PyTorch」의 메이저 업데이트판「PyTorch 2.0」 정식 릴리즈

by 두우우부 2023. 3. 20.
반응형


Python용 기계 학습 라이브러리「PyTorch」의 버전 2.0이 정식 릴리즈 되었습니다. PyTorch 2.0은 역호환성을 유지하면서 처리 속도가 크게 향상되었습니다.

PyTorch 2.0: Our next generation release that is faster, more Pythonic and Dynamic as ever | PyTorch
https://pytorch.org/blog/pytorch-2.0-release/

PyTorch

An open source machine learning framework that accelerates the path from research prototyping to production deployment.

pytorch.org

Release PyTorch 2.0: Our next more Dynamic as ever · pytorch/pytorch · GitHub
https://github.com/pytorch/pytorch/releases/tag/v2.0.0

Release PyTorch 2.0: Our next generation release that is faster, more Pythonic and Dynamic as ever · pytorch/pytorch

PyTorch 2.0 Release notes Highlights Backwards Incompatible Changes Deprecations New Features Improvements Bug fixes Performance Documentation Highlights We are excited to announce the release of...

github.com



PyTorch는 오픈 소스로 개발된 Python용 기계 학습 라이브러리로 수많은 AI 프로젝트에서 채택되었습니다. 
PyTorch의 초기 개발은 Meta가 담당했지만, 2022년 9월에는 Meta와 PyTorch 프로젝트가 독립적으로 Linux Foundation에서 관리됩니다.



관리 체제 변경 후에도 PyTorch의 개발은 진행되고 있으며, 2023년 3월 15일에는 PyTorch 2.0이 정식 릴리즈 되었습니다. 개발팀은 "후방 호환성 100% 유지", "도입 즉시 성능 향상", "대폭적 성능 향상"을 어필하고 있습니다.

PyTorch 2.0의 주요 개선점은 다음과 같습니다.
・새로운 컴파일러「torch.compile」에 의한 학습 시간 고속화
・「TorchInductor」에 의해 GPU나 CPU의 종류에 맞추어 최적의 처리 가능
・「Accelerated Transformers(구:Better Transformer)」의 안정판을 탑재
・Apple의 "Metal Performance Shaders"에 대응하여 Mac에서의 GPU 가속 지원
・Amazon Web Services(AWS)의 "AWS Graviton"의 추론 성능 향상

또한, PyTorch 2.0은 Windows, macOS, Linux에서 사용할 수 있으며, 환경별 설치 방법은 다음 페이지에 정리되어 있습니다.

Start Locally | PyTorch
https://pytorch.org/get-started/

Redirecting…

pytorch.org

 

반응형