AIMET model access and credentialed evaluation
Use this sub-skill when a task involves Hugging Face model or dataset access, gated checkpoints, HF_TOKEN, gh-dispatched GenAI scorecards, S3 export downloads, AWS/SAML credentials, cached FP/recipe/model outputs, metric scoring versions, or comparing GenAILab results.
Read/run first
Core workflow
- Identify the credential boundary. Hugging Face tokens, GitHub CLI auth, AWS credentials, SAML app IDs, and AI Hub/QNN auth are separate concerns.
- Validate config without secrets. Do a dry preflight before calling remote services or launching benchmark downloads.
- Use explicit caches. Set FP cache, recipe cache, model cache, export dir, and results dir when the run will be repeated or compared.
- Preserve scoring semantics. Compare metric results only when metric names and
scoring_version match.
- Download artifacts safely. Validate S3 URL shape, profile, and destination before copying/exporting checkpoint zips.
- Avoid leaking credentials. Never write tokens into config files, generated artifacts, shell history snippets, or user-visible logs.
Boundaries
Expected answer shape
For credentialed evaluation tasks, include the required credential type, how to verify it without exposing secrets, cache/result paths, whether the run is local or online, how artifacts are downloaded or merged, and the result-comparability constraints.
1---2name: model-access-and-credentialed-evaluation3description: "Handle AIMET model downloads, Hugging Face tokens, GitHub Actions4 scorecard runs, AWS/S3 checkpoints, caches, and benchmark-result5 comparability."6metadata:7 source: https://skillmd.com/skills/vectorspacelab/model-access-and-credentialed-evaluation8 disco-role: operating9disable-model-invocation: true10license: BSD 3-Clause11---1213# AIMET model access and credentialed evaluation1415Use this sub-skill when a task involves Hugging Face model or dataset access, gated checkpoints, `HF_TOKEN`, `gh`-dispatched GenAI scorecards, S3 export downloads, AWS/SAML credentials, cached FP/recipe/model outputs, metric scoring versions, or comparing GenAILab results.1617## Read/run first1819- Read [model access and credentialed evaluation](../../references/model-access-and-credentialed-evaluation.md) for token, cache, online-run, S3, and metric-comparability rules.20- Read [GenAILab workflows](../../references/genai-lab.md) for config and scorecard execution details.21- Run [genai_config_preflight.py](../../scripts/genai_config_preflight.py) before using credentials on a long run.22- Use [download_genai_checkpoint.sh](../../scripts/download_genai_checkpoint.sh) for S3 checkpoint downloads without depending on the original repo script.23- Use [genai_results_summary.py](../../scripts/genai_results_summary.py) to inspect `profiling_data.json` and identify metric `scoring_version` comparability warnings without rerunning benchmarks.2425## Core workflow26271. **Identify the credential boundary.** Hugging Face tokens, GitHub CLI auth, AWS credentials, SAML app IDs, and AI Hub/QNN auth are separate concerns.282. **Validate config without secrets.** Do a dry preflight before calling remote services or launching benchmark downloads.293. **Use explicit caches.** Set FP cache, recipe cache, model cache, export dir, and results dir when the run will be repeated or compared.304. **Preserve scoring semantics.** Compare metric results only when metric names and `scoring_version` match.315. **Download artifacts safely.** Validate S3 URL shape, profile, and destination before copying/exporting checkpoint zips.326. **Avoid leaking credentials.** Never write tokens into config files, generated artifacts, shell history snippets, or user-visible logs.3334## Boundaries3536- Route local GenAILab recipe design to [genai-lab](../genai-lab/SKILL.md).37- Route cluster execution to [cluster-pod-workflows](../cluster-pod-workflows/SKILL.md).38- Route Qualcomm AI Hub/QNN compile/profile/inference jobs to [qualcomm-sdk-deployment](../qualcomm-sdk-deployment/SKILL.md).3940## Expected answer shape4142For credentialed evaluation tasks, include the required credential type, how to verify it without exposing secrets, cache/result paths, whether the run is local or online, how artifacts are downloaded or merged, and the result-comparability constraints.