TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

PyTorch 1.0 is out

470 pointsby kashifrover 6 years ago

15 comments

htfy96over 6 years ago
What surprised me most is the elegance of C++ API. Compared to its equivalence in Python, the C++ version is almost the same if we discard the &quot;auto&quot; keyword [0]. As mentioned in the doc, they put user-friendliness over micro-optimizations, which also proves the expressiveness of modern C++ (at least when they want to prioritize user-friendliness!) [0]: <a href="https:&#x2F;&#x2F;pytorch.org&#x2F;cppdocs&#x2F;frontend.html#end-to-end-example" rel="nofollow">https:&#x2F;&#x2F;pytorch.org&#x2F;cppdocs&#x2F;frontend.html#end-to-end-example</a>
评论 #18632114 未加载
评论 #18631983 未加载
评论 #18634818 未加载
评论 #18632974 未加载
评论 #18632243 未加载
评论 #18632900 未加载
nafizhover 6 years ago
Really grateful to the FAIR team for Pytorch. I use deep learning for computational biology. Pytorch lets me focus on the problem rather than nitpicking with the framework (looking at you tensorflow) to make something work.
wpietriover 6 years ago
In case anybody else was wondering, since this isn&#x27;t in the fine article:<p>&quot;PyTorch is a Python package that provides two high-level features:<p>* Tensor computation (like NumPy) with strong GPU acceleration<p>* Deep neural networks built on a tape-based autograd system<p>You can reuse your favorite Python packages such as NumPy, SciPy and Cython to extend PyTorch when needed.&quot;
评论 #18632583 未加载
pesentiover 6 years ago
Link to blog post: <a href="https:&#x2F;&#x2F;code.fb.com&#x2F;ai-research&#x2F;pytorch-developer-ecosystem-expands-1-0-stable-release&#x2F;" rel="nofollow">https:&#x2F;&#x2F;code.fb.com&#x2F;ai-research&#x2F;pytorch-developer-ecosystem-...</a>
tbenstover 6 years ago
The new JIT is very interesting. Anyone know if this is for inference only or also for training?
评论 #18631621 未加载
评论 #18635065 未加载
l3robotover 6 years ago
<i></i>TL;DR<i></i><p>- New JIT feature that lets you run your model without python. It now seems trivial to load a pytorch model in C++<p>- New distributed computation package. Major redesign.<p>- C++ frontend<p>- New torch hub feature to load models from github easily
评论 #18632638 未加载
ritouneover 6 years ago
I&#x27;ve been using PyTorch, and the PyTorch 1.0 pre-release for a while now. I adore it but don&#x27;t really want to write C++ backends in production.<p>Anyone want to start working on Golang bindings for C++ PyTorch?
评论 #18634167 未加载
Rafuinoover 6 years ago
Is this the version combining Caffe2 and PyTorch into one framework? Is LMDB continuing as the default data load&#x2F;store method?
评论 #18632005 未加载
piloochover 6 years ago
If someone from fair is around, what does this mean for caffe2 ? Is the new torch c++ API a form a replacement for caffe?
Solar19over 6 years ago
Agreed. I&#x27;ve always thought, however, that D would be the perfect language for a new Python implementation.
dspokaover 6 years ago
Is there some sort of pytorch 1.0 migration guide or does anyone know if there is any breaking from .41 to 1.0 ?
评论 #18631467 未加载
评论 #18631469 未加载
openbasicover 6 years ago
What would be a good book and project to get started with this? Object recognition? Product recommendations?
评论 #18632763 未加载
评论 #18632771 未加载
评论 #18632545 未加载
dekimirover 6 years ago
Hm, the Mac version of LibTorch is suddenly unavailable!? [0] I swear it was available for download until a few days ago...<p>[0] <a href="https:&#x2F;&#x2F;pytorch.org&#x2F;get-started&#x2F;locally&#x2F;" rel="nofollow">https:&#x2F;&#x2F;pytorch.org&#x2F;get-started&#x2F;locally&#x2F;</a>
评论 #18635810 未加载
ameliusover 6 years ago
&gt; The JIT is a set of compiler tools for bridging the gap between research in PyTorch and production. It allows for the creation of models that can run without a dependency on the Python interpreter and which can be optimized more aggressively. Using program annotations existing models can be transformed into Torch Script, a subset of Python that PyTorch can run directly.<p>Isn&#x27;t python bytecode simple enough that it can be run anywhere?
评论 #18631663 未加载
评论 #18631821 未加载
评论 #18631646 未加载
punnerudover 6 years ago
Feels good to see torch-1.0.0 when I do: &quot;python -m pip install torch torchvision --upgrade&quot;