mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-07-28 16:07:46 +00:00
79ee05c1dd
* Update Dockerfile remove unused line * specify a fixed version of scipy
24 lines
582 B
Docker
24 lines
582 B
Docker
FROM pytorch/pytorch:latest
|
|
|
|
# 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 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
|
|
RUN pip install xgboost
|
|
RUN pip install scipy==1.11.4
|