1. 19 Sep, 2023 1 commit
  2. 03 Nov, 2022 1 commit
  3. 01 Nov, 2022 1 commit
  4. 26 Oct, 2022 1 commit
  5. 19 Oct, 2022 1 commit
  6. 18 Oct, 2022 1 commit
    • Super Daniel's avatar
      [fx/meta/rpc] move _meta_registration.py to fx folder / register fx functions... · 393f5940
      Super Daniel authored
      [fx/meta/rpc] move _meta_registration.py to fx folder / register fx functions with compatibility checks / remove color debug (#1710)
      
      * [fx] move meta registration
      
      * [fx] fix tests.
      
      * [fx] fix test.
      
      * [fx] fix.
      
      * [meta] refactor meta registration.py.
      
      * [fx] add compatibility descriptions.
      
      * [fx] polish import.
      
      * [fx] add a decorator.
      
      * [fx] fix tests.
      
      * [fx] remove print.
      
      * [fx] edit raise error.
      
      * [fx] edit raise error.
      
      * [fx] add type hint.
      
      * [fx] fix import in experimental.
      
      * [rpc] remove color debug.
      
      * [meta] fix naming.
      393f5940
  7. 11 Oct, 2022 1 commit
  8. 05 Oct, 2022 1 commit
  9. 04 Oct, 2022 1 commit
    • Boyuan Yao's avatar
      [fx] Add concrete info prop (#1677) · 132b4306
      Boyuan Yao authored
      * [fx] concreteinfoprop
      
      * [fx] add concreteinfoprop
      
      * [fx] modify docstring of ConcreteInfoProp
      
      * [fx] fix device error
      
      * [fx] modify parameter calculation
      
      * [fx] modify parameters calculation
      132b4306
  10. 27 Sep, 2022 1 commit
    • Super Daniel's avatar
      [fx] refactor code for profiler / enable fake tensor movement. (#1646) · 6135e178
      Super Daniel authored
      * [fx/profiling] provide summary for MetaInfoProp.
      
      * [fx/profiler] provide a table of summary.
      
      * [fx/profiler] provide a table of summary.
      
      * [fx/profiler] provide a table of summary.
      
      * [fx/profiler] provide a table of summary.
      
      * [fx] optimize table repr.
      
      * [fx] optimize table repr.
      
      * [fx] refactor code for profiler.
      
      * [fx] add docstring.
      
      * [fx] add docstring.
      
      * [fx] skip test.
      
      * [fx] redo.
      
      * [fx] redo.
      
      * [fx] fix import error for torch11.
      
      * [fx] fix import error for torch11.
      6135e178
  11. 23 Sep, 2022 1 commit
    • Super Daniel's avatar
      [fx/profiler] tuned the calculation of memory estimation (#1619) · d967779a
      Super Daniel authored
      * [fx] tuned the meta info and rotor solver.
      
      * [fx] remove import.
      
      * [fx] remove import.
      
      * [fx] remove import.
      
      * [fx] tune the meta calculations.
      
      * [fx] polish comments.
      
      * [fx] remove assertions.
      
      * [fx] modify test cases.
      
      * [fx] modify test cases.
      
      * [fx] optimize import.
      
      * [fx
      d967779a
  12. 15 Sep, 2022 1 commit
  13. 14 Sep, 2022 2 commits
    • Super Daniel's avatar
      [hotfix/rotor] fix variable names (#1597) · c8e9b2ad
      Super Daniel authored
      * [fx] add some comment and docstrings.
      
      * [fx] add dataflow analysis for an autograd graph.
      
      * add intepretation for graph analysis.
      
      * [fx] before doing save_tensor_hooks.
      
      * [fx] provide an accurate estimation of memory except for GPT-2.
      
      * [fx] provide an accurate estimation of memory except for GPT-2.
      
      * [fx] provide an accurate estimation of memory except for GPT-2.
      
      * [fx] a very accurate version on GPT-2.
      
      * [fx] refactor code.
      
      * [fx] remove redundant inplace=True.
      
      * [fx] refactor code.
      
      * [fx] refactor code.
      
      * [fx] refactor code.
      
      * [fx] dive into backward memory.
      
      * [fx] fix variable names in ckpt_solvers and unskip tests.
      
      * [fx] commit my changes.
      
      * [fx] restore skips.
      
      * [fx] restore skips.
      
      * [fx] chaange stage into phase.
      
      * [fx] chaange stage into phase.
      
      * [fx] chaange stage into phase.
      c8e9b2ad
    • Super Daniel's avatar
      [fx] provide an accurate estimation of memory. (#1587) · 5c494d45
      Super Daniel authored
      * [fx] add some comment and docstrings.
      
      * [fx] add dataflow analysis for an autograd graph.
      
      * add intepretation for graph analysis.
      
      * [fx] before doing save_tensor_hooks.
      
      * [fx] provide an accurate estimation of memory except for GPT-2.
      
      * [fx] provide an accurate estimation of memory except for GPT-2.
      
      * [fx] provide an accurate estimation of memory except for GPT-2.
      
      * [fx] a very accurate version on GPT-2.
      
      * [fx] refactor code.
      
      * [fx] remove redundant inplace=True.
      
      * [fx] refactor code.
      
      * [fx] refactor code.
      
      * [fx] refactor code.
      
      * [fx] dive into backward memory.
      5c494d45
  14. 07 Sep, 2022 1 commit
    • Super Daniel's avatar
      [fx] provide a stable but not accurate enough version of profiler. (#1547) · 4f596932
      Super Daniel authored
      * [fx] compute memory stat and flop count for MetaInfoProp.
      
      * [fx] modify node attribute.
      
      * [fx] modify ckpt_chen.
      
      * [fx] fix compatibility.
      
      * [fx] fix import error.
      
      * [fx] skip test for MetaInfoProp.
      
      * [fx] skip test for MetaInfoProp.
      
      * [fx] skip test for MetaInfoProp.
      
      * [fx] skip test for MetaInfoProp.
      
      * [fx] skip if torch 1.11.0.
      
      * [fx] recover MetaInfoProp support for PyTorch 1.11.
      
      * [fx] provide a stable but not accurate enough version of profiler.
      
      * [fx] provide a stable but not accurate enough version of profiler.
      
      * [fx] fix compatibility in tests.
      
      * [fx] fix compatibility in tests.
      
      * [fx] fix compatibility in tests.
      
      * [fx] fix compatibility in tests.
      
      * [fx] fix compatibility in tests.
      
      * [fx] fix compatibility in tests.
      
      * [fx] fix compatibility in tests.
      
      * [fx] fix compatibility in tests.
      
      * [fx] fix compatibility in tests.
      
      * [fx] fix compatibility in tests.
      
      * [fx] fix import error.
      4f596932
  15. 31 Aug, 2022 1 commit
    • Super Daniel's avatar
      [fx] hack __torch_dispatch__ for meta tensor and autograd. (#1515) · 5cc849f6
      Super Daniel authored
      * [fx] hack __torch_dispatch__ for meta tensor and autograd.
      
      * [fx] hack __torch_dispatch__ for meta tensor and autograd.
      
      * [fx] hack __torch_dispatch__ for meta tensor and autograd.
      
      * [fx] hack __torch_dispatch__ for meta tensor and autograd.
      
      * [fx] hack __torch_dispatch__ for meta tensor and autograd.
      
      * [fx] add bad case detections.
      
      * [fx] add bad case detections.
      
      * [fx] rename MetaTensor attributes.
      
      * [fx] fix unexpected error.
      
      * [fx] fix unexpected error.
      
      * [fx] fix unexpected error.
      
      * [fx] fix unexpected error.
      
      * [fx] fix unexpected error.
      
      * [fx] add register backward for native_batch_norm_backward.
      
      * [fx] add more meta backend support for nn.Modules.
      
      * [fx] add meta backend to support timm and torchvision models.
      
      * [fx] add meta hardswish for timm models.
      5cc849f6
  16. 25 Aug, 2022 1 commit
    • Super Daniel's avatar
      [fx] add more op patches for profiler and error message for unsupported ops. (#1495) · 09c023be
      Super Daniel authored
      * [fx] modify the calculation of node_size in MetaInfoProp for activation checkpointing usages
      
      * [fx] modify the calculation of node_size in MetaInfoProp for activation checkpointing usages
      
      * [fx] modify the calculation of node_size in MetaInfoProp for activation checkpointing usages
      
      * [fx] merge development into main (#1)
      
      * [fx] activation checkpointing using Chen strategies.
      
      * [fx] add test for ckpt_solver_chen
      
      * [fx] add vanilla activation checkpoint search with test on resnet and densenet
      
      * [fx] add a namespace code for solver_chen.
      
      * [fx] fix the false interpretation of algorithm 3 in https://arxiv.org/abs/1604.06174.
      
      * [fx] fix lowercase naming conventions.
      
      * [fx] simplify test for ckpt.
      
      * [fx] add rules to linearize computation graphs for searching. (#2)
      
      * [fx] modify the calculation of node_size in MetaInfoProp for activation checkpointing usages
      
      * [fx] modify the calculation of node_size in MetaInfoProp for activation checkpointing usages
      
      * [fx] modify the calculation of node_size in MetaInfoProp for activation checkpointing usages
      
      * [fx] merge development into main (#1)
      
      * [fx] activation checkpointing using Chen strategies.
      
      * [fx] add test for ckpt_solver_chen
      
      * [fx] add vanilla activation checkpoint search with test on resnet and densenet
      
      * [fx] add a namespace code for solver_chen.
      
      * [fx] fix the false interpretation of algorithm 3 in https://arxiv.org/abs/1604.06174.
      
      * [fx] fix lowercase naming conventions.
      
      * [fx] simplify test for ckpt.
      
      * [fx] fix test and algorithm bugs in activation checkpointing.
      
      * [fx] polish ckpt_test.
      
      * [fx] add rules to linearize computation graphs for searching.
      
      * [fx] remove chen_sqrt for sake of simplicity
      
      * [fx] remove chen_sqrt for sake of simplicity
      
      * [fx] remove chen_sqrt for sake of simplicity
      
      * [fx] remove chen_sqrt for sake of simplicity
      
      * [fx] fix inconsistencies.
      
      * [fx] fix MetaInfoProp.
      
      * [fx] fix MetaInfoProp.
      
      * [fx] consider MetaInfoProp for inplace operands.
      
      * [fx] consider MetaInfoProp for inplace operands.
      
      * [fx] consider MetaInfoProp for inplace operands.
      
      * [fx] consider MetaInfoProp for inplace operands.
      
      * [fx] consider MetaInfoProp for inplace operands.
      
      * [fx] add profiler for fx nodes.
      
      * [fx] add profiler for fx nodes.
      
      * [fx] add profiler for fx nodes.
      
      * [fx] add profiler for fx nodes.
      
      * [fx] add profiler for fx nodes.
      
      * [fx] add profiler for fx nodes.
      
      * [fx] add profiler for fx nodes.
      
      * [fx] fix error in tests.
      
      * [fx] unfix bug.
      
      * [fx] unfix bug.
      
      * [fx] patch more modules and functions.
      
      * [fx] change name of utils.py to profiler.py
      
      * [fx] add profiler for rnn.
      
      * [fx] add profiler for rnn.
      
      * [fx] polish and add more patch for profiler.
      
      * [fx] polish and add more patch for profiler.
      09c023be
  17. 24 Aug, 2022 1 commit
    • Super Daniel's avatar
      [fx] add profiler for fx nodes. (#1480) · 32efe8e7
      Super Daniel authored
      * [fx] modify the calculation of node_size in MetaInfoProp for activation checkpointing usages
      
      * [fx] modify the calculation of node_size in MetaInfoProp for activation checkpointing usages
      
      * [fx] modify the calculation of node_size in MetaInfoProp for activation checkpointing usages
      
      * [fx] merge development into main (#1)
      
      * [fx] activation checkpointing using Chen strategies.
      
      * [fx] add test for ckpt_solver_chen
      
      * [fx] add vanilla activation checkpoint search with test on resnet and densenet
      
      * [fx] add a namespace code for solver_chen.
      
      * [fx] fix the false interpretation of algorithm 3 in https://arxiv.org/abs/1604.06174.
      
      * [fx] fix lowercase naming conventions.
      
      * [fx] simplify test for ckpt.
      
      * [fx] add rules to linearize computation graphs for searching. (#2)
      
      * [fx] modify the calculation of node_size in MetaInfoProp for activation checkpointing usages
      
      * [fx] modify the calculation of node_size in MetaInfoProp for activation checkpointing usages
      
      * [fx] modify the calculation of node_size in MetaInfoProp for activation checkpointing usages
      
      * [fx] merge development into main (#1)
      
      * [fx] activation checkpointing using Chen strategies.
      
      * [fx] add test for ckpt_solver_chen
      
      * [fx] add vanilla activation checkpoint search with test on resnet and densenet
      
      * [fx] add a namespace code for solver_chen.
      
      * [fx] fix the false interpretation of algorithm 3 in https://arxiv.org/abs/1604.06174.
      
      * [fx] fix lowercase naming conventions.
      
      * [fx] simplify test for ckpt.
      
      * [fx] fix test and algorithm bugs in activation checkpointing.
      
      * [fx] polish ckpt_test.
      
      * [fx] add rules to linearize computation graphs for searching.
      
      * [fx] remove chen_sqrt for sake of simplicity
      
      * [fx] remove chen_sqrt for sake of simplicity
      
      * [fx] remove chen_sqrt for sake of simplicity
      
      * [fx] remove chen_sqrt for sake of simplicity
      
      * [fx] fix inconsistencies.
      
      * [fx] fix MetaInfoProp.
      
      * [fx] fix MetaInfoProp.
      
      * [fx] consider MetaInfoProp for inplace operands.
      
      * [fx] consider MetaInfoProp for inplace operands.
      
      * [fx] consider MetaInfoProp for inplace operands.
      
      * [fx] consider MetaInfoProp for inplace operands.
      
      * [fx] consider MetaInfoProp for inplace operands.
      
      * [fx] add profiler for fx nodes.
      
      * [fx] add profiler for fx nodes.
      
      * [fx] add profiler for fx nodes.
      
      * [fx] add profiler for fx nodes.
      
      * [fx] add profiler for fx nodes.
      
      * [fx] add profiler for fx nodes.
      
      * [fx] add profiler for fx nodes.
      
      * [fx] fix error in tests.
      
      * [fx] unfix bug.
      
      * [fx] unfix bug.
      32efe8e7