Simplismart client methods below (e.g. client.create_model_repo(...)).
list_model_repos
Lists model repositories with optional filtering. Run with SIMPLISMART_PG_TOKEN set as an environment variable (e.g. in .env).
ModelRepoListParams
get_model_repo
Gets a specific model repository by ID. Set MODEL_REPO_ID in env, or use a UUID from list_model_repos.
create_model_repo
Bring your own container-based models from Docker Hub, Depot or NVIDIA NGC registry. Use enviroment vars for credentials (e.g. SOURCE_SECRET_ID); do not hardcode secrets.
source_secret entirely (org_id is optional too). This is the minimal call to bring up a public container:
ModelRepoCreate
*
source_secret is required for depot and nvidiadockersecret. Public docker_hub images do not need it.
Source Type Options
Expected output
create_model_repo_private_compile
Creates a private compile model repository: the platform compiles the model from a source (e.g. Hugging Face) using your model config, optimisation config, and pipeline config.
ModelRepoCompileCreate
Config files (private compile)
Example configs are in the SDK repo underexamples/private-compile-sample/:
model_config.json— Model architecture and tokenizer options (e.g.architectures,hidden_size,max_position_embeddings,torch_dtype). Must match the model you are compiling.
optimisation_config.json— Backend, warmups, and optimisations (e.g.quantization,tensor_parallel_size,optimisations.dit_optimisation,backend). Example
pipeline_config.json— Pipeline type and options (e.g.type,loras,quantized_model_path,enable_model_caching,mode).
For a datailed example, checkout this code snippet in Python: Full example: simplismart-python/examples/private-compile-sample/.