Horace He

Results 242 comments of Horace He

cc: @albanD on changes to `python_function.cpp` cc: @jansel and @SherlockNoMad on changes we need to make to the compilers being passed to AOTAutograd.

## So... what is the problem here? (cc: @albanD , @eellison) Let's say you have a function like this ``` import torch def get_mem(): print(f"{torch.cuda.memory_allocated()/1e9} GB") def f(x): del x...

@albanD I needed to add some more changes to `python_function.cpp` in order to handle `retains_graph` calls properly.

I agree the name sucks, but I’m not totally sure how we avoid having a config *somewhere* for this (without breaking any existing backends, although maybe that’s fine?), although I...

I'm gonna keep the config option as well for the sake of making this easier to land (otherwise I need to make a simultaneous change to torchdynamo repo). I will...