Skip to content

Conversation

[ghstack-poisoned]
Copy link

pytorch-bot bot commented Jun 13, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/155866

Note: Links to docs will display an error until the docs builds have been completed.

❌ 11 New Failures, 1 Unrelated Failure

As of commit 3d3638d with merge base e98dd95 (image):

NEW FAILURES - The following jobs have failed:

UNSTABLE - The following job is marked as unstable, possibly due to flakiness on trunk:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

[ghstack-poisoned]
[ghstack-poisoned]
anijain2305 added a commit that referenced this pull request Jun 14, 2025
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
anijain2305 added a commit that referenced this pull request Jun 21, 2025
Copy link
Contributor

Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as Stale.
Feel free to remove the Stale label if you feel this was a mistake.
If you are unable to remove the Stale label please contact a maintainer in order to do so.
If you want the bot to never mark this PR stale again, add the no-stale label.
Stale pull requests will automatically be closed after 30 days of inactivity.

@github-actions github-actions bot added the Stale label Aug 20, 2025
@guilhermeleobas
Copy link
Collaborator

Just to keep track of some data:

The most expensive bytecodes are:

(266.1506090685725, 'InstructionTranslatorBase.CALL'),
(42.33330303430557, 'InstructionTranslatorBase.CALL_FUNCTION_EX'),
(10.658822156488895, 'InstructionTranslatorBase.LOAD_ATTR'),
(10.352601049467921, 'InstructionTranslatorBase.BINARY_OP'),
(2.2398654520511627, 'InstructionTranslator.RETURN_VALUE'),
(1.7172032352536917, 'InstructionTranslatorBase.LOAD_GLOBAL'),
(1.097657075151801, 'InstructionTranslatorBase.LOAD_SUPER_ATTR'),
(1.05613823980093, 'getitem'),
(0.41236742213368416, 'InstructionTranslatorBase.FOR_ITER'),
(0.4059685841202736, 'generic_jump.<locals>.inner'),
(0.3823458608239889, 'InstructionTranslatorBase.CONTAINS_OP'),
(0.38125245831906796, 'InstructionTranslatorBase.LOAD_FAST'),
(0.35756916739046574, 'InstructionTranslatorBase.IS_OP'),
(0.32974202930927277, 'InstructionTranslatorBase.STORE_ATTR'),
(0.28297133557498455, 'InstructionTranslatorBase.STORE_FAST'),
(0.17126698791980743, 'InstructionTranslatorBase.LOAD_CONST'),
(0.16699817031621933, 'InstructionTranslatorBase.COMPARE_OP'),
(0.1395837999880314, 'InstructionTranslatorBase.GET_ITER'),
(0.11582011915743351, 'InstructionTranslatorBase.LIST_EXTEND'),
(0.07459652423858643, 'InstructionTranslatorBase.LOAD_DEREF')

And the 50 most expensive functions are (from cProfile):

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
     6275   16.110    0.003   16.487    0.003 {method 'to' of 'torch._C.TensorBase' objects}
1721150/25    3.836    0.000    0.026    0.001 /workspace/git/pytorch/torch/_dynamo/symbolic_convert.py:1259(step)
23049534/22651030    3.770    0.000    8.279    0.000 {built-in method builtins.isinstance}
      466    2.528    0.005    2.788    0.006 {built-in method torch.tensor}
6260442/6231512    2.296    0.000    4.351    0.000 /workspace/git/pytorch/torch/_dynamo/variables/base.py:220(__instancecheck__)
  2179058    1.764    0.000    2.992    0.000 /workspace/git/pytorch/torch/utils/_config_module.py:369(__getattr__)
     25/7    1.725    0.069    1.871    0.267 /workspace/git/pytorch/torch/fx/operator_schemas.py:96(_torchscript_schema_to_signature_impl)
 181989/3    1.553    0.000    0.006    0.002 /workspace/git/pytorch/torch/_dynamo/symbolic_convert.py:1186(call_function)
  1448187    1.172    0.000    1.179    0.000 /workspace/git/pytorch/torch/_dynamo/variables/base.py:603(__init__)
    56601    1.065    0.000    2.227    0.000 /workspace/git/pytorch/torch/_dynamo/bytecode_analysis.py:48(get_indexof)
5692470/131307    0.942    0.000    0.071    0.000 {built-in method builtins.getattr}
261054/260999    0.896    0.000    6.773    0.000 /workspace/git/pytorch/torch/_dynamo/variables/lazy.py:22(realize)
509193/50    0.891    0.000    0.032    0.001 /workspace/git/pytorch/torch/_dynamo/variables/builtin.py:1171(call_function)
  6414071    0.854    0.000    0.854    0.000 {function _ParameterMeta.__instancecheck__ at 0x7f89ebc22ca0}
  2179054    0.848    0.000    1.135    0.000 /workspace/git/pytorch/torch/utils/_config_module.py:425(_get_alias_val)
      667    0.803    0.001    0.803    0.001 {built-in method builtins.compile}
  6649504    0.775    0.000    1.201    0.000 /workspace/git/pytorch/torch/_dynamo/bytecode_transformation.py:84(__hash__)
      404    0.723    0.002    0.724    0.002 {method 'copy' of 'numpy.ndarray' objects}
159569/130243    0.721    0.000   18.123    0.000 /workspace/git/pytorch/torch/_dynamo/variables/builtin.py:1960(call_getattr)
  1043306    0.709    0.000    0.709    0.000 /venv/main/lib/python3.12/inspect.py:1832(_shadowed_dict)
2585015/1176818    0.691    0.000    1.003    0.000 {built-in method builtins.hash}
2859357/45478    0.656    0.000    0.058    0.000 {built-in method builtins.hasattr}
  2572585    0.650    0.000    0.703    0.000 {method 'get' of 'dict' objects}
  5032223    0.642    0.000    0.642    0.000 {method 'append' of 'list' objects}
    69552    0.640    0.000    0.652    0.000 /workspace/git/pytorch/torch/fx/graph.py:522(register_last_uses)
  56694/0    0.636    0.000    0.000          /workspace/git/pytorch/torch/_dynamo/symbolic_convert.py:1382(run)
        3    0.620    0.207    0.620    0.207 {built-in method gc.collect}
   507421    0.588    0.000    0.973    0.000 /workspace/git/pytorch/torch/_dynamo/variables/constant.py:69(__init__)
  1550017    0.583    0.000    2.040    0.000 /workspace/git/pytorch/torch/_dynamo/symbolic_convert.py:1425(push)
  7907454    0.566    0.000    0.566    0.000 {built-in method builtins.id}
418171/403001    0.561    0.000    1.635    0.000 /workspace/git/pytorch/torch/_dynamo/variables/constant.py:36(create)
918584/471493    0.557    0.000    1.332    0.000 /workspace/git/pytorch/torch/_dynamo/source.py:241(name)
    44398    0.553    0.000    0.587    0.000 {built-in method builtins.eval}
    56528    0.521    0.000    6.404    0.000 /workspace/git/pytorch/torch/_dynamo/symbolic_convert.py:3804(build_inline_tracer)
  4311672    0.516    0.000    0.516    0.000 {method 'startswith' of 'str' objects}
    21456    0.515    0.000    5.120    0.000 /workspace/git/pytorch/torch/_dynamo/output_graph.py:2378(create_proxy)
   344813    0.513    0.000    0.850    0.000 /workspace/git/pytorch/torch/_dynamo/symbolic_convert.py:1438(popn)
   220551    0.489    0.000    0.632    0.000 /workspace/git/pytorch/torch/_dynamo/symbolic_convert.py:259(next)
    56491    0.488    0.000    0.500    0.000 /workspace/git/pytorch/torch/_dynamo/variables/functions.py:121(update_defaults)
   301498    0.475    0.000    1.779    0.000 /venv/main/lib/python3.12/inspect.py:1845(getattr_static)
340595/340540    0.460    0.000    4.806    0.000 /workspace/git/pytorch/torch/_dynamo/variables/builder.py:428(__call__)
   469910    0.459    0.000    1.221    0.000 /workspace/git/pytorch/torch/_dynamo/symbolic_convert.py:1441(LOAD_FAST)
   186565    0.456    0.000    1.314    0.000 /venv/main/lib/python3.12/traceback.py:460(format_frame_summary)
    56529    0.456    0.000    2.933    0.000 /workspace/git/pytorch/torch/_dynamo/symbolic_convert.py:3207(__init__)
        6    0.454    0.076    0.454    0.076 {method 'read' of '_ssl._SSLSocket' objects}
   319915    0.447    0.000    0.951    0.000 /workspace/git/pytorch/torch/fx/node.py:846(__setattr__)
   301498    0.431    0.000    0.940    0.000 /venv/main/lib/python3.12/inspect.py:1806(_check_class)
13194/298    0.429    0.000    0.017    0.000 /workspace/git/pytorch/torch/_dynamo/guards.py:962(get_guard_manager_from_source)
    56528    0.423    0.000    3.613    0.000 /workspace/git/pytorch/torch/_dynamo/symbolic_convert.py:3995(__init__)
150501/129495    0.420    0.000   21.708    0.000 /workspace/git/pytorch/torch/_dynamo/symbolic_convert.py:2309(_load_attr)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants