ServerlessBayes
Coinfer.ServerlessBayes.AnonymousCloudFunction-
project_dir::String
: The directory which contains the project source code and data. Default: -
entrance_file::String
: The file which defines the requiredmodel
function. Default: main.jl -
entrance_func::String
: The name of the function to run. Default: main -
project_file::String
: The julia project file. Default: Project.toml -
manifest_file::String
: The julia project manifest file. Default: Manifest.toml -
endpoint::String
: Endpoints configuration Default: default_endpoints()
-
model_id::String
: Model ID Default: -
project_dir::String
: The directory which contains the project source code and data. Default: -
entrance_file::String
: The file which defines the requiredmodel
function. Default: main.jl -
entrance_func::String
: The name of the function to run. Default: main -
project_file::String
: The julia project file. Default: Project.toml -
manifest_file::String
: The julia project manifest file. Default: Manifest.toml -
endpoint::String
: Endpoints configuration Default: default_endpoints()
-
model_id::String
: Model ID Default: -
project_dir::String
: The directory which contains the project source code and data. Default: -
entrance_file::String
: The file which defines the requiredmodel
function. Default: main.jl -
entrance_func::String
: The name of the function to run. Default: main -
project_file::String
: The julia project file. Default: Project.toml -
manifest_file::String
: The julia project manifest file. Default: Manifest.toml -
endpoint::String
: Endpoints configuration Default: default_endpoints()
- func:: the config used to locate the function
- args:: the args used to invoke the function
- kwargs:: the keyword args used to invoke the function
- sample_args:: if the function returns a model, then you may provide additional args for sampling
- sample_kwargs:: if the function returns a model, then you may provide additional keyword args for sampling
- rng::StableRNG. The random number generator. Currently only StableRNG is supported.
- model::LocalFunction|CloudFunction|AnonymousCloudFunction. The model meta info.
- parallel::MCMCThreads|MCMCDistributed|MCMCSerial. The algorithm for sampling MCMC chains.
- N::Int. iteration count.
- nchains::Int. Number of chains.
- use_script::Bool. whether to use the script mode or not. In script there will be a script file generated from the parameters of this function and this script will be run in the server side.
- experiment_id::String. The experiment id.
- executor::String. The executor to use: fargate|lambda.
CoinferLogger
Coinfer.CoinferLogger.Experimentcreate_experiment
rather than constructed explicitly.
source
Coinfer.CoinferLogger.Logger
Logger
, which delivers the sample data to that experiment.
source
Coinfer.CoinferLogger.experiments