1 Commits

Author SHA1 Message Date
Oscar Krause
f87e75c471 fixes 2024-01-18 13:39:51 +01:00
5 changed files with 21 additions and 35 deletions

View File

@@ -12,7 +12,7 @@ depends=('python' 'python-jose' 'python-starlette' 'python-httpx' 'python-fastap
provider=("$pkgname") provider=("$pkgname")
install="$pkgname.install" install="$pkgname.install"
backup=('etc/default/fastapi-dls') backup=('etc/default/fastapi-dls')
source=("git+file://${CI_PROJECT_DIR}" source=('git+file:///tmp/builds/dUqn6z-s/1/oscar.krause/fastapi-dls' # https://gitea.publichub.eu/oscar.krause/fastapi-dls.git
"$pkgname.default" "$pkgname.default"
"$pkgname.service" "$pkgname.service"
"$pkgname.tmpfiles") "$pkgname.tmpfiles")

View File

@@ -295,17 +295,13 @@ gemnasium-python-dependency_scanning:
deploy:docker: deploy:docker:
extends: .deploy extends: .deploy
image: docker:dind
stage: deploy stage: deploy
tags: [ docker ]
before_script: before_script:
- echo "Building docker image for commit $CI_COMMIT_SHA with version $CI_COMMIT_REF_NAME" - echo "Building docker image for commit $CI_COMMIT_SHA with version $CI_COMMIT_REF_NAME"
- docker buildx inspect
- docker buildx create --use
script: script:
- echo "========== GitLab-Registry ==========" - echo "========== GitLab-Registry =========="
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- IMAGE=$CI_REGISTRY/$CI_PROJECT_PATH - IMAGE=$CI_REGISTRY/$CI_PROJECT_PATH/$CI_COMMIT_REF_NAME
- docker buildx build --progress=plain --platform $DOCKER_BUILDX_PLATFORM --build-arg VERSION=$CI_COMMIT_REF_NAME --build-arg COMMIT=$CI_COMMIT_SHA --tag $IMAGE:$CI_COMMIT_REF_NAME --push . - docker buildx build --progress=plain --platform $DOCKER_BUILDX_PLATFORM --build-arg VERSION=$CI_COMMIT_REF_NAME --build-arg COMMIT=$CI_COMMIT_SHA --tag $IMAGE:$CI_COMMIT_REF_NAME --push .
- docker buildx build --progress=plain --platform $DOCKER_BUILDX_PLATFORM --build-arg VERSION=$CI_COMMIT_REF_NAME --build-arg COMMIT=$CI_COMMIT_SHA --tag $IMAGE:latest --push . - docker buildx build --progress=plain --platform $DOCKER_BUILDX_PLATFORM --build-arg VERSION=$CI_COMMIT_REF_NAME --build-arg COMMIT=$CI_COMMIT_SHA --tag $IMAGE:latest --push .
- echo "========== Docker-Hub ==========" - echo "========== Docker-Hub =========="

View File

@@ -10,7 +10,7 @@ RUN apk update \
&& apk add --no-cache --virtual build-deps gcc g++ python3-dev musl-dev pkgconfig \ && apk add --no-cache --virtual build-deps gcc g++ python3-dev musl-dev pkgconfig \
&& apk add --no-cache curl postgresql postgresql-dev mariadb-dev sqlite-dev \ && apk add --no-cache curl postgresql postgresql-dev mariadb-dev sqlite-dev \
&& pip install --no-cache-dir --upgrade uvicorn \ && pip install --no-cache-dir --upgrade uvicorn \
&& pip install --no-cache-dir psycopg2==2.9.9 mysqlclient==2.2.4 pysqlite3==0.5.2 \ && pip install --no-cache-dir psycopg2==2.9.6 mysqlclient==2.2.0 pysqlite3==0.5.1 \
&& pip install --no-cache-dir -r /tmp/requirements.txt \ && pip install --no-cache-dir -r /tmp/requirements.txt \
&& apk del build-deps && apk del build-deps

View File

@@ -15,8 +15,6 @@ Only the clients need a connection to this service on configured port.
*All other repositories are forks! (which is no bad - just for information and bug reports)* *All other repositories are forks! (which is no bad - just for information and bug reports)*
[Releases & Release Notes](https://git.collinwebdesigns.de/oscar.krause/fastapi-dls/-/releases)
--- ---
[[_TOC_]] [[_TOC_]]
@@ -418,9 +416,9 @@ After first success you have to replace `--issue` with `--renew`.
every 4.8 hours. If network connectivity is lost, the loss of connectivity is detected during license renewal and the every 4.8 hours. If network connectivity is lost, the loss of connectivity is detected during license renewal and the
client has 19.2 hours in which to re-establish connectivity before its license expires. client has 19.2 hours in which to re-establish connectivity before its license expires.
\*2 Always use `https`, since guest-drivers only support secure connections! \*3 Always use `https`, since guest-drivers only support secure connections!
\*3 If you recreate your instance keys you need to **recreate client-token for each guest**! \*4 If you recreate instance keys you need to **recreate client-token for each guest**!
# Setup (Client) # Setup (Client)
@@ -428,28 +426,20 @@ client has 19.2 hours in which to re-establish connectivity before its license e
Successfully tested with this package versions: Successfully tested with this package versions:
| vGPU Suftware | Driver Branch | Linux vGPU Manager | Linux Driver | Windows Driver | Release Date | EOL Date | | vGPU Suftware | Linux vGPU Manager | Linux Driver | Windows Driver | Release Date |
|:-------------:|:-------------:|--------------------|--------------|----------------|--------------:|--------------:| |---------------|--------------------|--------------|----------------|---------------|
| `17.1` | R550 | `550.54.16` | `550.54.15` | `551.78` | March 2024 | February 2025 | | `16.2` | `535.129.03` | `535.129.03` | `537.70` | October 2023 |
| `17.0` | R550 | `550.54.10` | `550.54.14` | `551.61` | February 2024 | | | `16.1` | `535.104.06` | `535.104.05` | `537.13` | August 2023 |
| `16.5` | R535 | `535.161.05` | `535.161.08` | `538.46` | February 2024 | July 2026 | | `16.0` | `535.54.06` | `535.54.03` | `536.22` | July 2023 |
| `16.4` | R535 | `535.161.05` | `535.161.07` | `538.33` | February 2024 | | | `15.3` | `525.125.03` | `525.125.06` | `529.11` | June 2023 |
| `16.3` | R535 | `535.154.02` | `535.154.05` | `538.15` | January 2024 | | | `15.2` | `525.105.14` | `525.105.17` | `528.89` | March 2023 |
| `16.2` | R535 | `535.129.03` | `535.129.03` | `537.70` | October 2023 | | | `15.1` | `525.85.07` | `525.85.05` | `528.24` | January 2023 |
| `16.1` | R535 | `535.104.06` | `535.104.05` | `537.13` | August 2023 | | | `15.0` | `525.60.12` | `525.60.13` | `527.41` | December 2022 |
| `16.0` | R535 | `535.54.06` | `535.54.03` | `536.22` | July 2023 | | | `14.4` | `510.108.03` | `510.108.03` | `514.08` | December 2022 |
| `15.4` | R525 | `525.147.01` | `525.147.05` | `529.19` | June 2023 | October 2023 | | `14.3` | `510.108.03` | `510.108.03` | `513.91` | November 2022 |
| `15.3` | R525 | `525.125.03` | `525.125.06` | `529.11` | June 2023 | |
| `15.2` | R525 | `525.105.14` | `525.105.17` | `528.89` | March 2023 | |
| `15.1` | R525 | `525.85.07` | `525.85.05` | `528.24` | January 2023 | |
| `15.0` | R525 | `525.60.12` | `525.60.13` | `527.41` | December 2022 | |
| `14.4` | R510 | `510.108.03` | `510.108.03` | `514.08` | December 2022 | February 2023 |
| `14.3` | R510 | `510.108.03` | `510.108.03` | `513.91` | November 2022 | |
- https://docs.nvidia.com/grid/index.html - https://docs.nvidia.com/grid/index.html
*To get the latest drivers, visit Nvidia or search in Discord-Channel `GPU Unlocking` (Server-ID: `829786927829745685`) on channel `licensing` `biggerthanshit`
## Linux ## Linux
Download *client-token* and place it into `/etc/nvidia/ClientConfigToken`: Download *client-token* and place it into `/etc/nvidia/ClientConfigToken`:

View File

@@ -1,8 +1,8 @@
fastapi==0.110.1 fastapi==0.109.0
uvicorn[standard]==0.29.0 uvicorn[standard]==0.25.0
python-jose==3.3.0 python-jose==3.3.0
pycryptodome==3.20.0 pycryptodome==3.20.0
python-dateutil==2.8.2 python-dateutil==2.8.2
sqlalchemy==2.0.29 sqlalchemy==2.0.25
markdown==3.6 markdown==3.5.2
python-dotenv==1.0.1 python-dotenv==1.0.0