@mytec: iter3.5.1 ready for testing
This commit is contained in:
@@ -33,3 +33,9 @@ async def gpu_set_device(request: SetDeviceRequest):
|
||||
return {"status": "ok", **result}
|
||||
except ValueError as e:
|
||||
raise HTTPException(status_code=400, detail=str(e))
|
||||
|
||||
|
||||
@router.get("/diagnostics")
|
||||
async def gpu_diagnostics():
|
||||
"""Full GPU diagnostic info for troubleshooting detection issues."""
|
||||
return gpu_manager.get_diagnostics()
|
||||
|
||||
Reference in New Issue
Block a user