enh: adjust seq and add timer-moe model
This commit is contained in:
parent
0e8317c569
commit
8e3b0fbfa9
|
@ -3,9 +3,15 @@ WORKDIR /apps
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
ARG pkgFile
|
ARG pkgFile
|
||||||
ARG dirName
|
ARG dirName
|
||||||
ARG nas_ip
|
ARG nasIp
|
||||||
ADD http://${nas_ip}/data/nas/TDengine/anode/taos.pth /apps
|
ADD ${pkgFile} \
|
||||||
ADD http://${nas_ip}/data/nas/TDengine/anode/taos_ts_server.py /apps
|
${dirName} \
|
||||||
|
http://${nasIp}/data/nas/TDengine/anode/taos.pth \
|
||||||
|
http://${nasIp}/data/nas/TDengine/anode/taos_ts_server.py \
|
||||||
|
http://${nasIp}/data/nas/TDengine/anode/fc_australia.sql \
|
||||||
|
http://${nasIp}/data/nas/TDengine/anode/timer-moe.tar.gz \
|
||||||
|
/apps/
|
||||||
|
|
||||||
ADD ${pkgFile} /apps/
|
ADD ${pkgFile} /apps/
|
||||||
RUN cd ${dirName}/ && /bin/bash install.sh -e no && cd .. && rm -rf ${dirName}
|
RUN cd ${dirName}/ && /bin/bash install.sh -e no && cd .. && rm -rf ${dirName}
|
||||||
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
|
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
|
||||||
|
|
|
@ -10,6 +10,7 @@ RUN apt-get -o Acquire::Check-Valid-Until=false -o Acquire::Check-Date=false upd
|
||||||
python3.10 -m venv /var/lib/taos/taosanode/venv && \
|
python3.10 -m venv /var/lib/taos/taosanode/venv && \
|
||||||
pip install --upgrade pip && \
|
pip install --upgrade pip && \
|
||||||
pip install --no-cache-dir --ignore-installed blinker && \
|
pip install --no-cache-dir --ignore-installed blinker && \
|
||||||
|
pip install --no-cache-dir torch --index-url https://download.pytorch.org/whl/cpu && \
|
||||||
pip install --no-cache-dir \
|
pip install --no-cache-dir \
|
||||||
numpy==1.26.4 \
|
numpy==1.26.4 \
|
||||||
pandas==1.5.0 \
|
pandas==1.5.0 \
|
||||||
|
@ -21,9 +22,9 @@ RUN apt-get -o Acquire::Check-Valid-Until=false -o Acquire::Check-Date=false upd
|
||||||
flask \
|
flask \
|
||||||
matplotlib \
|
matplotlib \
|
||||||
uwsgi \
|
uwsgi \
|
||||||
transformers \
|
transformers==4.40.0 \
|
||||||
|
accelerate \
|
||||||
-i https://pypi.tuna.tsinghua.edu.cn/simple && \
|
-i https://pypi.tuna.tsinghua.edu.cn/simple && \
|
||||||
pip install --no-cache-dir torch --index-url https://download.pytorch.org/whl/cpu && \
|
|
||||||
pip install --upgrade keras -i https://pypi.tuna.tsinghua.edu.cn/simple
|
pip install --upgrade keras -i https://pypi.tuna.tsinghua.edu.cn/simple
|
||||||
|
|
||||||
FROM python:3.10-slim
|
FROM python:3.10-slim
|
||||||
|
|
Loading…
Reference in New Issue