Skip to content

[CI] unsloth-llms-finetuning / verify-imports failed on rx9070xt (windows) #675

Description

@github-actions

This issue was opened automatically by the Test Playbooks workflow after the test verify-imports failed on the main branch.

Failure scope

  • Playbook: unsloth-llms-finetuning
  • Test id: verify-imports
  • Device: rx9070xt
  • Operating system: windows
  • Runner labels: self-hosted, Windows, rx9070xt
  • Runner name: CS-RORDMZ-DT134
  • Commit: 61b8d874c4ee8123ae8a5871e81ab190365b9300
  • Workflow run: https://github.com/amd/playbooks/actions/runs/31161490330

Hardware / OS to use to reproduce

Run the failing test on a machine that matches the runner labels above (OS = windows, device = rx9070xt). The repo's self-hosted runners already advertise these labels; if you reproduce locally, use the same OS family and the same AMD device class.

How to dispatch the same test from CI

Re-run only the failing playbook on the same matrix entry by triggering the workflow with the playbook id:

gh workflow run test-playbooks.yml --repo amd/playbooks -f playbook_id=unsloth-llms-finetuning

The workflow's matrix narrows down to this (device, platform) combination automatically based on the playbook's tested_platforms.

How to run just this test locally

python .github/scripts/run_playbook_tests.py --playbook unsloth-llms-finetuning --platform windows --device rx9070xt

The runner extracts test blocks from playbooks/*/unsloth-llms-finetuning/README.md (the failing block starts around line 365).

Failing test (verbatim from the README)

  • Setup: unsloth-env\Scripts\activate
  • Timeout: 120s
import unsloth
import torch
from datasets import load_dataset
from transformers import TextStreamer
from unsloth import FastModel
from unsloth.chat_templates import (
    get_chat_template,
    standardize_data_formats,
    train_on_responses_only,
)
from trl import SFTTrainer, SFTConfig

print(f"PyTorch version: {torch.__version__}")
print(f"ROCm available: {torch.cuda.is_available()}")
print("PASS: All required imports succeeded")

Result

  • Exit code: 1

stderr (last lines)

Traceback (most recent call last):
  File "C:\actions-runner\_work\playbooks\playbooks\test-results\unsloth-llms-finetuning\test_verify-imports.py", line 1, in <module>
    import unsloth
ModuleNotFoundError: No module named 'unsloth'


This issue is opened and deduplicated by .github/scripts/create_failure_issues.py. Close it once the failure is fixed; subsequent failures with the same scope will reopen a fresh issue.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions