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

96 lines
2.6 KiB
HCL
Raw Permalink Normal View History

2024-08-06 15:00:55 +02:00
group "default" {
targets = [
2024-08-06 15:06:39 +02:00
"py38-rocm56",
2024-08-06 15:00:55 +02:00
"py310-rocm57",
"py310-rocm602",
2024-08-06 15:06:39 +02:00
"py39-rocm60",
2024-08-06 15:00:55 +02:00
"py310-rocm61",
"py310-rocm612"
]
}
# ROCm Targets
2024-08-06 15:06:39 +02:00
target "py38-rocm56" {
2024-08-06 15:00:55 +02:00
contexts = {
default = "../../container-template"
scripts = "../../container-template"
proxy = "../../container-template/proxy"
logo = "../../container-template"
}
dockerfile = "Dockerfile"
args = {
BASE_IMAGE = "rocm/pytorch:rocm5.6_ubuntu20.04_py3.8_pytorch_2.0.1"
}
tags = ["madiator2011/better-base:rocm5.6"]
}
target "py310-rocm57" {
contexts = {
default = "../../container-template"
scripts = "../../container-template"
proxy = "../../container-template/proxy"
logo = "../../container-template"
}
dockerfile = "Dockerfile"
args = {
BASE_IMAGE = "rocm/pytorch:rocm5.7_ubuntu22.04_py3.10_pytorch_2.0.1"
}
tags = ["madiator2011/better-base:rocm5.7"]
}
target "py310-rocm602" {
contexts = {
default = "../../container-template"
scripts = "../../container-template"
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"
}
tags = ["madiator2011/better-base:rocm6.0.2"]
}
2024-08-06 15:06:39 +02:00
target "py39-rocm60" {
2024-08-06 15:00:55 +02:00
contexts = {
default = "../../container-template"
scripts = "../../container-template"
proxy = "../../container-template/proxy"
logo = "../../container-template"
}
dockerfile = "Dockerfile"
args = {
BASE_IMAGE = "rocm/pytorch:rocm6.0_ubuntu20.04_py3.9_pytorch_2.1.1"
}
tags = ["madiator2011/better-base:rocm6.0"]
}
target "py310-rocm61" {
contexts = {
default = "../../container-template"
scripts = "../../container-template"
proxy = "../../container-template/proxy"
logo = "../../container-template"
}
dockerfile = "Dockerfile"
args = {
BASE_IMAGE = "rocm/pytorch:rocm6.1_ubuntu22.04_py3.10_pytorch_2.1.2"
}
tags = ["madiator2011/better-base:rocm6.1"]
}
target "py310-rocm612" {
contexts = {
default = "../../container-template"
scripts = "../../container-template"
proxy = "../../container-template/proxy"
logo = "../../container-template"
}
dockerfile = "Dockerfile"
args = {
BASE_IMAGE = "rocm/pytorch:rocm6.1.2_ubuntu22.04_py3.10_pytorch_release-2.1.2"
}
tags = ["madiator2011/better-base:rocm6.1.2"]
}