Code Monkey home page Code Monkey logo

Comments (3)

hfp avatar hfp commented on July 22, 2024

PlaidML is a compiler infrastructure using LLVM as a framework. Our research moved on to LLVM/MLIR orphaning PlaidML or not coming up with new releases (no matter which branch we talk about).

In any case, PGO is well-known and I would like to understand if your suggestion is just based on "LLVM is a dependency". PlaidML is unlikely to benefit from PGO (as it uses runtime code generation aka JIT compilation).

We have bad experience with automatically derived conclusions (correct me if this is not the case here), and we prefer not to be involved into unspecific learnings or "make-work" projects.

from plaidml.

zamazan4ik avatar zamazan4ik commented on July 22, 2024

In any case, PGO is well-known and I would like to understand if your suggestion is just based on "LLVM is a dependency".

My suggestion is based on multiple factors:

  • According to multiple benchmarks PGO helps a lot with optimizing compilers and interpreters' performance itself (not the performance of the generated by compilers/interpreters code).
  • According to my benchmark on applying PGO to tfcompile project - PGO helps with optimizing the performance of the deep-learning compiler as well.

PlaidML is unlikely to benefit from PGO (as it uses runtime code generation aka JIT compilation).

You are probably mixing two different things: "performance of the generated code" and "performance of the compiler itself". With the former PGO does not help (at least in the proposed by me way). I am suggesting optimizing the performance of the PlaidML compiler/interpreter itself. Here you can check how PGO helps with optimizing JIT-like compilers performance (CPython, PHP, Perl, Ruby).

from plaidml.

hfp avatar hfp commented on July 22, 2024

You are probably mixing two different things: "performance of the generated code" and "performance of the compiler itself".

Make sense. We do not care about "performance of the compiler itself" and use something else if this is a constraint (not using LLVM or taking care in the first place). For "tfcompile", I can only see improved prototyping turnaround time; otherwise only two cases: (1) deep learning amortizes JIT-overhead, (2) inference should always work on optimized/frozen/precompiled/etc topologies and never run into JIT overhead.

from plaidml.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.