Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rebase #6461

Merged
merged 24 commits into from
Feb 3, 2024
Merged

rebase #6461

merged 24 commits into from
Feb 3, 2024

Conversation

ManfeiBai
Copy link
Collaborator

No description provided.

ysiraichi and others added 24 commits January 31, 2024 18:54
)

This reverts commit 010b6f0.

This should pass CI since CI now has the tabulate package.
Add some more styles and wrap around the style arrays so that we never access them out of bounds.

While at it, fix --report=speedup plots to support missing points; matplotlib's errorbars take empty points as NaN's instead of None's.
Summary:
This pull request tries to unify all TORCH_LIBRARY definitions across torch_xla into one xla library.

Test Plan:
CI
This fixes the following error, caught by yesterday's nightly run:
```
$ cd pytorch
$ python xla/benchmarks/experiment_runner.py --test=eval --test=train --xla=PJRT --dynamo=None --dynamo=openxla --dynamo=openxla_eval --suite-name=torchbench --accelerator=cuda --output-dirname=/tmp/foo --repeat=8 --print-subprocess --timestamp=1706835612
[...]
Traceback (most recent call last):
  File "/home/ecg/nightly_runs/2024-02-02/pytorch/xla/benchmarks/experiment_runner.py", line 908, in <module>
    main()
  File "/home/ecg/nightly_runs/2024-02-02/pytorch/xla/benchmarks/experiment_runner.py", line 903, in main
    runner = ExperimentRunner(args)
  File "/home/ecg/nightly_runs/2024-02-02/pytorch/xla/benchmarks/experiment_runner.py", line 41, in __init__
    self.model_loader = TorchBenchModelLoader(self._args)
  File "/home/ecg/nightly_runs/2024-02-02/pytorch/xla/benchmarks/torchbench_model.py", line 160, in __init__
    self.skip = self.get_skip_data()
  File "/home/ecg/nightly_runs/2024-02-02/pytorch/xla/benchmarks/torchbench_model.py", line 202, in get_skip_data
    with open(skip_file) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/ecg/nightly_runs/2024-02-02/pytorch/benchmarks/dynamo/dynamo/torchbench_skip_models.yaml'
```
@ManfeiBai ManfeiBai marked this pull request as ready for review February 3, 2024 00:05
@ManfeiBai ManfeiBai merged commit beeda05 into ManfeiBai-patch-62 Feb 3, 2024
24 of 25 checks passed
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.