Skip to content

Commit 57aaf0d

Browse files
committed
Reverting dockerfiles to match with main
1 parent 7bfc64a commit 57aaf0d

2 files changed

Lines changed: 1 addition & 25 deletions

File tree

maxdiffusion_dependencies.Dockerfile

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
1-
<<<<<<< HEAD
2-
# Use Python 3.12-slim-bullseye as the base image
3-
FROM python:3.12-slim-bullseye
4-
=======
51
# Use Python 3.12-slim-bullseye as the base image unless overridden
62
ARG BASEIMAGE=python:3.12-slim-bullseye
73
FROM $BASEIMAGE
8-
>>>>>>> origin/main
94

105
# Environment variable for no-cache-dir and pip root user warning
116
ENV PIP_NO_CACHE_DIR=1
@@ -18,13 +13,8 @@ ENV CLOUD_SDK_VERSION=latest
1813
# Set DEBIAN_FRONTEND to noninteractive to avoid frontend errors
1914
ENV DEBIAN_FRONTEND=noninteractive
2015

21-
<<<<<<< HEAD
22-
# Upgrade pip to the latest version
23-
RUN python -m pip install --upgrade pip --no-warn-script-location
24-
=======
2516
# Upgrade pip to the latest version and install uv
2617
RUN python -m pip install --upgrade pip uv --no-warn-script-location
27-
>>>>>>> origin/main
2818

2919
# Install system dependencies
3020
RUN apt-get update && apt-get install -y apt-utils git curl gnupg procps iproute2 ethtool && rm -rf /var/lib/apt/lists/*
@@ -36,26 +26,12 @@ RUN curl -fsSL https://packages.cloud.google.com/apt/doc/apt-key.gpg | gpg --dea
3626
# Install the Google Cloud SDK
3727
RUN apt-get update && apt-get install -y google-cloud-sdk && rm -rf /var/lib/apt/lists/*
3828

39-
<<<<<<< HEAD
40-
# Install cloud-accelerator-diagnostics
41-
RUN pip install cloud-accelerator-diagnostics
42-
43-
# Install cloud-tpu-diagnostics
44-
RUN pip install cloud-tpu-diagnostics
45-
46-
# Install gcsfs
47-
RUN pip install gcsfs
48-
49-
# Install google-cloud-storage
50-
RUN pip install google-cloud-storage
51-
=======
5229
# Install diagnostic and storage dependencies using uv
5330
RUN python -m uv pip install --system \
5431
cloud-accelerator-diagnostics \
5532
cloud-tpu-diagnostics \
5633
gcsfs \
5734
google-cloud-storage
58-
>>>>>>> origin/main
5935

6036
# Args
6137
ARG MODE

src/maxdiffusion/configs/base_wan_27b.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ activations_dtype: 'bfloat16'
4444

4545
# Replicates vae across devices instead of using the model's sharding annotations for sharding.
4646
replicate_vae: False
47-
vae_spatial: -1
47+
vae_spatial: 1
4848

4949
# matmul and conv precision from https://jax.readthedocs.io/en/latest/jax.lax.html#jax.lax.Precision
5050
# Options are "DEFAULT", "HIGH", "HIGHEST"

0 commit comments

Comments
 (0)