I tried the following with the predict API to get predictions and could never get a results. Watching htop and nvidia-smi, I wondered if the system was not using the GPU with these models and so could not get a result in a timely manner.
requests.post("https://mears-prod-01.dbmi.pitt.edu/tempo/datasets/homehealth_v2/models/Falls%20RNN%2003272025/predict",
json={
'ids': [8443425335,8444000311,8444055096,8444075318,8444139061,8444156317,8444189675,8444253869,8444254501,8444262678,8444267525,8444306482,8444334489,8444370349,8444501972,8444532216,8444563774,8444565730,8444908693,8444980991,8446075983,8446116040,8446212669,8446299601,8446658036,8446852531,8446946778,8446975968,8448047880,8448090963,8448338393,8448372898,8448464276,8448487233,8448627225,8448646693,8448733905,8448765194,8448874740,8448875711,8448884247,8448933811]
}).json()
requests.post("https://mears-prod-01.dbmi.pitt.edu/tempo/datasets/homehealth_v2/models/GI%20Bleeds%20DNN%2003272025/predict",
json={
'ids': [8443425335,8444000311,8444055096]
}).json()
I tried the following with the predict API to get predictions and could never get a results. Watching htop and nvidia-smi, I wondered if the system was not using the GPU with these models and so could not get a result in a timely manner.