HUB
Sign inSign up

lazarusai/model-container-test

By lazarusai

•Updated about 1 year ago

Requirements sanity check for Lazarus AI self-hosted models

Image
0

419

lazarusai/model-container-test repository overview

⁠Image Variants

  • latest
  • no-speed - Omits the speed test

⁠Usage

  1. Auth to Docker

    docker login -u USERNAME
    # Enter password interactively
    
  2. Pull the image

    docker pull lazarusai/model-container-test
    
  3. Retrieve a domains.json from either the DockerHub page of the product or contact Lazarus and place that in a isolated directory. This directory will be PATH_TO_DOMAIN_JSON below

  4. Run the image

    docker run --rm [--gpus all] \
    	-v PATH_TO_DOMAIN_JSON:/app/config \
    	lazarusai/model-container-test
    

    Use --gpus=all if you’re dealing with a GPU-enabled container image, which is generally the case

    You may see this in the output, but it can be ignored:

    /usr/local/lib/python3.12/site-packages/torch/_subclasses/functional_tensor.py:275: UserWarning: Failed to initialize NumPy: No module named 'numpy' (Triggered internally at /pytorch/torch/csrc/utils/tensor_numpy.cpp:81.)
      cpu = _conversion_method_template(device=torch.device("cpu"))
    
  5. Verify the output and cross reference against the Requirements section of the model image’s documentation. Resolve any items that say NOT OK or items that aren’t at least the requirements of the model image

The following is output you should expect when all requirements are met. Once everything is OK and hardware specs are manually verified with the model requirements, then you're ready to proceed with the model deployment!

================SPEEDTEST===============
Initiating speedtest to determine network speeds...
Download: 1397.45 Mbps
Upload: 1216.26 Mbps
Ping: 2.196 ms
========================================

=============EXTERNAL CALLS=============
- HuggingFace     : hf.co OK
- HuggingFace     : huggingface.co OK
- ...             : ... OK
- ...             : ... OK
========================================

================HARDWARE================
CPU Checks:
- Architecture         64bit
- Physical Cores       240
- Logical Cores        240

RAM Checks:
- Total RAM            1771.678204 GB
- Available RAM        1678.391090 GB

GPU Checks:
- CUDA                 OK
- CUDA Version         12.4
- GPU Name             NVIDIA A100-SXM4-80GB
- GPU Count            8
========================================

Tag summary

Content type

Image

Digest

sha256:2aeb54fd7…

Size

3.7 GB

Last updated

about 1 year ago

docker pull lazarusai/model-container-test