Skip to content

Port jit path fixes - #17

Merged
jithunnair-amd merged 4 commits into
ROCm:masterfrom
bmedishe:port_jit_path_fixes
Mar 17, 2022
Merged

jithunnair-amd merged 4 commits into
ROCm:masterfrom
bmedishe:port_jit_path_fixes

Conversation

@bmedishe

@bmedishe bmedishe commented Mar 16, 2022

Copy link
Copy Markdown
Contributor

Port JIT path fixes from Fix JIT path for Pytorch extensions and other hipify fixes (rocm5.0_internal_testing) #906 to hipify_torch

Pytorch build - passes (tested with local pytorch fork with hipify_submodule changes and jit path fix changes )
Changes made on top of jit fix PR changes:

  1. bmedishe/pytorch@0323bf3
  2. bmedishe/pytorch@4874aea

Steps for pytorch build and install

  1. git clone https://github.com/bmedishe/pytorch/tree/hipify_torch_sub_module
  2. git clone https://github.com/ROCmSoftwarePlatform/hipify_torch.git
  3. cd pytorch
  4. git submodule update --init --recursive
  5. cp -r ~/hipify_torch third_party/hipify_torch
  6. python tools/amd_build/build_amd.py
  7. python setup.py install

Deepspeed(upstream 41d90830e2d78c154d560f36c8273ca2f889bbfb) jit build - passes
Deepspeed unittests -
=========================== short test summary info ============================
FAILED tests/unit/test_checkpointing.py::test_checkpoint_moe[4]
FAILED tests/unit/test_checkpointing.py::test_checkpoint_moe_and_zero[4-True]
FAILED tests/unit/test_checkpointing.py::test_checkpoint_moe_and_zero[2-True]
FAILED tests/unit/test_configurable_parallel.py::TestConfigurableMP::test_gpt2_basic
====== 4 failed, 581 passed, 58 skipped, 1 warning in 3850.22s (1:04:10) =======

Attached deepspeed jit build and unittest logs ( Note : #include<THC/THCGeneral.h> removed before building)

@bmedishe
bmedishe requested a review from jithunnair-amd March 16, 2022 19:26
@bmedishe

Copy link
Copy Markdown
Contributor Author

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants