Skip to content

Commit 67bcef8

Browse files
committed
resolving comments
1 parent c1fc264 commit 67bcef8

6 files changed

Lines changed: 51 additions & 420 deletions

File tree

docker_build_dependency_image.sh

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -66,28 +66,6 @@ if [[ ${DEVICE} == "gpu" ]]; then
6666
export BASEIMAGE=ghcr.io/nvidia/jax:base
6767
fi
6868
docker build --network host --build-arg MODE=${MODE} --build-arg JAX_VERSION=$JAX_VERSION --build-arg DEVICE=$DEVICE --build-arg BASEIMAGE=$BASEIMAGE -f ./maxdiffusion_gpu_dependencies.Dockerfile -t ${LOCAL_IMAGE_NAME} .
69-
<<<<<<< HEAD
70-
else
71-
if [[ ${MODE} == "stable_stack" || ${MODE} == "jax_ai_image" ]]; then
72-
if [[ ! -v BASEIMAGE ]]; then
73-
echo "Erroring out because BASEIMAGE is unset, please set it!"
74-
exit 1
75-
fi
76-
docker build --no-cache \
77-
--build-arg JAX_AI_IMAGE_BASEIMAGE=${BASEIMAGE} \
78-
--build-arg COMMIT_HASH=${COMMIT_HASH} \
79-
--network=host \
80-
-t ${LOCAL_IMAGE_NAME} \
81-
-f maxdiffusion_jax_ai_image_tpu.Dockerfile .
82-
else
83-
docker build --no-cache \
84-
--network=host \
85-
--build-arg MODE=${MODE} \
86-
--build-arg JAX_VERSION=${JAX_VERSION} \
87-
-t ${LOCAL_IMAGE_NAME} \
88-
-f maxdiffusion_dependencies.Dockerfile .
89-
fi
90-
=======
9169
else
9270
# Default to maxdiffusion_dependencies.Dockerfile for non-GPU builds
9371
export BASEIMAGE=${BASEIMAGE:-python:3.12-slim-bullseye}
@@ -98,5 +76,4 @@ else
9876
--build-arg BASEIMAGE=${BASEIMAGE} \
9977
-t ${LOCAL_IMAGE_NAME} \
10078
-f maxdiffusion_dependencies.Dockerfile .
101-
>>>>>>> origin/main
10279
fi

maxdiffusion_jax_ai_image_tpu.Dockerfile

Lines changed: 0 additions & 31 deletions
This file was deleted.

setup.cfg

Lines changed: 0 additions & 20 deletions
This file was deleted.

setup.py

Lines changed: 0 additions & 299 deletions
This file was deleted.

setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,4 +165,4 @@ else
165165
fi
166166

167167
# Install maxdiffusion
168-
python3 -m uv pip install --no-deps .
168+
python3 -m uv pip install --no-deps .

0 commit comments

Comments
 (0)