Jacob Segal 46c8311d14 Support for async execution functions
This commit adds support for node execution functions defined as async. When
a node's execution function is defined as async, we can continue
executing other nodes while it is processing.

Standard uses of `await` should "just work", but people will still have
to be careful if they spawn actual threads. Because torch doesn't really
have async/await versions of functions, this won't particularly help
with most locally-executing nodes, but it does work for e.g. web
requests to other machines.

In addition to the execute function, the `VALIDATE_INPUTS` and
`check_lazy_status` functions can also be defined as async, though we'll
only resolve one node at a time right now for those.
2025-07-01 14:41:52 -07:00
..
2024-12-20 16:24:55 -05:00
2023-01-16 22:37:14 -05:00
2024-06-27 18:43:11 -04:00
2025-03-06 00:24:43 -05:00
2025-06-06 09:43:27 -04:00
2025-01-24 06:15:54 -05:00
2025-06-25 19:35:57 -04:00
2025-07-01 14:41:52 -07:00