mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 22:16:30 +00:00
e798af470b
automate tensorrt model conversion in case of no existing one for user's gpu
14 lines
419 B
Cython
14 lines
419 B
Cython
cdef class CDNCredentials:
|
|
cdef str host
|
|
cdef str downloader_access_key
|
|
cdef str downloader_access_secret
|
|
cdef str uploader_access_key
|
|
cdef str uploader_access_secret
|
|
|
|
cdef class CDNManager:
|
|
cdef CDNCredentials creds
|
|
cdef object download_client
|
|
cdef object upload_client
|
|
|
|
cdef upload(self, str bucket, str filename, bytes file_bytes)
|
|
cdef download(self, str bucket, str filename) |