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.

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

55 pointsby ActsJuvenileover 8 years ago

4 comments

smhxover 8 years ago
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 未加载
gcrover 8 years ago
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 未加载
eveningcoffeeover 8 years ago
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_reelover 8 years ago
Are there any plans to bring Torch to Windows?
评论 #12435759 未加载