Commit Graph

4 Commits

Author SHA1 Message Date
CodemodService Bot
4fe66d962d [Codemod][FBSourceBlackLinter] Daily arc lint --take BLACK
Reviewed By: zertosh

Differential Revision: D31192084

fbshipit-source-id: 25d490783b876253ddd1ad0a70832766ebd33f51
2021-09-25 06:42:19 -07:00
Tugsbayasgalan (Tugsuu) Manlaibaatar
146817c9d0 Add all_paths utility function (#65602)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/65602

Test Plan: Imported from OSS

Reviewed By: suo

Differential Revision: D31163681

Pulled By: tugsbayasgalan

fbshipit-source-id: fa0b28b1d3b73efcc7671698a613e695a01cc103
2021-09-25 01:11:20 -07:00
Lily Johnson
b5f0576278 [package] Modify Digraph to track predecessors (#61146)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/61146

Track predecessors of nodes in DiGraph in order to enable cleaner dependency visualization code.

Test Plan: Imported from OSS

Reviewed By: suo

Differential Revision: D29559682

Pulled By: Lilyjjo

fbshipit-source-id: 06f51b1108423aece5bdd72a7b82ab736e5e4f94
2021-07-09 15:27:04 -07:00
Michael Suo
53c21172c0 [package] add simple graph data structure (#57337)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/57337

Add a really simple graph data sturcutre for tracking dependencies. API
based on networkx, but I didn't want to require the dependency.

Differential Revision: D28114186

Test Plan: Imported from OSS

Reviewed By: VitalyFedyunin

Pulled By: suo

fbshipit-source-id: 802fd067017e493a48d6672538080e61d249accd
2021-05-05 17:57:00 -07:00