MCPcopy Create free account

hub / github.com/bitsandbytes-foundation/bitsandbytes / types & classes

Types & classes117 in github.com/bitsandbytes-foundation/bitsandbytes

↓ 8 callersClassParametrizeTestModule
Test module with different parameter shapes for testing parametrization.
tests/test_parametrize.py:20
↓ 5 callersClassLinear8bitLt
This class is the base module for the [LLM.int8()](https://arxiv.org/abs/2208.07339) algorithm. To read more about it, have a look at the pap
bitsandbytes/nn/modules.py:1018
↓ 4 callersClassParams4bit
bitsandbytes/nn/modules.py:213
↓ 4 callersClassQuantState
container for quantization state components to work with Params4bit and similar classes
bitsandbytes/functional.py:420
↓ 3 callersClassBnb4bitParametrization
A parametrization module that handles dequantization of a 4-bit quantized parameter. The parameter data is expected to be already quantized
bitsandbytes/nn/parametrize.py:11
↓ 3 callersClassCUDASpecs
bitsandbytes/cuda_specs.py:13
↓ 3 callersClassInt8Params
bitsandbytes/nn/modules.py:719
↓ 2 callersClassMatmulLtState
bitsandbytes/autograd/_functions.py:58
↓ 2 callersClassMockArgs
bitsandbytes/optim/optimizer.py:20
↓ 1 callersClassAdam
bitsandbytes/optim/adam.py:9
↓ 1 callersClassBNBNativeLibrary
bitsandbytes/cextension.py:83
↓ 1 callersClassChain
tests/test_parametrize.py:461
↓ 1 callersClassCheckpointedNet
tests/test_linear4bit.py:483
↓ 1 callersClassCudaBNBNativeLibrary
bitsandbytes/cextension.py:109
↓ 1 callersClassErrorHandlerMockBNBNativeLibrary
Mock library handler that defers errors until native methods are called. This class serves as a fallback when the native bitsandbytes librar
bitsandbytes/cextension.py:171
↓ 1 callersClassLion
bitsandbytes/optim/lion.py:8
↓ 1 callersClassMLP8bit
tests/test_modules.py:25
↓ 1 callersClassMoEModule
tests/test_parametrize.py:105
↓ 1 callersClassMockArgs
tests/test_modules.py:19
↓ 1 callersClassSimpleMoE
tests/test_parametrize.py:211
↓ 1 callersClassSimpleQLoRAModel
Minimal model with a frozen 4-bit base layer and a trainable adapter.
tests/fsdp_state_dict_save.py:51
↓ 1 callersClassStreamer
benchmarking/xpu/inference_benchmark.py:51
↓ 1 callersClassXpuBNBNativeLibrary
XPU native library with SYCL USM paged memory support.
bitsandbytes/cextension.py:118
ClassAdEMAMix
bitsandbytes/optim/ademamix.py:107
ClassAdEMAMix32bit
bitsandbytes/optim/ademamix.py:355
ClassAdEMAMix8bit
bitsandbytes/optim/ademamix.py:270
ClassAdagrad
bitsandbytes/optim/adagrad.py:8
ClassAdagrad32bit
bitsandbytes/optim/adagrad.py:131
ClassAdagrad8bit
bitsandbytes/optim/adagrad.py:67
ClassAdam32bit
bitsandbytes/optim/adam.py:126
ClassAdam8bit
bitsandbytes/optim/adam.py:62
ClassAdamW
bitsandbytes/optim/adamw.py:9
ClassAdamW32bit
bitsandbytes/optim/adamw.py:126
ClassAdamW8bit
bitsandbytes/optim/adamw.py:62
ClassBinaryDistribution
setup.py:15
ClassCUBLAS_Context
bitsandbytes/functional.py:49
EnumDataType_t
csrc/common.h:3
ClassEmbedding
Embedding class to store and retrieve word embeddings from their indices.
bitsandbytes/nn/modules.py:134
ClassEmbedding4bit
This is the base class similar to Linear4bit. It implements the 4-bit quantization algorithm presented in [QLoRA](https://arxiv.org/abs/2305.
bitsandbytes/nn/modules.py:880
ClassEmbedding8bit
This class implements [LLM.int8()](https://arxiv.org/abs/2208.07339) algorithm for embedding layer Quantization API is similar to Linear8bit
bitsandbytes/nn/modules.py:833
ClassEmbeddingFP4
bitsandbytes/nn/modules.py:980
ClassEmbeddingNF4
bitsandbytes/nn/modules.py:999
ClassExtBuildPy
setup.py:20
ClassFFN
tests/test_functional.py:50
ClassGlobalOptimManager
A global optimizer manager for enabling custom optimizer configs.
bitsandbytes/optim/optimizer.py:26
ClassGlobalOutlierPooler
bitsandbytes/autograd/_functions.py:25
ClassGlobalPageManager
bitsandbytes/functional.py:25
ClassLAMB
bitsandbytes/optim/lamb.py:8
ClassLAMB32bit
bitsandbytes/optim/lamb.py:137
ClassLAMB8bit
bitsandbytes/optim/lamb.py:67
ClassLARS
bitsandbytes/optim/lars.py:11
ClassLARS32bit
bitsandbytes/optim/lars.py:118
ClassLARS8bit
bitsandbytes/optim/lars.py:66
ClassLUTCache
Per-thread LUT cache with multiple slots to avoid rebuilding when alternating codebooks
csrc/cpu_ops.cpp:523
ClassLinear4bit
This class is the base module for the 4-bit quantization algorithm presented in [QLoRA](https://arxiv.org/abs/2305.14314). QLoRA 4-bit linear
bitsandbytes/nn/modules.py:504
ClassLinearFP4
Implements the FP4 data type.
bitsandbytes/nn/modules.py:640
ClassLinearNF4
Implements the NF4 data type. Constructs a quantization data type where each bin has equal area under a standard normal distribution N(0, 1) that
bitsandbytes/nn/modules.py:676
ClassLion32bit
bitsandbytes/optim/lion.py:99
ClassLion8bit
bitsandbytes/optim/lion.py:55
ClassMatMul4Bit
bitsandbytes/autograd/_functions.py:300
ClassMatMul8bitFp
bitsandbytes/autograd/_functions.py:245
ClassMatMul8bitLt
bitsandbytes/autograd/_functions.py:101
ClassOptimizer1State
bitsandbytes/optim/optimizer.py:593
ClassOptimizer2State
bitsandbytes/optim/optimizer.py:403
ClassOptimizer8bit
bitsandbytes/optim/optimizer.py:117
ClassOutlierAwareLinear
bitsandbytes/nn/modules.py:1197
ClassOutlierTracer
bitsandbytes/utils.py:44
ClassPagedAdEMAMix
bitsandbytes/optim/ademamix.py:326
ClassPagedAdEMAMix32bit
bitsandbytes/optim/ademamix.py:386
ClassPagedAdEMAMix8bit
bitsandbytes/optim/ademamix.py:299
ClassPagedAdam
bitsandbytes/optim/adam.py:179
ClassPagedAdam32bit
bitsandbytes/optim/adam.py:296
ClassPagedAdam8bit
bitsandbytes/optim/adam.py:232
ClassPagedAdamW
bitsandbytes/optim/adamw.py:179
ClassPagedAdamW32bit
bitsandbytes/optim/adamw.py:290
ClassPagedAdamW8bit
bitsandbytes/optim/adamw.py:229
ClassPagedLion
bitsandbytes/optim/lion.py:143
ClassPagedLion32bit
bitsandbytes/optim/lion.py:228
ClassPagedLion8bit
bitsandbytes/optim/lion.py:187
ClassPytorchLARS
bitsandbytes/optim/lars.py:170
ClassRMSprop
bitsandbytes/optim/rmsprop.py:8
ClassRMSprop32bit
bitsandbytes/optim/rmsprop.py:117
ClassRMSprop8bit
bitsandbytes/optim/rmsprop.py:64
ClassSGD
bitsandbytes/optim/sgd.py:8
ClassSGD32bit
bitsandbytes/optim/sgd.py:107
ClassSGD8bit
bitsandbytes/optim/sgd.py:59
ClassStableEmbedding
Custom embedding layer designed to improve stability during training for NLP tasks by using 32-bit optimizer states. It is designed to reduce gra
bitsandbytes/nn/modules.py:28
ClassTest4bitBlockwiseQuantOps
tests/test_ops.py:137
ClassTest8BitBlockwiseQuantizeFunctional
tests/test_functional.py:104
ClassTestInt8BlockwiseQuantOps
tests/test_ops.py:96
ClassTestLLMInt8Functional
tests/test_functional.py:350
ClassTestLLMInt8Ops
tests/test_ops.py:12
ClassTestNonContiguousInputs
Regression tests for #1342 and #1690: quantization must handle non-contiguous tensors correctly.
tests/test_ops.py:378
ClassTestParametrizationCacheCounterUnderCheckpointing
The cache-gate hooks must stay balanced under activation checkpointing. ``use_reentrant=False`` checkpointing aborts its backward recompute mid-f
tests/test_parametrize.py:436
ClassTestQuantize4BitFunctional
tests/test_functional.py:575
ClassTimer
tests/test_functional.py:66
ClassUnroll
csrc/cpu_ops.h:45
ClassUnroll<1>
csrc/cpu_ops.h:52
Class_ReferenceAdEMAMix
Reference: https://hf.co/papers/2409.03137
bitsandbytes/optim/ademamix.py:11
Classbf16_t
csrc/cpu_ops.h:132
next →1–100 of 117, ranked by callers