Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
TorchServeからFastAPIにした話
Search
xthixsl_ml
December 11, 2025
51
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
TorchServeからFastAPIにした話
xthixsl_ml
December 11, 2025
More Decks by xthixsl_ml
See All by xthixsl_ml
Amazon Bedrock AgentCore Identity Deep Dive
xthixsl_ml
2
50
State-Aware RAGをAmazon Bedrock とAmazon S3 Vectorsで再現してみた
xthixsl_ml
1
76
制限付きRAGを試してみた
xthixsl_ml
0
42
MLモデル実装にStrategy パターンを導入してみた
xthixsl_ml
0
150
Vibe ML Model Training, Tracking and Kaizen
xthixsl_ml
0
64
Strands Agents Evals SDK 試してみた ~ Experiment Generator編 ~
xthixsl_ml
0
58
全部をAIエージェントにしない設計: AWS Step Functions × Amazon Bedrock AgentCore × Strands Agents Multiagent Graphで不確実性を考慮するワークフロー
xthixsl_ml
0
310
BentoML使ってみた
xthixsl_ml
0
100
社内AIハッカソンでAmazon Bedrock AgentCore 使ってみた
xthixsl_ml
2
260
Featured
See All Featured
How to Ace a Technical Interview
jacobian
280
24k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
58k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
470
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
4
4.4k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
Large-scale JavaScript Application Architecture
addyosmani
516
110k
Building AI with AI
inesmontani
PRO
1
1.3k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.6k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
450
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
350
Google's AI Overviews - The New Search
badams
0
1.6k
Transcript
©Fusic Co., Ltd. 0 TorchServeからFastAPIにした話 2025.12.12 佐藤 礼央奈 X: @xthixsl_ml
福岡Tech LT大忘年会
©Fusic Co., Ltd. 1 自己紹介 はじめに 佐藤 礼央奈 R E
O N A S AT O 株式会社Fusic エンジニア 東京の大学を卒業。在学中にエンジニアとして3社で約2年半の長期イン ターンを経験。機械学習や生成AIの研究開発に携わる中で、MLモデルの 本番運用に興味を持ちMLOpsに関心を深める。生成AIも取り入れた開発 や、AWSパートナー企業での経験から、同領域に強みを持つFusicに魅力 を感じ、2025年に新卒入社。
©Fusic Co., Ltd. 2 1. 背景 2. 対策
©Fusic Co., Ltd. 3 背景 1
©Fusic Co., Ltd. 4 1. 背景 サブタイトル SageMaker Docker Image
+ Endpoint NVIDIA NGC イメージ (nvcr.io) TorchServe がメンテ終了 & バージョン問題 FastAPI で自前実装 amd端末で推論コンテナ立ち上げ、追加でarm端末での 対応が必要に arm端末の制約、DLモデルの変更が発生、Pythonの バージョンをアップグレード 3.8から3.12へ Serve系のライブラリの検討 ※Serveとはモデルを推論APIとしてを提供することを指します
©Fusic Co., Ltd. 5 対策 2
©Fusic Co., Ltd. 6 2. 対策 サブタイトル • SageMakerのエンドポイント仕様に合わせている実装でした。 •
GET /ping - ヘルスチェック(コンテナが正常かどうか) • POST /invocations - 推論リクエストを受け付ける • Triton Inference Server → 高性能だが導入・運用が複雑 • BentoML → 便利だが追加の依存が増える • FastAPI → シンプル、依存が少ない → /ping と /invocations だけなら十分 TorchServe が Limited Maintenance になったので移行するサービングライブラリを検討した https://buildersbox.corp-sansan.com/entry/2025/03/26/100000 参照:
©Fusic Co., Ltd. 7 2. 対策 サブタイトル • SageMakerのエンドポイント仕様に合わせている実装でした。 •
GET /ping - ヘルスチェック(コンテナが正常かどうか) • POST /invocations - 推論リクエストを受け付ける • Triton Inference Server → 高性能だが導入・運用が複雑 • BentoML → 便利だが追加の依存が増える • FastAPI → シンプル、依存が少ない → /ping と /invocations だけなら十分 TorchServe が Limited Maintenance になったので移行するサービングライブラリを検討した https://buildersbox.corp-sansan.com/entry/2025/03/26/100000 参照: FastAPI 採用
©Fusic Co., Ltd. 8 Thank You We are Hiring! https://recruit.fusic.co.jp/
ご清聴いただきありがとうございました