Spaces:
Sleeping
Sleeping
File size: 709 Bytes
fda8fb3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | # Notebook Usage
Notebook path:
- [notebooks/hf_space_demo.ipynb](/Users/vibhorkumar/Desktop/codes/cot-anc/notebooks/hf_space_demo.ipynb)
## Purpose
Short smoke test for:
- Colab GPU
- Kaggle GPU
- quick local validation
## What Notebook Does
1. Install runtime deps.
2. Set conservative env vars.
3. Import project pipeline.
4. Run one short attribution job.
5. Print answer, runtime metadata, top edges.
6. Render heatmap.
## Best Use
- validate model availability
- validate driver / torch / transformers stack
- sanity-check latency before public deploy
## If Notebook Fails
Check:
- GPU available
- model access permissions
- enough VRAM
- eager attention enabled
- trace limits not too high
|