All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Fix issue where the latest published model version would be purged from the memory cache while trials were trying to retrieve it.
- Memory cache now uses
lru
package instead ofccache
COGMENT_MODEL_REGISTRY_VERSION_CACHE_MAX_SIZE
has been deprecated and replaced byCOGMENT_MODEL_REGISTRY_VERSION_CACHE_MAX_ITEMS
.COGMENT_MODEL_REGISTRY_VERSION_CACHE_EXPIRATION
has been deprecated.COGMENT_MODEL_REGISTRY_VERSION_CACHE_PRUNE_COUNT
has been deprecated.
- Implement
cogmentAPI.ModelRegistrySP/RetrieveModels
, the method able to retrieve models and their data.
- Examples in the readme now uses the correct protobuf namespace.
- Add the ability to retrieve any n-th to last version to
cogmentAPI.ModelRegistrySP/RetrieveVersionInfos
,cogmentAPI.ModelRegistrySP/RetrieveVersionData
.
- Breaking Change Update Cogment API to 2.0
- Internal
backend.Backend
now usesuint
for version numbers and uses 0 to request the creation of a new version.
- The model registry now stores transient model versions in a memory cache.
- Introduce
backend.MemoryCacheBackend
a cache backend that stores model version in a upper bounded memory cache and uses another backend for archived versions.
backend.DbBackend
andbackend.HybridBackend
are no longer used and have been removed.
- Fix
database is locked
errors during the initial sync by configuring SQLite for concurrent access.
Introduce Model Registry, a simple versioned key-value store for models