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
550
機械学習も筋肉が大事?意外と知らない数学
hamukazu
0
1k
レコメンデーションシステムのキホン
hamukazu
4
970
機械学習の中身を理解する
hamukazu
28
10k
機械学習に役立つ数学
hamukazu
11
6.5k
Pythonと数学と 多面体とペーパークラフトとベルヌーイと長門屋と田宮模型と私
hamukazu
1
1.8k
Featured
See All Featured
Faster Mobile Websites
deanohume
310
31k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.5k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
23k
Visualization
eitanlees
150
17k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
300
HDC tutorial
michielstock
2
650
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
1
36
The SEO Collaboration Effect
kristinabergwall1
1
440
Chasing Engaging Ingredients in Design
codingconduct
0
190
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
118
110k
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
690
Typedesign – Prime Four
hannesfritz
42
3k
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ͷٞΛಡΉͷָ͍͠ʂ