chore(components/pytorch): pytorch samples build fixes (#6338)
* build dependency fixes
Signed-off-by: Shrinath Suresh <shrinath@ideas2it.com>
* Pinning PTL to 1.4.2
Signed-off-by: Shrinath Suresh <shrinath@ideas2it.com>
* Revert "Pinning PTL to 1.4.2"
This reverts commit 8e207f0d3b.
Signed-off-by: Shrinath Suresh <shrinath@ideas2it.com>
* Pinning PTL to 1.4.2
Signed-off-by: Shrinath Suresh <shrinath@ideas2it.com>
This commit is contained in:
parent
9bec83f098
commit
5e597b13c8
|
|
@ -24,10 +24,8 @@ from setuptools import setup, find_packages
|
|||
|
||||
def make_required_install_packages():
|
||||
return [
|
||||
"kfp>=1.6.1",
|
||||
"pytorch-lightning>=1.4.0",
|
||||
"torch>=1.7.1",
|
||||
"torchserve>=0.3.0",
|
||||
"torch-model-archiver",
|
||||
]
|
||||
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ deps =
|
|||
mock
|
||||
pytorch-lightning
|
||||
torchmetrics
|
||||
kfp
|
||||
|
||||
|
||||
depends =
|
||||
|
|
|
|||
|
|
@ -15,18 +15,12 @@ ARG BASE_IMAGE=pytorch/pytorch:latest
|
|||
|
||||
FROM ${BASE_IMAGE}
|
||||
|
||||
RUN apt-get update && apt-get install -y git
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
RUN pip install --no-cache-dir pytorch-kfp-components
|
||||
|
||||
RUN pip install --no-cache-dir pytorch-lightning
|
||||
|
||||
RUN pip install torchmetrics==0.4.1
|
||||
|
||||
ENV PYTHONPATH /workspace
|
||||
|
||||
ENTRYPOINT /bin/bash
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
boto3
|
||||
image
|
||||
matplotlib
|
||||
torch
|
||||
matplotlib==3.4.2
|
||||
pyarrow
|
||||
sklearn
|
||||
transformers
|
||||
|
|
@ -15,4 +14,6 @@ wget
|
|||
torch-model-archiver
|
||||
minio
|
||||
kfp
|
||||
torchserve
|
||||
tensorboard
|
||||
torchmetrics
|
||||
pytorch-lightning==1.4.2
|
||||
|
|
|
|||
Loading…
Reference in New Issue