mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-07-27 23:47:46 +00:00
c263ece07c
* Fix combined_factors_df.pkl not loading in docker * change combined factors file type * change qlib commit id
24 lines
617 B
Docker
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
|