@visualc Can we get some more details on what this flag does?
-
-
-
We'll have a blog post soon that covers this (plus other MSVC backend work) https://devblogs.microsoft.com/cppblog/ . In short: it tells the optimizer to use a reduced set of optimizations for massive functions. We'd like to make the behavior the default after doing more perf testing & tuning.
- Još 1 odgovor
Novi razgovor -
-
-
Wow. I built an entirely new PC when my android build times reached 4 minutes. I'd be scared to touch a line of code with a 4 hour compile time.
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
-
Looking forward to trying this flag out. And I thought our 3 hour build times were a pain...
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
-
Hi TensorFlow, I'm really curious, what takes 48 hours to build? how many configurations ? targets ? does it include unit tests integration tests and other things like that ? Thanks.
-
Lots of inlined functions (mostly because we use lots of Eigen). It's just a single configuration, but many of the kernel source files took 20min or so to compile each, and we have ~1500 kernels total. The tests are just a rounding error on top of the build time.
- Još 1 odgovor
Novi razgovor -
-
-
And how long does it take on GCC or Clang?
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
-
It must be pretty chill to work at. Trigger a build and go home for 2 days
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
-
24 Day 24hour 4hour still not resonnable compile time
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
- Kraj razgovora
Novi razgovor
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.

The new /d2ReducedOptimizeHugeFunctions flag in Visual Studio 2019 v16.4 brought our TensorFlow 2.1.0 release builds down from over 48 hours (VS 2017) to under 4.
This is a huge win! Thanks to the
