Move iroh_driver and the relay binary out of distribution into a dedicated crates/iroh-driver (lib re-exports IrohDriver; relay bin renamed). Remove the node crate and the single-gpu-inference example; drop the docker/datastream demo. Slim pipeline-parallel vastai. Signed-off-by: Zachery Aaron Shores-Chmielewski <zacheryasc@gmail.com>
34 lines
1.1 KiB
Rust
34 lines
1.1 KiB
Rust
//! Peripheral vast.ai provisioning utility.
|
|
//!
|
|
//! This crate is intentionally outside `crates/`: swactor itself stays a
|
|
//! general-purpose actor runtime, while this utility rents, monitors, and tears
|
|
//! down vast.ai machines for apps that choose to use it.
|
|
|
|
pub mod client;
|
|
pub mod config;
|
|
pub mod filters;
|
|
pub mod lease;
|
|
pub mod logs;
|
|
pub mod monitor;
|
|
pub mod pricing;
|
|
pub mod provision;
|
|
pub mod search;
|
|
pub mod state;
|
|
pub mod teardown;
|
|
pub mod types;
|
|
|
|
pub use client::VastClient;
|
|
pub use lease::{confirm_lease, provision_fleet};
|
|
pub use logs::{fetch_logs, request_logs};
|
|
pub use monitor::{wait_for_running, wait_for_running_with_policy};
|
|
pub use pricing::CostModel;
|
|
pub use provision::create_instance;
|
|
pub use search::{select_offer_pool, select_offer_pool_with_policy};
|
|
pub use teardown::{
|
|
destroy_all_instances, destroy_instance, destroy_instance_with_retry, list_instances_by_label,
|
|
};
|
|
pub use types::{
|
|
ContractRef, CreateInstanceRequest, FleetState, InstanceInfo, LabeledInstance, LifecyclePolicy,
|
|
Offer, ProvisionRequest, ProvisionedFleet, ProvisionedInstance, RunningInstance,
|
|
SelectionPolicy,
|
|
};
|