Homepage
Close
Menu

Site Navigation

  • Home
  • Archive(TODO)
    • By Day
    • By Month
  • About(TODO)
  • Stats
Close
by soumithchintala on 2018-10-06 (UTC).

Lazy is reasonable in C++, where application-logic gets compiled and is in order of nano-seconds, it quickly breaks down in Python, where application logic is interpreted. Doing N for-loops queuing compute for a batch-size N will effectively introduce N * 1us overhead. per op

— Soumith Chintala (@soumithchintala) October 6, 2018
thought
by apaszke on 2018-10-06 (UTC).

No, it does matter. CNNs have ops so costly that the eager overhead on CPU is entirely hidden behind GPU execution, so you don’t pay anything for it. But eager never postpones running the kernels, so it will have lower latency than lazy (and it’s still somewhat cheaper).

— Adam Paszke (@apaszke) October 6, 2018
thought
by apaszke on 2018-10-06 (UTC).

Basically lazy pays graph construction + GPU cost (because you only start computing once you see all of it), while eager pays only the GPU cost (because GPU runs async while you queue the kernels).

— Adam Paszke (@apaszke) October 6, 2018
thought
by jeremyphoward on 2018-10-06 (UTC).

As someone who hasn't played with lazy graph frameworks, I learned a lot from this discussion of the pros and cons https://t.co/f5DA1F4xiK

— Jeremy Howard (@jeremyphoward) October 6, 2018
thought

Tags

learning tutorial misc nlp rstats gan ethics research dataviz survey python tool security kaggle video thought bayesian humour tensorflow w_code bias dataset pytorch cv tip application javascript forecast swift golang rl jax julia gnn causal surey diffusion
© Copyright Philosophy 2018 Site Template by Colorlib