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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Swift for Tensorflow 0.3.1

100 点作者 asparagui大约 6 年前

7 条评论

sandGorgon大约 6 年前
I&#x27;m very puzzled about the Swift for Tensorflow investment. I understand that&#x27;s primarily because of Chris lattner&#x27;s personal investment...but given Google&#x27;s massive mindshare in Kotlin&#x2F;Dart&#x2F;JavaScript, this is a very puzzling investment.<p>Kotlin is successful because Google was able to drive the direction of the language. For example AndroidX Compose is being built with compiler extensions in Kotlin with Jetbrains. Dart is obviously driven by Google.<p>Swift is going to be controlled and driven by Apple. From a strategic perspective, I don&#x27;t understand why Google would make an investment like this when Swift-for-Tensorflow has a fundamental need to drive changes in the language itself.<p>Now, I understand if Google didn&#x27;t have an alternative. Are you saying Kotlin is soooooo worse than Swift that you can&#x27;t fundamentally take a similar direction ? Kotlin is currently one of the world&#x27;s most popular languages, born out of sheer LOVE from the community (without being pushed by the giants).
评论 #19884700 未加载
jimfleming大约 6 年前
To those that are upvoting this and previous Swift + TF announcements: What are you excited about, specifically? Why Swift? Why not Julia? Is it the syntax? Types? Compilation? Performance? Community?<p>I like Swift and all but our ML&#x2F;DL&#x2F;RL&#x2F;DS tools and libraries are in Python (and occasionally R). Most are missing for Swift without an awkward Python compatibility layer and I don&#x27;t see a compelling reason to adopt it.
评论 #19884751 未加载
评论 #19884540 未加载
评论 #19884615 未加载
评论 #19886308 未加载
评论 #19884623 未加载
评论 #19885757 未加载
评论 #19884526 未加载
评论 #19884503 未加载
mrath大约 6 年前
Is swift a common language for kind of thing tensorflow is used for? Given that swift does not work on windows and Linux support is sub par, is this only because of Chris Lattner?
评论 #19888612 未加载
评论 #19884549 未加载
评论 #19885090 未加载
mark_l_watson大约 6 年前
Glad to see the update. I have experimented with both the macOS and Linux drops before and they were rough. v0.3.1 is focused on providing a productive platform. Anyway I am on travel without a laptop so I need to wait to try it.<p>The idea of LLVM&#x2F;Swift ‘turtles all the way down’ might really pay off in the long run. In TensorFlow there is an un-understandable barrier (for me) between the Python layer and the lower level C++ code. Good to see this Swift effort along side Julia + Flux, which offers the same implementation language for the whole system advantage.
yeldarb大约 6 年前
I took the recent fastai course that had two lessons about S4TF taught by Chris Lattner and walked away excited.<p>It’s not ready for prime time yet but the roadmap looks great. Building auto-differentiation into the language and having an easy way for anyone to experiment with core architecture changes (without killing performance) will be a huge win for everyone.<p>I expect lots of prototyping will be done on S4TF (because it will be easy for developers to keep things on the GPU with XLA and MLIR) and then the things that work will be back-ported to other ecosystems.<p><a href="https:&#x2F;&#x2F;medium.com&#x2F;tensorflow&#x2F;mlir-a-new-intermediate-representation-and-compiler-framework-beba999ed18d" rel="nofollow">https:&#x2F;&#x2F;medium.com&#x2F;tensorflow&#x2F;mlir-a-new-intermediate-repres...</a>
gdubs大约 6 年前
If you missed it, Chris gave a talk a little while back, and went into detail regarding the motivation behind the project, what Swift provides, etc. It answers a lot of the questions being asked here:<p><a href="https:&#x2F;&#x2F;www.tensorflow.org&#x2F;swift" rel="nofollow">https:&#x2F;&#x2F;www.tensorflow.org&#x2F;swift</a>
pjmlp大约 6 年前
Ctrl+F Windows, oh well back to ML.NET and Julia.
评论 #19885989 未加载