快轉到主要內容

Notes

Compiling Neuron model

·1310 字
This post is a step-by-step tutorial on compiling PyTorch models for AWS Neuron (Inf2) chips, focusing on BlipForQuestionAnswering. It covers model wrapping, tracing, inference, and practical code examples for deployment.

WebSocket

·287 字
本篇以生活化比喻說明 HTTP 輪詢、長輪詢、串流、SSE 及 WebSocket 的通訊方式與差異,並介紹協定升級流程與常見應用。