Files
storyteller-ml/animation/hallo-83dd4eb/docker-56038fd/docker-bake.hcl
T
2024-07-30 11:39:15 +05:30

48 lines
958 B
HCL

variable "REGISTRY" {
default = "docker.io"
}
variable "REGISTRY_USER" {
default = "ashleykza"
}
variable "APP" {
default = "hallo"
}
variable "RELEASE" {
default = "1.2.0"
}
variable "CU_VERSION" {
default = "121"
}
variable "BASE_IMAGE_REPOSITORY" {
default = "ashleykza/runpod-base"
}
variable "BASE_IMAGE_VERSION" {
default = "1.7.0"
}
variable "CUDA_VERSION" {
default = "12.1.1"
}
variable "TORCH_VERSION" {
default = "2.2.2"
}
target "default" {
dockerfile = "Dockerfile"
tags = ["${REGISTRY}/${REGISTRY_USER}/${APP}:${RELEASE}"]
args = {
RELEASE = "${RELEASE}"
BASE_IMAGE = "${BASE_IMAGE_REPOSITORY}:${BASE_IMAGE_VERSION}-cuda${CUDA_VERSION}-torch${TORCH_VERSION}"
INDEX_URL = "https://download.pytorch.org/whl/cu${CU_VERSION}"
TORCH_VERSION = "${TORCH_VERSION}+cu${CU_VERSION}"
XFORMERS_VERSION = "0.0.25.post1"
HALLO_VERSION = "v1.0.0"
}
}