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
mlflowをwindowsで起動するのはめんどくさい
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Aipa
March 15, 2019
Technology
1.4k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
mlflowをwindowsで起動するのはめんどくさい
データ分析チャンプルー val.1@琉球大学で発表してきた
https://nobdata.connpass.com/event/122314/
Aipa
March 15, 2019
More Decks by Aipa
See All by Aipa
でーじいまさらReactを学ぶ
commander_aipa
0
13
「絶対に無理」を「ちょっと無理」にするAI活用術
commander_aipa
0
110
Amazon Connect で文字起こしする
commander_aipa
0
50
Devinと電話する
commander_aipa
0
53
Gemini CLI x gcloud CLI x Chrome DevTools MCP で、Google Cloudに乗っているアプリケーションのバグFixをいい感じにする
commander_aipa
0
130
ピンチヒッターです。なにか話します
commander_aipa
0
180
おれたちはいつDXできるのか
commander_aipa
1
130
ウンケーニオキタコワイハナシ
commander_aipa
0
190
Nuxt3 Deeeeeeeeeeeeeeeeeeeeeploy
commander_aipa
0
240
Other Decks in Technology
See All in Technology
事業活動を AI Ready にする攻めと守りのデータエンジニアリング / data-engineering-for-ai-ready-business
pei0804
6
2.3k
使いこなすために知っておきたい Azure SRE Agent アンチパターン
torumakabe
2
430
AI駆動開発の時代になったのでトヨタ生産方式から見直す
terurou
6
5.5k
LLM機能を自作して分かるSnowflake Cortex AIの強み
nayuts
0
340
パッチ更新でterraform initが落ちた日
grimoh
1
100
予測不能な実行エージェントを安全にサクッと試せるサンドボックス環境の話
sansantech
PRO
0
140
オブザーバビリティを高める AI エージェント体験を考える / Designing AI Agent Experiences That Enhance Observability
aoto
PRO
2
320
SDDの運用にめげずに向き合った話
sansantech
PRO
1
140
「事実」を「計測」して、「解釈」する 〜AWS Lambdaのメモリ最適解の見つけ方〜
maimyyym
0
120
宣言型部分更新は何を解決しどこへ向かうのか
shuta13
0
200
自律型 AI をセキュアに実装!Gemini と MIG で作る動的コード実行環境
recruitengineers
PRO
1
230
ハードウェアコンペでもAI駆動開発が進んでいる話
iotengineer22
1
650
Featured
See All Featured
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
2
350
Discover your Explorer Soul
emna__ayadi
2
1.3k
The Cult of Friendly URLs
andyhume
79
7k
Bash Introduction
62gerente
615
220k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
370
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
470
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
530
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
33
5.1k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
440
Art, The Web, and Tiny UX
lynnandtonic
304
22k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
260
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
610
Transcript
σʔλੳͪΌΜΔʔ vol.1 ΞΠύʔୂ@ླྀٿେֶ
ࣗݾհ
ࣗݾհ • ΞΠύʔୂ(ࠓ 29) • ೋਲ͍Ͱ͢ • ͪΎΒσʔλגࣜձࣾ • PyData.OkinawaڞಉΦʔΨφΠβʔ
• ࡢ͔ΒϏʔϧ͕ݏ͍ʹͳΓ·ͨ͠
ࠂ
PyData.Okinawa #38 LTେձ https://pydataokinawa.connpass.com/event/121724/ ໌ 15:00 ~ 18:00 ॴླྀٿେֶʢҬੜ૯߹ݚڀ౩ʣ
͕͋Γ·͢ʂʂʢશһථʣ
ݱ࣌શһೖ֬ఆ ʢΑ͔ͬͨΒཔΉདྷͯ͘ΕཔΉʣ
΅͘͜Ε͔Β࡞Γ·͢ʂʂ ʢ͔ͩΒ҆৺ͯ͠དྷͯ͘Εʣ
͢લʹ
ຊεϥΠυͰಡΈͮΒ͍Լهϫʔυ͕Ͱ͖ͯ·͢ • fcntl • WSGI • Gunicorn
ຊεϥΠυͰ͜͏ݺͼ·͢ • fcntl → ͑;͜ΜͱΖʔΔ • WSGI → ͏͌ͣ͗ʔ •
Gunicorn → ͙ʹ͜ʔΜ
ຊεϥΠυͰ͜͏ݺͼ·͢ • fcntl → ͑;͜ΜͱΖʔΔ • WSGI → ͏͑͗͢ •
Gunicorn → ͙ʹ͜ʔΜ https://twitter.com/moon_in_nagano/status/1001315017273167872
ຊεϥΠυͰ͜͏ݺͼ·͢ • fcntl → ͑;͜ΜͱΖʔΔ • WSGI → ͏͑͗͢ •
Gunicorn → ͙ʹ͜ʔΜ https://twitter.com/moon_in_nagano/status/1001315017273167872
ຊ͓͢Δ͜ͱ
ຊ͓͢Δ͜ͱ
mlflowྑͦ͞͏ https://qiita.com/ike_dai/items/3121a8cc8398c6ec6a33
͔͠͠ࠓճͷཁ݅ • Windows OS • HogeHogeFlow • FugaFuga-learn
͔͠͠ࠓճͷཁ݅ • Windows OS • HogeHogeFlow • FugaFuga-learn
do not support (´ʀωʀʆ)
֬ೝͯ͠ͳ͍͚ͩͰಈ͘Ͱ͠ΐʢͳ΄͡ʔ
(´ʀωʀʆ) GDOUM͕ͳ͍
WindowsͰfcntlಈ͔ͳ͍ https://stackoverflow.com/questions/1422368/fcntl-substitute-on-windows
WindowsͰfcntlಈ͔ͳ͍ https://stackoverflow.com/questions/1422368/fcntl-substitute-on-windows
Կނಈ͔ͳ͍͔ௐΔ
Τϥʔ͔ΒௐΔ
Τϥʔ͔ΒௐΔ https://github.com/benoitc/gunicorn/blob/master/gunicorn/util.py#L8
gunicornͰΤϥʔ͕ग़͍ͯΔΑ͏ͩ • gunicorn is Կʁ • Python༻ͷWSGI HTTP Server
gunicornΛwindowsͰ ಈ࡞͢ΔΑ͏ʹ मਖ਼͢Ε͍͍ͷͰ??!
Dead end. ×2
͓ʁʢ^ω^ = ^ω^ʣ
Dead end. ×3
Dead end. ×3
mlflow windowsͰ͑·ͤΜ
ɹ͏গ͠ؤுͬͯΈΔ
mlflowͷίʔυΛಡΉ HVOJDPSOΛ ىಈ͢Δͱ͜Ζ NMqPXTFSWFS Λ࣮ߦ͢ΔͱݺΕΔؔ https://github.com/mlflow/mlflow/blob/master/mlflow/server/__init__.py
mlflowͷίʔυΛಡΉ https://github.com/mlflow/mlflow/blob/master/mlflow/server/__init__.py 'MBTLͬͯΔ
ݟ͖͑ͯͨΞʔΩςΫνϟʢΠϯϑϥʣ
ݟ͖͑ͯͨΞʔΩςΫνϟʢαʔόʣ
WSGI͍Βͳ͍આ ᶃHVOJDPSOͷྶѹΛফ͢ ᶄ'MBTLΛىಈ͢Δ͚ͩ
վम͢Δ
mlflow/server/__init__.pyΛ Flask͕ىಈ͢ΔΑ͏मਖ਼ ͓·͡ͳ͍ ˞ىಈޙʹڥม͕ ͳ͍ͱΤϥʔʹͳΔ 'MBTLͷىಈίʔυ
ىಈͨ͠
ىಈͨ͠
·͊ͰFlask͚ͩ͡Ό Γͳ͍߹͕͋Δ
FlaskͷσϑΥϧτͰಉ࣌ΞΫηεΛॲཧͰ͖ͳ͍ https://qiita.com/5zm/items/251be97d2800bf67b1c6
ͳͥgunicornͳͲͷWSGIαʔόʔΛ͏ͷ͔ https://blog.hirokiky.org/entry/2018/10/06/151830
͠ຊ൪Քಇ͍ͤͨ͞ͳΒ Apache, NginxΛ͍͍ͨ
WindowsͰಈ࡞͢Δ WSGIΛ୳͢
͋ͬͨ https://docs.pylonsproject.org/projects/waitress/en/stable/
ΊͬͪΌ؆୯ͦ͏ https://docs.pylonsproject.org/projects/waitress/en/stable/usage.html
WSGIΛࠩ͠ସ͑Δઆ ᶃHVOJDPSOΛ XBJUSFTTมߋ͢Δ waitress
मਖ਼͢Δ
mlflow/server/__init__.py 'MBTLͷΦϒδΣΫτΛ XBJUSFTTʹ৯ΘͤΔ͚ͩ
ىಈͨ͠
ࡶײ
ࡶײ • mlflowwindowsͰಈ͔ͤΔ • શػೳςετͨ͠Θ͚Ͱͳ͍ͷͰϋϚΓͲ͜Ζ ·ͩ͋Γͦ͏ • ͰɺͬͺΓΊΜͲ͍͔͘͞Β Dockerͬͨ΄͏͕͍͍Α
None