Files
NexQuant/rdagent/scenarios/qlib/docker/Dockerfile
T
Linlang c263ece07c fix: fix combined_factors_df.pkl not loading in docker (#697)
* Fix combined_factors_df.pkl not loading in docker

* change combined factors file type

* change qlib commit id
2025-03-18 18:36:21 +08:00

24 lines
617 B
Docker

FROM pytorch/pytorch:2.2.1-cuda12.1-cudnn8-runtime
# For GPU support, please choose the proper tag from https://hub.docker.com/r/pytorch/pytorch/tags
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 --depth=100 https://github.com/microsoft/qlib.git
WORKDIR /workspace/qlib
RUN git reset 4d621bff99bb403231e26bb1dddae6e77d2af170 --hard
RUN python -m pip install --upgrade cython
RUN python -m pip install -e .
RUN pip install catboost
RUN pip install xgboost
RUN pip install scipy==1.11.4