Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.
The English summary is being prepared. Showing the original description.
Use bitsandbytes for k-bit PyTorch quantization, Hugging Face quantized model loading, 8-bit and paged optimizers, direct quantized layers/functions, and backend installation diagnostics.
The English summary is being prepared. Showing the original description.
Review the instructions the agent will receive before you install.
Use this repo skill when a task involves bitsandbytes, k-bit PyTorch quantization, LLM.int8(), QLoRA, 4-bit/NF4/FP4 layers, 8-bit optimizers, paged optimizers, or bitsandbytes install/backend failures.
For any new environment, install with pip install bitsandbytes and verify with:
python -c "import bitsandbytes as bnb; print(bnb.__version__)"
python -m bitsandbytes
If import or backend diagnostics fail, route first to sub-skills/installation-diagnostics/SKILL.md.
If the user is using Hugging Face BitsAndBytesConfig, route to sub-skills/transformers-integrations/SKILL.md.
If the user is replacing layers or calling bitsandbytes.functional, route to sub-skills/quantized-modules-functions/SKILL.md.
If the user is choosing or debugging bitsandbytes.optim, route to sub-skills/optimizers-training/SKILL.md.
| User asks about | Use | Why |
|---|---|---|
pip install bitsandbytes, import bitsandbytes, python -m bitsandbytes, CUDA/ROCm/XPU/HPU/MPS/CPU support, missing libbitsandbytes_*, source builds, BNB_CUDA_VERSION, BNB_ROCM_VERSION | sub-skills/installation-diagnostics/SKILL.md | Owns install/backend compatibility and native library troubleshooting. |
Transformers, Diffusers, PEFT, Accelerate, BitsAndBytesConfig, load_in_8bit, load_in_4bit, NF4, QLoRA, FSDP-QLoRA | sub-skills/transformers-integrations/SKILL.md | Owns Hugging Face model-loading and finetuning integration patterns. |
Linear8bitLt, Linear4bit, LinearNF4, Embedding8bit, Params4bit, Int8Params, QuantState, quantize_4bit, int8 vectorwise quantization, direct matmul | sub-skills/quantized-modules-functions/SKILL.md | Owns direct module/function API usage and state-dict caveats. |
Adam8bit, AdamW8bit, PagedAdamW8bit, Lion8bit, AdEMAMix8bit, GlobalOptimManager, StableEmbedding, optimizer memory savings | sub-skills/optimizers-training/SKILL.md | Owns optimizer selection, training-loop integration, and state checks. |
references/repo-provenance.md before deciding whether this skill matches a current bitsandbytes checkout or should be refreshed.references/troubleshooting.md for cross-cutting routing from symptoms to the right sub-skill.references/installation-compatibility.md for public install requirements and backend support summary.references/performance-and-benchmarks.md before interpreting memory or speed claims.scripts/check-bitsandbytes-install.py --json for a safe import/backend report that delegates to the bundled installation diagnostic helper.BitsAndBytesConfig belongs to Transformers, not to the bitsandbytes package. Use the Transformers integration sub-skill for those configs..to(device). Construction on CPU is not the same as executing quantized kernels.min_8bit_size=4096 intentionally remain 32-bit.python scripts/check-bitsandbytes-install.py --json
python sub-skills/installation-diagnostics/scripts/backend-report.py --json
python sub-skills/quantized-modules-functions/scripts/quantized-module-smoke.py --json
python sub-skills/optimizers-training/scripts/cpu-optimizer-smoke.py --optimizer adam8bit --steps 3
python sub-skills/transformers-integrations/scripts/transformers-bnb-config-check.py --mode qlora --json
Only run GPU or model-loading checks after confirming hardware, optional dependencies, model access, and that downloads or cache use are allowed.
No reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.
The English summary is being prepared. Showing the original description.
Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.
The English summary is being prepared. Showing the original description.
Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.
The English summary is being prepared. Showing the original description.
Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.
The English summary is being prepared. Showing the original description.
Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.
The English summary is being prepared. Showing the original description.
Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.
The English summary is being prepared. Showing the original description.