Skip to content

Commit 9d16fe0

Browse files
authored
Fix MaxDiffusion outdated jax[tpu] version (GoogleCloudPlatform#1672)
* add rayjob dws * add rayjob dws * add rayjob dws * add rayjob dws * add rayjob dws * add rayjob dws * add rayjob dws * add rayjob dws * add rayjob dws * add rayjob dws * add rayjob dws * add rayjob dws * add rayjob dws * add rayjob dws * add rayjob dws * update limit * add file OSS header * add file OSS header tag * add file OSS header tag * add file OSS header tag * update resource * add gpu * add gpu * add gpu * add gpu * add gpu * add gpu * update maxdiffusion dependency versions * update maxdiffusion dependency versions * update maxdiffusion dependency versions * update maxdiffusion dependency versions * update maxdiffusion dependency versions * update maxdiffusion dependency versions * update maxdiffusion dependency versions * update jax[tpu] version * update jax[tpu] version
1 parent 585132b commit 9d16fe0

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

ai-ml/maxdiffusion-tpu/build/server/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ RUN apt-get -y install git
66
COPY requirements.txt ./
77
RUN python -m pip install --upgrade pip
88
RUN pip install -r requirements.txt
9-
RUN pip install git+https://github.com/google/maxdiffusion.git
9+
RUN pip install git+https://github.com/google/maxdiffusion.git@v1
1010
COPY main.py ./
1111
EXPOSE 8000
1212
ENTRYPOINT ["python", "main.py"]

ai-ml/maxdiffusion-tpu/build/server/requirements.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44
uvicorn[standard]==0.30.6
55
fastapi[all]==0.114.0
66
pillow
7-
jax[tpu]==0.4.34.dev20241001 --pre
7+
jax[tpu]==0.4.36 --pre
88
google-cloud-storage
99
absl-py
10+
huggingface_hub==0.24.7
1011
transformers>=4.25.1
1112
datasets
1213
flax
@@ -23,5 +24,6 @@ parameterized
2324
Pillow
2425
pytest
2526
tensorflow==2.17.0
26-
tensorflow-datasets
27+
tensorflow-datasets>=4.9.6
2728
ruff>=0.6,<=0.6.4
29+
aqtp

0 commit comments

Comments
 (0)