TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

FastGPT: Faster than PyTorch in 300 lines of Fortran

51 点作者 chl大约 2 年前

4 条评论

frankreyes大约 2 年前
Fortran can produce faster code than C or C++ because it forces functions to not be aliasing for different arguments. <a href="https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;146159&#x2F;is-fortran-easier-to-optimize-than-c-for-heavy-calculations#146186" rel="nofollow">https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;146159&#x2F;is-fortran-easier...</a>
certik大约 2 年前
The author here. I am happy to answer any questions.
评论 #35168424 未加载
评论 #35166187 未加载
评论 #35165069 未加载
lostmsu大约 2 年前
They use OpenBLAS. PyTorch is slower presumably due to its poor threading. Nothing special about Fortran here, any language without a global lock would have the same result.
jiehong大约 2 年前
Very nice to see Fortran in that space!<p>That page doesn’t display very well on mobile though (header seems correct, but text is too wide and you need to zoom out. Safari mobile)
评论 #35172102 未加载