Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
あなたの知らないNumPyの世界〜2025年版NumPy怪談〜
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Kimikazu Kato
February 19, 2026
170
0
Share
あなたの知らないNumPyの世界〜2025年版NumPy怪談〜
Kimikazu Kato
February 19, 2026
More Decks by Kimikazu Kato
See All by Kimikazu Kato
PyTorchの最近の動向
hamukazu
0
840
Python 3.11: What changed in math?
hamukazu
0
540
機械学習も筋肉が大事?意外と知らない数学
hamukazu
0
1k
レコメンデーションシステムのキホン
hamukazu
4
960
機械学習の中身を理解する
hamukazu
28
10k
機械学習に役立つ数学
hamukazu
11
6.4k
Pythonと数学と 多面体とペーパークラフトとベルヌーイと長門屋と田宮模型と私
hamukazu
1
1.8k
Featured
See All Featured
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.4k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.4k
エンジニアに許された特別な時間の終わり
watany
106
240k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
130
Scaling GitHub
holman
464
140k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.9k
The Pragmatic Product Professional
lauravandoore
37
7.2k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
510
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
Navigating Team Friction
lara
192
16k
Building Adaptive Systems
keathley
44
3k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
310
Transcript
2026/2/19 ΈΜͳͷPythonษڧձ Ճ౻ެҰ Horror Story In NumPy ͋ͳͨͷΒͳ͍NumPyͷੈք ʙ2025൛NumPyոஊʙ
ࣗݾհ Ճ౻ެҰʢ͔ͱ͏͖Έ͔ͣʣ X: @hamukazu झຯɿ͍ܰےτϨ ஶॻ New!
ϓϩϩʔά ڈ3݄ɺ৽͍͠Mac Book ProΛങ͍·ͨ͠
ࣥචͷͨΊNumPyΛ͍ͬͯͨ͡Β͜Μͳ͕ >>> np.eye(15) @ np.eye(15) <python-input-2>:1: RuntimeWarning: divide by zero
encountered in matmul np.eye(15) @ np.eye(15) <python-input-2>:1: RuntimeWarning: overflow encountered in matmul np.eye(15) @ np.eye(15) <python-input-2>:1: RuntimeWarning: invalid value encountered in matmul np.eye(15) @ np.eye(15)
෮शɿߦྻͷੵ ͷͱ͖ ֻ͚ࢉͱ͠ࢉ͔͍ͯ͠͠ͳ͍ Devision by Zero͕ى͜Δ͕ͣͳ͍ʂʂ
৺ྶݱʁ
None
GitHubͷIssue https://github.com/numpy/numpy/issues/28687
ঢ়·ͱΊ • NumPy2.2.4Ͱɺߦྻͷ@ԋࢉࢠͰDivision by Zeroܯࠂ • M4 Mac͚ͩͰ࠶ݱ • np.eye(14)
@ np.eye(14)Ͱ࠶ݱͤͣɺnp.eye(15) @ np.eye(15)Ͱ࠶ݱ • @ԋࢉࢠͰ࠶ݱ͢Δ͕ɺnp.dotͰ࠶ݱͤͣ • όοΫΤϯυΛOpenBLASʹมߋ͢Δͱ࠶ݱͤͣ
ݪҼ • M4͔ΒSMEʢScalable Matrix Extensionʣͱ͍͏ߦྻܭࢉઐ༻ͷ໋ྩηοτ ͕ಋೖ͞Εͨ • SME͕ݺͼग़͞ΕΔͱྫ֎ϑϥά͕શ෦1ʹͳΔʢͦͷ༷Ͳ͏ͳͷΑʁʣ • NumPy͕ͦͷϑϥάΛಡΜͰWarning
·ͱΊ • NumPyΪϦΪϦ·ͰύϑΥʔϚϯενϡʔχϯά͍ͯ͠ΔͷͰɺCPUͷ ༷มߋͷӨڹΛड͚Δ͜ͱ͕͋Δ • GitHubͷIssueͷٞΛಡΉͷָ͍͠ʂ