Use get_devtype().type instead of str(get_devtype()) so HPU no longer leaks its :0 index into device_type, matching test_fake_pg.py. Removes the last str(get_devtype()) in the repo.
Pull Request resolved: #186169
Approved by: https://github.com/jansel
Intelligence View
trunk/e98035fccfe9cf55b7d8c410bb712fb757338e22: Normalize device_type in distributed reordering/logger tests (#186169)
Use get_devtype().type instead of str(get_devtype()) so HPU no longer leaks its :0 index into device_type, matching test_fake_pg.py. Removes the last str(get_devtype()) in the repo. Pull Request resolved: #186169 Approved by:…