mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 12:56:30 +00:00
read cdn yaml config from api
automate tensorrt model conversion in case of no existing one for user's gpu
This commit is contained in:
@@ -9,11 +9,12 @@ cdef str ANNOTATIONS_QUEUE = "azaion-annotations"
|
||||
cdef str API_URL = "https://api.azaion.com" # Base URL for the external API
|
||||
cdef str QUEUE_CONFIG_FILENAME = "secured-config.json"
|
||||
|
||||
cdef str AI_ONNX_MODEL_FILE_BIG = "azaion.onnx.big"
|
||||
cdef str AI_ONNX_MODEL_FILE_SMALL = "azaion.onnx.small"
|
||||
cdef str AI_ONNX_MODEL_FILE = "azaion.onnx"
|
||||
|
||||
cdef str AI_TENSOR_MODEL_FILE_BIG = "azaion.engine.big"
|
||||
cdef str AI_TENSOR_MODEL_FILE_SMALL = "azaion.engine.small"
|
||||
cdef str CDN_CONFIG = "cdn.yaml"
|
||||
cdef str MODELS_FOLDER = "models"
|
||||
|
||||
cdef int SMALL_SIZE_KB = 3
|
||||
|
||||
cdef log(str log_message, bytes client_id=None):
|
||||
local_time = time.strftime('%Y-%m-%d %H:%M:%S', time.localtime())
|
||||
|
||||
Reference in New Issue
Block a user