First commit

This commit is contained in:
2025-09-02 22:21:05 -03:00
parent 08fc532e4b
commit 3e3eee8ebf
20 changed files with 5 additions and 3 deletions

View File

@@ -149,6 +149,8 @@ flowchart TD
## 5. Deploy the Application ## 5. Deploy the Application
You can download the source-code here: [mdm_project.zip](./files/mdm_project.zip)
### Ollama on OCI A10 — Two-GPU Installation & Configuration (Step-by-Step) ### Ollama on OCI A10 — Two-GPU Installation & Configuration (Step-by-Step)
This section explains how to install **Ollama** on an Oracle Linux VM with **two NVIDIA A10 GPUs**, run **one Ollama service per GPU** via `systemd`, pull and tune the **Qwen 2.5 7B** model, and configure your app (`config.py` and `run.sh`) to use both endpoints concurrently. This section explains how to install **Ollama** on an Oracle Linux VM with **two NVIDIA A10 GPUs**, run **one Ollama service per GPU** via `systemd`, pull and tune the **Qwen 2.5 7B** model, and configure your app (`config.py` and `run.sh`) to use both endpoints concurrently.

BIN
files/mdm_project.zip Normal file

Binary file not shown.

View File

@@ -1,6 +1,6 @@
import httpx, json, itertools, logging, time, asyncio, re import httpx, json, itertools, logging, time, asyncio, re
from pathlib import Path from pathlib import Path
from config import settings from files.config import settings
from .common import safe_json_from_text from .common import safe_json_from_text
logger = logging.getLogger("mdm.services") logger = logging.getLogger("mdm.services")

View File

@@ -1,8 +1,8 @@
import httpx, json, itertools, logging, time, asyncio import httpx, json, itertools, logging, time, asyncio
from pathlib import Path from pathlib import Path
from config import settings from files.config import settings
from .common import safe_json_from_text from .common import safe_json_from_text
from services.zipcode_service import enrich_address_with_zipcode from files.services.zipcode_service import enrich_address_with_zipcode
logger = logging.getLogger("mdm.services") logger = logging.getLogger("mdm.services")
_rr = itertools.count() _rr = itertools.count()