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

R2.1 #5651

Closed
wants to merge 24 commits into from
Closed

R2.1 #5651

wants to merge 24 commits into from

Commits on Aug 29, 2023

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

Commits on Sep 1, 2023

  1. Update pytorch git tag for r2.1 (#5529)

    Update more places
    
    Add torch_pin
    wonjoolee95 authored Sep 1, 2023
    Configuration menu
    Copy the full SHA
    3b34ae1 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2023

  1. Enable megacore_dense by default (#5520) (#5531)

    Summary:
    This change enables megacore_dense by default to allow asynchorous cc
    ops especailly for GSPMD.
    
    Test Plan:
    CI
    
    Co-authored-by: Jiewen Tan <jwtan@google.com>
    wonjoolee95 and alanwaketan authored Sep 5, 2023
    Configuration menu
    Copy the full SHA
    bd1958f View commit details
    Browse the repository at this point in the history
  2. Add option to unbundle libtpu (#5534) (#5536)

    * Add optiona to unbundle libtpu
    
    * Add clarifying note
    will-cromar authored Sep 5, 2023
    Configuration menu
    Copy the full SHA
    7a01093 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a1d3651 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2023

  1. Fix FSDP for Models with Frozen Weights (#5484) (#5539)

    * Fix fsdp not freeing forzen full params
    
    * add test
    
    * formatting
    
    * remove unnecessary env var in test
    
    Co-authored-by: Liyang90 <liyanglu@google.com>
    wonjoolee95 and Liyang90 authored Sep 6, 2023
    Configuration menu
    Copy the full SHA
    89574d2 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2023

  1. Update r2.1 wheel to be compatible with PyPI (#5550)

    * Update project metadata and remove useless files
    
    * Update README
    
    * Add manylinux platform tag
    
    * formatting
    will-cromar authored Sep 8, 2023
    Configuration menu
    Copy the full SHA
    691838f View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2023

  1. Add resnet50-weight-quant colab notebook (#5407) (#5556)

    * Add resnet50-weight-only-quant colab notebook
    
    * update notebook with llama blog link
    
    Co-authored-by: Siyuan Liu <lsiyuan@google.com>
    wonjoolee95 and lsy323 authored Sep 13, 2023
    Configuration menu
    Copy the full SHA
    9bcf3f7 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2023

  1. [Pin Update] Version 20230826(#5527) (#5555)

    Co-authored-by: Jiewen Tan <jwtan@google.com>
    ManfeiBai and alanwaketan authored Sep 14, 2023
    Configuration menu
    Copy the full SHA
    2c07df9 View commit details
    Browse the repository at this point in the history
  2. Cherry pick pjrt:// init method rename and doc updates (#5562)

    * Change `pjrt://` init method to `xla://` (#5560)
    
    * Update PJRT documentation for the 2.1 release (#5557)
    
    * Update PJRT documentation for the 2.1 release
    
    * clarify plugins
    
    * clarify PJRT doc
    
    * Update `pjrt://` to `xla://`
    will-cromar authored Sep 14, 2023
    Configuration menu
    Copy the full SHA
    ee72332 View commit details
    Browse the repository at this point in the history
  3. Update torch pin (#5575)

    wonjoolee95 authored Sep 14, 2023
    Configuration menu
    Copy the full SHA
    02858b9 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2023

  1. Configuration menu
    Copy the full SHA
    f0f9126 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c55ef0b View commit details
    Browse the repository at this point in the history
  3. [author: jluntamazon] Adding more explicit HLO lowering control by ex…

    …posing LoweringContext… (#5431) (#5580)
    
    * Adding more explicit HLO lowering control by exposing LoweringContext (and utilities) to python for Neuron
    
    * fixing linter issues
    
    * fixing spacing
    
    * apply comments and fix compilation errors
    
    * add test for new apis
    
    * fix linter
    
    * update test
    
    * update test
    
    * modify test
    
    * reverse back to GetIrValue()
    
    * update test inputs with random numbers
    
    * skip unittest because it only fails in CI
    
    ---------
    
    Co-authored-by: aws-kingrj <78175353+aws-kingrj@users.noreply.github.com>
    Co-authored-by: Ubuntu <ubuntu@ip-172-31-3-186.us-west-2.compute.internal>
    Co-authored-by: seanlatias <seanlatias@gmail.com>
    4 people authored Sep 15, 2023
    Configuration menu
    Copy the full SHA
    4ec0997 View commit details
    Browse the repository at this point in the history
  4. fixing num_local_processes typo (#5573) (#5579)

    Co-authored-by: aws-kingrj <78175353+aws-kingrj@users.noreply.github.com>
    will-cromar and aws-kingrj authored Sep 15, 2023
    Configuration menu
    Copy the full SHA
    cbb1602 View commit details
    Browse the repository at this point in the history
  5. Move where clear pending IR is called to avoid crash (#5552) (#5582)

    * Move where clear pending IR is called to avoid crash
    
    * fix CI
    
    * fix CI and add some debugging messages
    JackCaoG authored Sep 15, 2023
    Configuration menu
    Copy the full SHA
    3e2bf8a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    79ce1c5 View commit details
    Browse the repository at this point in the history
  7. Improve bernoulli rng-bit-generation memory footprint (#5581) (#5589)

    * Allow downcasting RngUniform genenration for Bernoulli
    
    Co-authored-by: Yeounoh Chung <yeounoh@google.com>
    ManfeiBai and yeounoh authored Sep 15, 2023
    Configuration menu
    Copy the full SHA
    fa5d132 View commit details
    Browse the repository at this point in the history
  8. Enable xla:gpu autocast for bfloat16 if not restricted (#5570) (#5591)

    * Enable autocast for XLA:GPU
    
    * linter fix
    
    * XLA autocast test for GPU and TPU
    
    * linter fix
    
    * Ensure that xla autocast is properly enabled for GPU and does not crash when torch cuda is not available.
    
    * linter fix
    
    * Add tests
    
    * Support bf16
    
    * linter fix
    
    * exclude unsupported test cases
    
    * increase GPU test timeout to 300
    
    Co-authored-by: Yeounoh Chung <yeounoh@google.com>
    will-cromar and yeounoh authored Sep 15, 2023
    Configuration menu
    Copy the full SHA
    1e6c11d View commit details
    Browse the repository at this point in the history
  9. Cherry-pick: Don't trigger CI build on release tag push (#5595)

    Copy of #5594 on release branch
    will-cromar authored Sep 15, 2023
    Configuration menu
    Copy the full SHA
    5fcf79c View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2023

  1. XLA pin downgrade to 20230825 (#5592) (#5604)

    Summary:
    The 20230826 version contains openxla/xla@3b8a539
    whch regresses our LLaMA2 GSPMD training benchmark. Let's rollback to version
    before it.
    
    Test Plan:
    CI.
    
    Co-authored-by: Jiewen Tan <jwtan@google.com>
    ManfeiBai and alanwaketan authored Sep 19, 2023
    Configuration menu
    Copy the full SHA
    53fa74c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2d2c80c View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2023

  1. Fix log spam when libtpu is loaded (#5619) (#5621)

    * Fix log spam when libtpu is loaded (#5619)
    
    * fix conflict
    
    * only cherry-pick
    
    ---------
    
    Co-authored-by: Will Cromar <wcromar@google.com>
    ManfeiBai and will-cromar authored Sep 20, 2023
    Configuration menu
    Copy the full SHA
    b62be6e View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2023

  1. lower NativeDropoutBackward (#5642) and lower native_dropout (#5643) (#…

    …5647)
    
    * lower NativeDropoutBackward (#5642)
    
    * lower NativeDropoutBackward
    
    * fix lowering and add python test
    
    * lower native_dropout (#5643)
    
    * prototype version (compiling error)
    
    * Add native_dropout manual lowering.
    
    * fix to tensor IR and add a simple native_dropout test
    
    * fix data type issue and update test case
    
    * fix IR hash issue
    
    * fix corner case when probability==0
    
    * remove typo line
    
    * add test case when probability=0
    
    ---------
    
    Co-authored-by: JackCaoG <59073027+JackCaoG@users.noreply.github.com>
    Co-authored-by: zpcore <piz@google.com>
    3 people authored Sep 26, 2023
    Configuration menu
    Copy the full SHA
    b840137 View commit details
    Browse the repository at this point in the history