2024-07-19 15:25:30 +08:00
|
|
|
FROM pytorch/pytorch:latest
|
2024-07-15 10:08:20 +00:00
|
|
|
|
|
|
|
|
# For GPU support, please choose the proper tag from https://hub.docker.com/r/pytorch/pytorch/tags
|
2024-07-15 08:28:34 +00:00
|
|
|
|
|
|
|
|
RUN apt-get clean && apt-get update && apt-get install -y \
|
|
|
|
|
curl \
|
|
|
|
|
vim \
|
|
|
|
|
git \
|
|
|
|
|
build-essential \
|
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
|
|
|
RUN git clone https://github.com/microsoft/qlib.git
|
|
|
|
|
|
|
|
|
|
WORKDIR /workspace/qlib
|
|
|
|
|
|
|
|
|
|
RUN git reset c9ed050ef034fe6519c14b59f3d207abcb693282 --hard
|
|
|
|
|
|
|
|
|
|
RUN python -m pip install --upgrade cython
|
|
|
|
|
RUN python -m pip install -e .
|
|
|
|
|
|
|
|
|
|
RUN pip install catboost
|
2024-07-19 14:59:45 +08:00
|
|
|
RUN pip install xgboost
|
2024-08-23 16:08:45 +08:00
|
|
|
RUN pip install scipy==1.11.4
|