Shawn

Results 25 comments of Shawn

@LaurentMazare It seems that there is a `register_hook` function in c++ api: https://github.com/pytorch/pytorch/blob/115494b00bf31549aa5227068bd66a3da9de469b/test/cpp/api/autograd.cpp#L547. Not sure whether it can be ported to tch-rs though.

It boils down to this: https://github.com/pytorch/pytorch/blob/f52e2028409cd4bd23c31f64d0617703af31b1dc/aten/src/ATen/core/VariableHooksInterface.h#L63

Great, I can start doing it (the distributed training part) in a separate repo to see if it works. For (2) it seems that if we want to add hook...

> We have implemented events which should improve support for streams. The main problem is the memory manager and its current implementation and how the streams are associated with each...

I would suggest `match-route` function assumes the path provided is just the path we want to match without modification. If we want to remove the # or query parameters etc...

Using `any?` won't have the coercion that makes it easy for me to access the file via something like `upload/TempFileUpload`?

This issue seems to have been open for a while and is increasingly affecting a number of users, including @Roba1993 and myself. Given the significant impact it has on production...

This is very useful for linking logs to traces. I would love to see it get merged.

Is this being worked on? Right now we need to use our customized build of nomad to support hairpin mode, which is not ideal.