try to make tensorflow faster with GPUAccell

This commit is contained in:
2026-02-17 17:42:11 -08:00
parent b26965ebab
commit eb6ccb66e6
+2 -2
View File
@@ -2,7 +2,7 @@
## Build Webserver ## ## Build Webserver ##
####################### #######################
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:9.0 AS build-Webserver FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:9.0 AS build-webserver
WORKDIR /WebServer WORKDIR /WebServer
# Copy the csproj # Copy the csproj
@@ -59,7 +59,7 @@ RUN wget https://www.python.org/ftp/python/3.11.0/Python-3.11.0.tgz && \
ln -s /usr/local/bin/pip3.11 /usr/local/bin/pip ln -s /usr/local/bin/pip3.11 /usr/local/bin/pip
RUN pip install --upgrade pip && \ RUN pip install --upgrade pip && \
pip install tensorflow \ pip install tensorflow[and-cuda] \
fastparquet \ fastparquet \
openpyxl \ openpyxl \
yfinance \ yfinance \