Help & Fixes | Kamiwaza Docs

This is documentation for Kamiwaza 0.11.0, which is no longer actively maintained. For the current GA release, see 1.0.1.

Version: 0.11.0

Getting Help

If you have questions or run into issues, we're here to help:

We're committed to making your experience with Kamiwaza as smooth as possible.

Reporting Issues

When reporting issues to our support team or community, please include:

This information helps us provide faster and more accurate solutions to your problems.

Common Issues and Fixes

Installation Issues

Docker GPU Error: Could Not Select Device Driver

Problem: NVIDIA Container Runtime not found or misconfigured. Solution:

Port Already in Use

Problem: Kamiwaza fails to start because required ports are occupied. Solution:

Insufficient System Resources

Problem: Installation fails due to low disk space, RAM, or CPU cores. Solution:

Model Deployment Issues

Gated Model Downloads and Rate Limits

Problem: Downloads fail for gated models (Llama, Mistral, etc.) or you encounter Hugging Face rate limit errors. Symptoms:

  1. Get a Hugging Face token from huggingface.co/settings/tokens (a read token is sufficient)

  2. For gated models, accept the license terms on the model's Hugging Face page

  3. Add the token to your Kamiwaza environment:

    # Edit the environment file
    

sudo vim /opt/kamiwaza/kamiwaza/env.sh

Add this line:

export HF_TOKEN="hf_your_token_here"

4. Restart Kamiwaza:

```bash
kamiwaza restart

Model Deployment Failures

Problem: Models fail to deploy or become unavailable. Solutions:

Performance Problems

Problem: Slow responses or high resource usage. Solutions:

SDK and API Issues

Module Import Error

Problem: ModuleNotFoundError: No module named 'kamiwaza_client' when using notebooks and Kamiwaza SDK. Solution:

!pip uninstall -y kamiwaza

!pip install kamiwaza

App Garden Issues

App Not Showing Latest Version

Problem: An app in App Garden isn't displaying the latest content or updates due to cache TTL. Solution: Force a cache refresh by syncing remote templates:

# Step 1: Get an auth token

TOKEN=$(curl -sk -X POST "https://your-kamiwaza-instance/api/auth/token" \

-H "Content-Type: application/x-www-form-urlencoded" \

-d "username=admin&password=your-password" \

| jq -r '.access_token')

# Step 2: Force a cache refresh

curl -sk -X POST "https://your-kamiwaza-instance/api/v1/apps/{app_id}/refresh" \

-H "Authorization: Bearer ${TOKEN}"

General Troubleshooting Steps

When encountering issues, follow these diagnostic steps:

  1. Check Service Status: Verify all Kamiwaza services are running
  2. Review Logs: Check container logs for specific error messages
  3. Verify Resources: Ensure sufficient CPU, RAM, and disk space
  4. Test Connectivity: Verify network connectivity between components
  5. Restart Services: Try stopping and restarting affected services
  6. Check Configuration: Verify configuration files and environment variables