Skip to content

Instantly share code, notes, and snippets.

View patrickhuy's full-sized avatar

Patrick Huy patrickhuy

View GitHub Profile
@patrickhuy
patrickhuy / client.py
Created April 22, 2024 07:26
mlserver adaptive batching issues
import asyncio
import grequests
#import requests
import json
from mlserver.types import InferenceResponse
from mlserver.codecs.string import StringRequestCodec
from pprint import PrettyPrinter
package my.openpojo.tests;
import com.openpojo.reflection.PojoClass;
import com.openpojo.reflection.PojoField;
import com.openpojo.reflection.PojoMethod;
import com.openpojo.reflection.PojoPackage;
import java.lang.annotation.Annotation;
import java.util.List;
import java.util.Set;