madiator-docker-runpod/official-templates/better-base/docker-bake.hcl

162 lines
4.3 KiB
HCL
Raw Normal View History

2024-07-20 19:15:37 +02:00
group "default" {
2024-08-06 12:52:39 +02:00
targets = [
"py311-cuda121",
"py311-cuda118",
"py311-cuda124",
2024-08-06 13:05:43 +02:00
"py310-rocm56",
2024-08-06 12:57:02 +02:00
"py310-rocm57",
2024-08-06 13:02:18 +02:00
"py310-rocm602",
2024-08-06 13:05:43 +02:00
"py310-rocm60",
2024-08-06 13:02:18 +02:00
"py310-rocm61",
2024-08-06 12:57:02 +02:00
"py310-rocm612"
2024-08-06 12:52:39 +02:00
]
2024-07-20 19:15:37 +02:00
}
2024-08-06 13:03:41 +02:00
group "rocm" {
targets = [
"py310-rocm56",
"py310-rocm57",
"py310-rocm602",
"py310-rocm60",
"py310-rocm61",
"py310-rocm612"
]
}
2024-08-06 13:14:53 +02:00
# CUDA Targets
2024-08-06 12:52:39 +02:00
target "py311-cuda121" {
2024-07-20 19:15:37 +02:00
contexts = {
2024-08-06 13:05:43 +02:00
default = "../../container-template"
2024-08-06 13:21:06 +02:00
scripts = "../../container-template"
2024-07-20 19:15:37 +02:00
proxy = "../../container-template/proxy"
logo = "../../container-template"
}
dockerfile = "Dockerfile"
args = {
BASE_IMAGE = "nvidia/cuda:12.1.0-cudnn8-devel-ubuntu22.04",
2024-08-06 12:52:39 +02:00
PYTHON_VERSION = "3.11"
2024-07-20 19:15:37 +02:00
}
tags = ["madiator2011/better-base:cuda12.1"]
}
2024-08-06 12:52:39 +02:00
target "py311-cuda118" {
2024-07-20 19:15:37 +02:00
contexts = {
2024-08-06 13:05:43 +02:00
default = "../../container-template"
2024-08-06 13:21:06 +02:00
scripts = "../../container-template"
2024-07-20 19:15:37 +02:00
proxy = "../../container-template/proxy"
logo = "../../container-template"
}
dockerfile = "Dockerfile"
args = {
BASE_IMAGE = "nvidia/cuda:11.8.0-cudnn8-devel-ubuntu22.04",
2024-08-06 12:52:39 +02:00
PYTHON_VERSION = "3.11"
2024-07-20 19:15:37 +02:00
}
tags = ["madiator2011/better-base:cuda11.8"]
}
2024-08-06 12:52:39 +02:00
target "py311-cuda124" {
2024-07-20 19:15:37 +02:00
contexts = {
2024-08-06 13:05:43 +02:00
default = "../../container-template"
2024-08-06 13:21:06 +02:00
scripts = "../../container-template"
2024-07-20 19:15:37 +02:00
proxy = "../../container-template/proxy"
logo = "../../container-template"
}
dockerfile = "Dockerfile"
args = {
BASE_IMAGE = "nvidia/cuda:12.4.1-cudnn-devel-ubuntu22.04",
2024-08-06 12:52:39 +02:00
PYTHON_VERSION = "3.11"
2024-07-20 19:15:37 +02:00
}
tags = ["madiator2011/better-base:cuda12.4"]
}
2024-08-06 12:52:39 +02:00
2024-08-06 13:14:53 +02:00
# ROCm Targets
2024-08-06 12:57:02 +02:00
target "py310-rocm56" {
2024-08-06 12:52:39 +02:00
contexts = {
2024-08-06 13:05:43 +02:00
default = "../../container-template"
2024-08-06 13:21:06 +02:00
scripts = "../../container-template"
2024-08-06 12:52:39 +02:00
proxy = "../../container-template/proxy"
logo = "../../container-template"
}
dockerfile = "Dockerfile"
args = {
2024-08-06 13:14:53 +02:00
BASE_IMAGE = "rocm/pytorch:rocm5.6_ubuntu20.04_py3.8_pytorch_2.0.1",
2024-08-06 12:57:02 +02:00
PYTHON_VERSION = "3.10"
2024-08-06 12:52:39 +02:00
}
tags = ["madiator2011/better-base:rocm5.6"]
}
2024-08-06 12:57:02 +02:00
target "py310-rocm57" {
2024-08-06 12:52:39 +02:00
contexts = {
2024-08-06 13:05:43 +02:00
default = "../../container-template"
2024-08-06 13:21:06 +02:00
scripts = "../../container-template"
2024-08-06 12:52:39 +02:00
proxy = "../../container-template/proxy"
logo = "../../container-template"
}
dockerfile = "Dockerfile"
args = {
2024-08-06 12:57:02 +02:00
BASE_IMAGE = "rocm/pytorch:rocm5.7_ubuntu22.04_py3.10_pytorch_2.0.1",
PYTHON_VERSION = "3.10"
2024-08-06 12:52:39 +02:00
}
tags = ["madiator2011/better-base:rocm5.7"]
}
2024-08-06 13:02:18 +02:00
target "py310-rocm602" {
contexts = {
2024-08-06 13:05:43 +02:00
default = "../../container-template"
2024-08-06 13:21:06 +02:00
scripts = "../../container-template"
2024-08-06 13:02:18 +02:00
proxy = "../../container-template/proxy"
logo = "../../container-template"
}
dockerfile = "Dockerfile"
args = {
BASE_IMAGE = "rocm/pytorch:rocm6.0.2_ubuntu22.04_py3.10_pytorch_2.1.2",
PYTHON_VERSION = "3.10"
}
tags = ["madiator2011/better-base:rocm6.0.2"]
}
target "py310-rocm60" {
contexts = {
2024-08-06 13:05:43 +02:00
default = "../../container-template"
2024-08-06 13:21:06 +02:00
scripts = "../../container-template"
2024-08-06 13:02:18 +02:00
proxy = "../../container-template/proxy"
logo = "../../container-template"
}
dockerfile = "Dockerfile"
args = {
2024-08-06 13:14:53 +02:00
BASE_IMAGE = "rocm/pytorch:rocm6.0_ubuntu20.04_py3.9_pytorch_2.1.1",
2024-08-06 13:02:18 +02:00
PYTHON_VERSION = "3.10"
}
tags = ["madiator2011/better-base:rocm6.0"]
}
target "py310-rocm61" {
contexts = {
2024-08-06 13:05:43 +02:00
default = "../../container-template"
2024-08-06 13:21:06 +02:00
scripts = "../../container-template"
2024-08-06 13:02:18 +02:00
proxy = "../../container-template/proxy"
logo = "../../container-template"
}
dockerfile = "Dockerfile"
args = {
BASE_IMAGE = "rocm/pytorch:rocm6.1_ubuntu22.04_py3.10_pytorch_2.1.2",
PYTHON_VERSION = "3.10"
}
tags = ["madiator2011/better-base:rocm6.1"]
}
2024-08-06 12:57:02 +02:00
target "py310-rocm612" {
2024-08-06 12:52:39 +02:00
contexts = {
2024-08-06 13:05:43 +02:00
default = "../../container-template"
2024-08-06 13:21:06 +02:00
scripts = "../../container-template"
2024-08-06 12:52:39 +02:00
proxy = "../../container-template/proxy"
logo = "../../container-template"
}
dockerfile = "Dockerfile"
args = {
2024-08-06 12:57:02 +02:00
BASE_IMAGE = "rocm/pytorch:rocm6.1.2_ubuntu22.04_py3.10_pytorch_release-2.1.2",
PYTHON_VERSION = "3.10"
2024-08-06 12:52:39 +02:00
}
tags = ["madiator2011/better-base:rocm6.1.2"]
}