Coder Social home page Coder Social logo

aca-ml's Introduction

Deploying event driven machine learning solution

Deploy Azure resources

ENV_NAME="mlgpu1"
LOCATION="northeurope"

bash ./deploy-infra.sh $ENV_NAME $LOCATION

Deploy cuda

ENV_NAME="mlgpu1"
LOCATION="northeurope"
IMAGE="nvidia/cuda:12.5.0-runtime-ubuntu22.04"

bash ./deploy-cuda.sh $ENV_NAME $IMAGE

Build runner app

ENV_NAME="mlgpu1"
LOCATION="northeurope"

bash ./build-app.sh $ENV_NAME runner

Deploy Apps into Container Apps

ENV_NAME="mlgpu1"
IMAGE="creru56tm3vaz6w.azurecr.io/runner:latest"
IMAGE="creru56tm3vaz6w.azurecr.io/test:latest"

bash ./deploy-app.sh $ENV_NAME $IMAGE

Show cuda details


az containerapp exec -g $ENV_NAME --name cuda --command nvidia-smi


024-06-25T18:45:27.095437505Z +-----------------------------------------------------------------------------------------+
2024-06-25T18:45:27.095442704Z | NVIDIA-SMI 550.54.15              Driver Version: 550.54.15      CUDA Version: 12.5     |
2024-06-25T18:45:27.095445379Z |-----------------------------------------+------------------------+----------------------+
2024-06-25T18:45:27.095447684Z | GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
2024-06-25T18:45:27.095449817Z | Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
2024-06-25T18:45:27.095451981Z |                                         |                        |               MIG M. |
2024-06-25T18:45:27.095454166Z |=========================================+========================+======================|
2024-06-25T18:45:27.115967808Z |   0  NVIDIA A100 80GB PCIe          On  |   00000001:00:00.0 Off |                    0 |
2024-06-25T18:45:27.115984359Z | N/A   29C    P0             40W /  300W |       0MiB /  81920MiB |      0%      Default |
2024-06-25T18:45:27.115987876Z |                                         |                        |             Disabled |
2024-06-25T18:45:27.115990390Z +-----------------------------------------+------------------------+----------------------+
2024-06-25T18:45:27.116121416Z                                                                                          
2024-06-25T18:45:27.116134169Z +-----------------------------------------------------------------------------------------+
2024-06-25T18:45:27.116137506Z | Processes:                                                                              |
2024-06-25T18:45:27.116139579Z |  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
2024-06-25T18:45:27.116141443Z |        ID   ID                                                               Usage      |
2024-06-25T18:45:27.116143417Z |=========================================================================================|
2024-06-25T18:45:27.116409236Z |  No running processes found                                                             |
2024-06-25T18:45:27.116421770Z +-----------------------------------------------------------------------------------------+

aca-ml's People

Contributors

denniszielke avatar

Stargazers

Mayumi Egawa avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.