okustera_ai_foundry_model (Resource)
The okustera_ai_foundry_model resource mirrors upstream foundation models into shared CephFS (/models/foundry), enforcing strict SafeTensors header validation, rejecting unsafe Python pickle (.bin/.pt) weights, and verifying SHA-256 digests.
Example Usage
resource "okustera_ai_foundry_model" "qwen_base" {
repo_id = "Qwen/Qwen2.5-1.5B-Instruct"
revision = "main"
license = "apache-2.0"
architecture = "Qwen2ForCausalLM"
files = ["model.safetensors", "config.json", "tokenizer.json"]
}