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
180
0
Share
あなたの知らないNumPyの世界〜2025年版NumPy怪談〜
Kimikazu Kato
February 19, 2026
More Decks by Kimikazu Kato
See All by Kimikazu Kato
PyTorchの最近の動向
hamukazu
0
850
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
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.4k
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
710
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
160
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.5k
Fireside Chat
paigeccino
42
3.9k
Un-Boring Meetings
codingconduct
0
300
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.3k
How to Talk to Developers About Accessibility
jct
2
210
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.5k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
430
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ͷٞΛಡΉͷָ͍͠ʂ