PyTorch เวอร์ชัน 1.4.0 ออกแล้ว ใน Release นี้จะเป็นการเน้นพัฒนาในส่วน JIT, ONNX, Distributed, Performance และ Eager Frontend เป็นหลัก

ในส่วน Experimental มีการพัฒนาปรับปรุงในหลายเรื่อง Mobile และ Quantization รวมถึง Experimental Feature ใหม่ เช่น RPC-Based Model Parallel Distributed Training และ Language Bindings สำหรับภาษา Java (Inference เท่านั้น)

PyTorch 1.4.0 Highlights

  • PyTorch Mobile – Build level customization – นักพัฒนาแอปพลิเคชันบนมือถือ สามารถ Customize Build Scripts ได้อย่างละเอียด ทำให้ Optimize ลดขนาด Library เช่น MobileNetV2 ลงไปถึง 40-50%
  • Distributed Model Parallel Training [Experimental] – Release นี้สนับสนุกการเทรนโมเดลแบบ Distributed Model Parallel Training ทำให้สามารถทำงานระยะไกล อ้างอิง Remote Object โดยที่ไม่ต้องคัดลอกข้อมูลจริงไปมา
  • Java bindings [Experimental] – นอกเหนือจาก Python และ C++, Release นี้จะสนับสนุน Java bindings โดยใช้ interface ที่พัฒนาสำหรับ Android ใน PyTorch Mobile, การ binding นี้ทำให้เราสามารถเรียกใช้ TorchScript models จาก Java program ได้
  • Pruning – ฟังก์ชันการ Pruning ถูกเพิ่มในโมดูล nn.utils.prune ทำให้เราสามารถใช้เทคนิค Magnitude-based และ Random pruning, ทั้ง Structured และ Unstructured, ทั้ง Layer-wise และ Global, และสามารถใช้ User-Provided Masks ทำ Custom Pruning ได้อีกด้วย

Credit

แชร์ให้เพื่อน:

Surapong Kanoktipsatharporn on FacebookSurapong Kanoktipsatharporn on LinkedinSurapong Kanoktipsatharporn on Rss
Surapong Kanoktipsatharporn
Solutions Architect at Bua Labs
The ultimate test of your knowledge is your capacity to convey it to another.

Published by Surapong Kanoktipsatharporn

The ultimate test of your knowledge is your capacity to convey it to another.