Properly handle incorrect CLI arguments in tt-smi
Opened this issue · 3 comments
hmohiuddinTT commented
sbansalTT commented
Looks like there is a device id 8 doesn't exist on the pci bus. Could you remove it and try again?
But, I will also add a cleaner exit when the device isn't found - to make it easier for user to debug
hmohiuddinTT commented
Oh yeah I didn't even realize I added an extra device, but yeah we should still handle it gracefully.
warthog9 commented
more try/except blocks! ;-)