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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Optimized-Torch – Torch installation in a self-contained folder

55 点作者 ActsJuvenile超过 8 年前

4 条评论

smhx超过 8 年前
I&#x27;m enthusiastic that Intel is working on optimizing Torch&#x27;s Tensor and nn libraries, and optimizing Neural Nets in general.<p>This repo is most definitely not ready for primetime.<p>Two comments:<p>1. I haven&#x27;t seen an Intel team that does non-trivial DNN optimizations, almost all the (multiple) teams that have worked on optimizing neural networks have worked on trivial stuff like adding OpenMP optimizations to existing code, and integrating MKL into existing frameworks. Usually adding OpenMP optimizations isn&#x27;t as relevant, because one uses CPUs for neuralnet inference, on a server where multiple processes are running. Per-core efficiency is much more important than cute threadpool optimizations like OpenMP which look great in micro-benchmarks.<p>The meaty and practically relevant optimizations have come from folks in the community like Andrew Lavin and Marat Dukhan ( <a href="https:&#x2F;&#x2F;github.com&#x2F;Maratyszcza&#x2F;NNPACK" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Maratyszcza&#x2F;NNPACK</a> ) which are focused more on optimizing both single-core efficiency as well as multi-core.<p>2. The way this fork integrates MKLDNN into Torch is not great, where they add MKLDNN fields into the core Tensor &#x2F; Storage struct, which is not great from a broader perspective. I will try to reach out to the authors and make this more proper.<p>p.s.: torch installs in a self-contained folder already as pointed by @gcr
评论 #12435432 未加载
gcr超过 8 年前
Torch already installs quite cleanly into a single folder, ignoring a small number of OS-level dependencies.<p>I guess the value-add here is that this distribution bundles Intel MKL alongside Torch.<p>Lots of heavy Torch use is done with the GPU, so I&#x27;m not sure how helpful this is for realistic workloads. Still, it&#x27;s nice to see.
评论 #12433192 未加载
eveningcoffee超过 8 年前
I think this approach is wrong. While it may make their library more accessible, Torch installation can be conditioned to use different libraries at least during the compile time. There is no need to package it like this.<p>I think proper approach would be making their library accessible separately and explain how it should be used with Torch.
评论 #12435791 未加载
john_reel超过 8 年前
Are there any plans to bring Torch to Windows?
评论 #12435759 未加载