Skip to content

Add aiDAPTIVCache applications documents - #67

Merged
tsaishawn merged 1 commit into
mainfrom
docs/add_aidaptivcahe_docs
Jan 16, 2026
Merged

Add aiDAPTIVCache applications documents#67
tsaishawn merged 1 commit into
mainfrom
docs/add_aidaptivcahe_docs

Conversation

@tsaishawn

Copy link
Copy Markdown
Contributor

No description provided.

@gemini-code-assist

Copy link
Copy Markdown

Summary of Changes

Hello @tsaishawn, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request introduces essential documentation for leveraging Phison aiDAPTIVCache devices within the OtterScale Kubernetes platform. It provides detailed guides for installing the foundational aiDAPTIV Cache Operator, configuring and executing LLM fine-tuning jobs, and deploying high-throughput LLM inference services, thereby empowering users to effectively integrate and manage AI workloads with specialized hardware acceleration.

Highlights

  • aiDAPTIV Cache Operator Documentation: New documentation has been added detailing the installation process, prerequisites, and core functions of the aiDAPTIV Cache Operator for Kubernetes environments, which is essential for recognizing Phison aiDAPTIVCache devices.
  • aiDAPTIV Finetune Guide: A comprehensive guide for fine-tuning Large Language Models (LLMs) using aiDAPTIV Cache is now available, covering model and data preparation, Helm chart configuration, and various training parameters.
  • aiDAPTIV Inference Service Deployment: Documentation has been introduced for deploying high-performance LLM inference services with aiDAPTIV Cache, including vLLM configuration, model preparation methods, and performance tuning recommendations.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@tsaishawn
tsaishawn merged commit e22635c into main Jan 16, 2026
1 check passed

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds documentation for aiDAPTIVCache applications. The guides are comprehensive, but I've found a few areas for improvement. My feedback includes corrections for typos and inconsistencies in the instructions which could confuse users. I've also pointed out a security risk in the script examples that use sshpass with plaintext passwords and suggested safer alternatives. Fixing these issues will enhance the quality and clarity of the documentation.

Comment on lines +97 to +98
sshpass -p 'your-password' scp -o StrictHostKeyChecking=no -r \
user@remote-host:/path/to/your-model /mnt/data/models/

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

security-high high

Using sshpass -p 'your-password' is insecure as it exposes the password in the process list and potentially in logs. It's strongly recommended to use SSH keys for authentication instead. If passwords must be used, please add a prominent warning about the security risks.

Comment on lines +99 to +100
sshpass -p 'your-password' scp -o StrictHostKeyChecking=no -r \
user@remote-host:/path/to/your-model /mnt/data/models/

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

security-high high

Using sshpass -p 'your-password' is insecure as it exposes the password in the process list and potentially in logs. It's strongly recommended to use SSH keys for authentication instead. If passwords must be used, please add a prominent warning about the security risks.


3. **Install the Operator**

- Find `aidaptivcache-inference` in the Store list

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

There seems to be a typo in the chart name. The user is instructed to find aidaptivcache-inference in the store list, but this document is about installing the aidaptivcache-operator. The imported chart is also aidaptivcache-operator. This should likely be aidaptivcache-operator.

   - Find `aidaptivcache-operator` in the Store list

Comment on lines +110 to +129
You still need an NFS mount for storing training outputs. Add NFS mount commands after the SCP section:

```yaml
postscript: |
# Install tools
apt-get update && apt-get install -y sshpass nfs-common

# Copy model via SCP
mkdir -p /mnt/data/models
echo "Copying model from remote server..."
sshpass -p 'your-password' scp -o StrictHostKeyChecking=no -r \
user@remote-host:/path/to/model /mnt/data/models/

# Mount NFS for output storage
mkdir -p /mnt/data/output
echo "Mounting NFS for output storage..."
mount -t nfs4 -o nfsvers=4.1 10.102.197.0:/volumes/_nogroup/output-path /mnt/data/output

echo "Setup complete!"
```

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

This section is confusing. It says "Add NFS mount commands after the SCP section" but then provides a postscript example that repeats the apt-get install and scp commands from the prescript example above. It seems the intention was to show a combined prescript that handles both SCP for input and NFS for output. Presenting this as a postscript is misleading and duplicates effort.

Please clarify whether this is meant to be a postscript or an alternative, more complete prescript. If it's the latter, it should be presented as such. For example:

"Here is a complete prescript example that copies the model via SCP and mounts an NFS volume for outputs:"

prescript: |
  # Install tools
  apt-get update && apt-get install -y sshpass nfs-common
  
  # Copy model via SCP
  mkdir -p /mnt/data/models
  echo "Copying model from remote server..."
  sshpass -p 'your-password' scp -o StrictHostKeyChecking=no -r \
    user@remote-host:/path/to/model /mnt/data/models/
  
  # Mount NFS for output storage
  mkdir -p /mnt/data/output
  echo "Mounting NFS for output storage..."
  mount -t nfs4 -o nfsvers=4.1 10.102.197.0:/volumes/_nogroup/output-path /mnt/data/output
  
  echo "Setup complete!"

Comment on lines +397 to +399
postscript: |
echo "Training job completed"
echo "Model saved to: $outputDir"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The variable $outputDir is used here, but it's unlikely to be defined in the shell environment where this postscript is executed. This variable is defined in the Helm values.yaml but is not automatically exported as an environment variable. This command will likely fail or print an empty string for $outputDir.

To fix this, you should either hardcode the path (e.g., /mnt/data/output, which is the value from envConfig.pathSettings.outputDir) or ensure the Helm chart is configured to pass this value as an environment variable to the container.

postscript: |
  echo "Training job completed"
  echo "Model saved to: /mnt/data/output"

port: 8000
gpuMemoryUtilization: 0.9
maxModelLen: 32768
tensorParallelSize: 4

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The example configuration for vllm.args shows tensorParallelSize: 4, which implies a multi-GPU setup. However, the resource configuration examples later in the document (e.g., lines 363-372 and the complete example starting at line 389) are configured for a single GPU (otterscale.com/vgpu: 1).

This is inconsistent and could confuse users. The Aside on line 382 correctly states that tensorParallelSize must match the vgpu count.

To improve clarity, please make the examples consistent. I suggest changing tensorParallelSize to 1 in this example to match the single-GPU setup demonstrated elsewhere in the document.

    tensorParallelSize: 1

@tsaishawn
tsaishawn deleted the docs/add_aidaptivcahe_docs branch January 19, 2026 02:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant