mirror of
https://github.com/hoshikawa2/mdm_project.git
synced 2026-03-06 02:10:37 +00:00
First commit
This commit is contained in:
@@ -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
BIN
files/mdm_project.zip
Normal file
Binary file not shown.
@@ -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")
|
||||||
@@ -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()
|
||||||
Reference in New Issue
Block a user