mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-18 03:37:09 +00:00
Improve UVM device check messaging in TC-RUNTIME-002
- Rename step to "Verify UVM device files" for clarity - Add "WARNING:" prefix when UVM device is missing - Add "SUCCESS:" prefix when device is present - Add confirmation message after UVM fix is applied - Separate ls command for cleaner output 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -14,16 +14,18 @@ steps:
|
|||||||
- name: Check CUDA libraries
|
- name: Check CUDA libraries
|
||||||
command: docker exec ollama37 ldconfig -p | grep -i cuda | head -5
|
command: docker exec ollama37 ldconfig -p | grep -i cuda | head -5
|
||||||
|
|
||||||
- name: Check UVM device files (create if missing)
|
- name: Verify UVM device files
|
||||||
command: |
|
command: |
|
||||||
if [ ! -e /dev/nvidia-uvm ]; then
|
if [ ! -e /dev/nvidia-uvm ]; then
|
||||||
echo "UVM device missing, creating with nvidia-modprobe..."
|
echo "WARNING: UVM device missing, creating with nvidia-modprobe..."
|
||||||
sudo nvidia-modprobe -u -c=0
|
sudo nvidia-modprobe -u -c=0
|
||||||
echo "Restarting container to pick up UVM devices..."
|
echo "Restarting container to pick up UVM devices..."
|
||||||
cd docker && docker compose restart
|
cd docker && docker compose restart
|
||||||
sleep 15
|
sleep 15
|
||||||
|
echo "UVM device fix applied"
|
||||||
else
|
else
|
||||||
echo "UVM device exists: $(ls -l /dev/nvidia-uvm)"
|
echo "SUCCESS: UVM device file present"
|
||||||
|
ls -l /dev/nvidia-uvm
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Check Ollama GPU detection in logs
|
- name: Check Ollama GPU detection in logs
|
||||||
|
|||||||
Reference in New Issue
Block a user