Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consolidate emulator comparison examples, and add docs pages for them. #257

Merged
merged 4 commits into from
Dec 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 0 additions & 64 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,67 +52,3 @@ steps:
queue: central
slurm_ntasks: 1

- label: "Gaussian Process Emulator"
key: "gaussian_process_emulator"
command: |
export PYTHON="$$JULIA_DEPOT_PATH/conda/3/x86_64/bin/python"
export PYTHONHOME="$$JULIA_DEPOT_PATH/conda/3/x86_64/bin"
export CONDA_JL_HOME="$$JULIA_DEPOT_PATH/conda/3/x86_64/"

mkdir examples/Emulator/GaussianProcess/depot
export JULIA_DEPOT_PATH="$$(pwd)/examples/Emulator/GaussianProcess/depot:$JULIA_DEPOT_PATH"

julia --color=yes --project=examples/Emulator/GaussianProcess -e '
println("--- Developing Project")
using Pkg;
Pkg.develop(path=".")
Pkg.update()
println("--- Instantiating Project")
Pkg.instantiate()
println("+++ Running PlotGP")
include("examples/Emulator/GaussianProcess/plot_GP.jl")
println("+++ Running Learn Noise")
include("examples/Emulator/GaussianProcess/learn_noise.jl")'
artifact_paths:
- "examples/Emulator/GaussianProcess/output/*.png"
env:
PYTHON: "$$JULIA_DEPOT_PATH/conda/3/bin/python"
PYTHONHOME: "$$JULIA_DEPOT_PATH/conda/3/bin"
CONDA_JL_HOME: "$$JULIA_DEPOT_PATH/conda/3"
agents:
config: cpu
queue: central
slurm_ntasks: 1

- label: "Random Feature Emulator"
key: "random_feature_emulator"
command: |
export PYTHON="$$JULIA_DEPOT_PATH/conda/3/x86_64/bin/python"
export PYTHONHOME="$$JULIA_DEPOT_PATH/conda/3/x86_64/bin"
export CONDA_JL_HOME="$$JULIA_DEPOT_PATH/conda/3/x86_64/"

mkdir examples/Emulator/RandomFeature/depot
export JULIA_DEPOT_PATH="$$(pwd)/examples/Emulator/RandomFeature/depot:$JULIA_DEPOT_PATH"

julia --color=yes --project=examples/Emulator/RandomFeature -e '
println("--- Developing Project")
using Pkg;
Pkg.develop(path=".")
Pkg.update()
println("--- Instantiating Project")
Pkg.instantiate()
println("+++ Running Scalar Random Feature cases")
include("examples/Emulator/RandomFeature/scalar_optimize_and_plot_RF.jl")
println("+++ Running Vector Random Feature cases")
include("examples/Emulator/RandomFeature/vector_optimize_and_plot_RF.jl")'
artifact_paths:
- "examples/Emulator/RandomFeature/output/*.png"
env:
PYTHON: "$$JULIA_DEPOT_PATH/conda/3/bin/python"
PYTHONHOME: "$$JULIA_DEPOT_PATH/conda/3/bin"
CONDA_JL_HOME: "$$JULIA_DEPOT_PATH/conda/3"
agents:
config: cpu
queue: central
slurm_ntasks: 1

Loading
Loading