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

Collect CUDA/CPU profiling info into result sheets. #5921

Merged
merged 2 commits into from
Nov 28, 2023

Commits on Nov 23, 2023

  1. Collect CUDA/CPU profiling info into result sheets.

    This PR:
    0. Adds CUDA/CPU collection capabilties to the script.
    1. Modifies result_analyzer.py to analyze newly collected results.
    2. Moves CUDA synchronize/XLA device synchronize into the profiler.
    3. Fixes list typing for Python 3.8+.
    
    Tested with command:
    python3 xla/benchmarks/experiment_runner.py --dynamo=openxla --xla=PJRT --test=train --filter=basic_gnn_gcn$ --suite-name=torchbench --accelerator=cuda --progress-bar --output-dirname=/tmp/output --repeat=2 --print-subprocess --no-resume --profile-cuda-cpu-collect --profile-cuda
    python3 xla/benchmarks/result_analyzer.py --output-dir=/tmp/output
    root committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    80ca0fc View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2023

  1. Configuration menu
    Copy the full SHA
    ac84ed1 View commit details
    Browse the repository at this point in the history