Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BICLab/SpikingBrain-7B
/ types & classes
Types & classes
101 in github.com/BICLab/SpikingBrain-7B
⨍
Functions
395
◇
Types & classes
101
↳
Endpoints
1
↓ 37 callers
Class
SpikeCountBitwiseNode
Spike count to bitwise-coded spike sequence. Emits one bit per timestep from the binary representation of the count. Supports non-negativ
W8ASpike/Int2Spike/neuron.py:193
↓ 12 callers
Class
QuantLinear
W8ASpike/quant_linear.py:21
↓ 10 callers
Class
SpikeCountBinaryLIFNode
Spike count to binary spike sequence (0/1) over T timesteps. Emits 1 each step until count reaches zero. Input x must be a non-negative i
W8ASpike/Int2Spike/neuron.py:97
↓ 10 callers
Class
SpikeCountTernaryLIFNode
Spike count to ternary spike sequence (-1/0/1) over T timesteps. Positive count emits +1, negative count emits -1. Input x must be an int
W8ASpike/Int2Spike/neuron.py:147
↓ 6 callers
Class
SpikingBrainRMSNorm
hf_7B_VLM/SpikingBrain_VL/modeling_spikingbrain_vl.py:101
↓ 4 callers
Class
RMSNorm
W8ASpike/norms.py:4
↓ 4 callers
Class
RMSNorm
hf_7B_model/layernorm.py:626
↓ 4 callers
Class
RMSNorm
hf_7B_model/norms.py:4
↓ 3 callers
Class
MetaAttentionMetadata
vllm_hymeta/attention/meta_attention.py:129
↓ 2 callers
Class
GLACacheParams
vllm_hymeta/model_for_7B/gla_cache.py:9
↓ 2 callers
Class
SpikingBrain_VLRotaryEmbedding
hf_7B_VLM/SpikingBrain_VL/modeling_spikingbrain_vl.py:543
↓ 1 callers
Class
FlashAttention
W8ASpike/window_attention.py:94
↓ 1 callers
Class
FlashAttention
hf_7B_model/window_attention.py:94
↓ 1 callers
Class
FlashAttention
vllm_hymeta/model_for_7B/modeling_gla_swa.py:133
↓ 1 callers
Class
GLA
hf_7B_VLM/SpikingBrain_VL/gla.py:28
↓ 1 callers
Class
GLACacheManager
vllm_hymeta/model_for_7B/gla_cache.py:17
↓ 1 callers
Class
GLAswaBlock
vllm_hymeta/model_for_7B/modeling_gla_swa.py:221
↓ 1 callers
Class
GLAswaGLU
vllm_hymeta/model_for_7B/modeling_gla_swa.py:96
↓ 1 callers
Class
GLAswaModel
vllm_hymeta/model_for_7B/modeling_gla_swa.py:309
↓ 1 callers
Class
GLAswaRotaryEmbedding
vllm_hymeta/model_for_7B/modeling_gla_swa.py:43
↓ 1 callers
Class
GLU
W8ASpike/modeling_gla_swa.py:34
↓ 1 callers
Class
GLU
hf_7B_model/modeling_gla_swa.py:33
↓ 1 callers
Class
GatedLinearAttention
W8ASpike/gla_attention.py:36
↓ 1 callers
Class
GatedLinearAttention
hf_7B_model/gla_attention.py:36
↓ 1 callers
Class
GatedLinearAttention
vllm_hymeta/model_for_7B/gla_attention.py:90
↓ 1 callers
Class
HybridBlock
W8ASpike/modeling_gla_swa.py:58
↓ 1 callers
Class
HybridBlock
hf_7B_model/modeling_gla_swa.py:57
↓ 1 callers
Class
HybridModel
W8ASpike/modeling_gla_swa.py:172
↓ 1 callers
Class
HybridModel
hf_7B_model/modeling_gla_swa.py:172
↓ 1 callers
Class
LowRankSequentialLinear
vllm_hymeta/model_for_7B/gla_attention.py:53
↓ 1 callers
Class
Quantizer
W8ASpike/quant_linear.py:52
↓ 1 callers
Class
RotaryEmbedding
W8ASpike/window_attention.py:23
↓ 1 callers
Class
RotaryEmbedding
hf_7B_model/window_attention.py:23
↓ 1 callers
Class
RotaryEmbedding
hf_7B_model/window_attention_sdpa.py:23
↓ 1 callers
Class
SpikingBrainMLP
hf_7B_VLM/SpikingBrain_VL/modeling_spikingbrain_vl.py:604
↓ 1 callers
Class
SpikingBrain_VLCausalLMOutputWithPast
Base class for SpikingBrain_VL causal language model (or autoregressive) outputs. Args: loss (`torch.FloatTensor` of shape `(1,)`, *
hf_7B_VLM/SpikingBrain_VL/modeling_spikingbrain_vl.py:1355
↓ 1 callers
Class
SpikingBrain_VLDecoderLayer
hf_7B_VLM/SpikingBrain_VL/modeling_spikingbrain_vl.py:965
↓ 1 callers
Class
SpikingBrain_VLMLP
hf_7B_VLM/SpikingBrain_VL/modeling_spikingbrain_vl.py:49
↓ 1 callers
Class
SpikingBrain_VLModel
hf_7B_VLM/SpikingBrain_VL/modeling_spikingbrain_vl.py:1059
↓ 1 callers
Class
SpikingBrain_VLPatchMerger
hf_7B_VLM/SpikingBrain_VL/modeling_spikingbrain_vl.py:121
↓ 1 callers
Class
SpikingBrain_VLVisionBlock
hf_7B_VLM/SpikingBrain_VL/modeling_spikingbrain_vl.py:310
↓ 1 callers
Class
SpikingBrain_VL_GLA
SpikingBrain_VL flash attention module, following SpikingBrain_VL attention module. This module inherits from `SpikingBrain_VLAttention` as t
hf_7B_VLM/SpikingBrain_VL/modeling_spikingbrain_vl.py:895
↓ 1 callers
Class
SpikingBrain_VL_SWA
SpikingBrain_VL flash attention module, following SpikingBrain_VL attention module. This module inherits from `SpikingBrain_VLAttention` as t
hf_7B_VLM/SpikingBrain_VL/modeling_spikingbrain_vl.py:784
↓ 1 callers
Class
SpikingBrain_VisionPatchEmbed
hf_7B_VLM/SpikingBrain_VL/modeling_spikingbrain_vl.py:63
↓ 1 callers
Class
SpikingBrain_VisionRotaryEmbedding
hf_7B_VLM/SpikingBrain_VL/modeling_spikingbrain_vl.py:89
Class
Cache
A cache used for storing hidden states produced by BoSs. It stores the states (hidden states and Key/Value/sid states) of each layer. The ex
W8ASpike/cache.py:11
Class
Cache
A cache used for storing hidden states produced by BoSs. It stores the states (hidden states and Key/Value/sid states) of each layer. The ex
hf_7B_model/cache.py:11
Class
FastGeLUFunction
W8ASpike/activations.py:255
Class
FastGeLUFunction
hf_7B_model/activations.py:255
Class
FlashAttention
hf_7B_model/window_attention_sdpa.py:94
Class
FlashAttentionVarlenWithMetaToken
vllm_hymeta/attention/fa_kernel_metatoken.py:198
Class
FlashAttentionWithMetaToken
vllm_hymeta/attention/fa_kernel_metatoken.py:124
Class
GLAswaConfig
W8ASpike/configuration_gla_swa.py:24
Class
GLAswaConfig
hf_7B_model/configuration_gla_swa.py:24
Class
GLAswaConfig
vllm_hymeta/model_for_7B/configuration_gla_swa.py:10
Class
GLAswaForCausalLM
W8ASpike/modeling_gla_swa.py:298
Class
GLAswaForCausalLM
hf_7B_model/modeling_gla_swa.py:296
Class
GLAswaForCausalLM
vllm_hymeta/model_for_7B/modeling_gla_swa.py:502
Class
GLAswaGPTQ
hf_7B_model/gla_swa_gptq.py:8
Class
GeLUFunction
W8ASpike/activations.py:216
Class
GeLUFunction
hf_7B_model/activations.py:216
Class
GroupNorm
hf_7B_model/layernorm.py:578
Class
GroupNormLinear
hf_7B_model/layernorm.py:847
Class
HybridPreTrainedModel
W8ASpike/modeling_gla_swa.py:129
Class
HybridPreTrainedModel
hf_7B_model/modeling_gla_swa.py:128
Class
HymetaCudaPlatform
Platform for HYMETA Cache on CUDA.
vllm_hymeta/platform.py:10
Class
LayerNorm
hf_7B_model/layernorm.py:536
Class
LayerNormFn
hf_7B_model/layernorm.py:383
Class
LayerNormLinear
hf_7B_model/layernorm.py:802
Class
LayerNormLinearFn
hf_7B_model/layernorm.py:668
Class
LogSigmoidFunction
W8ASpike/activations.py:131
Class
LogSigmoidFunction
hf_7B_model/activations.py:131
Class
MetaAttentionBackend
vllm_hymeta/attention/meta_attention.py:53
Class
MetaAttentionImpl
If the input tensors contain prompt tokens, the layout is as follows: |<--------------- num_prefill_tokens ----------------->| |<--prefi
vllm_hymeta/attention/meta_attention.py:611
Class
MetaAttentionMetadataBuilder
vllm_hymeta/attention/meta_attention.py:411
Class
MyFusedRecurrentFunction
vllm_hymeta/model_for_7B/my_fused_recurrent.py:83
Class
RMSNormLinear
hf_7B_model/layernorm.py:898
Class
RecurrentStateHolder
hf_7B_VLM/SpikingBrain_VL/utils.py:6
Class
SigmoidFunction
W8ASpike/activations.py:28
Class
SigmoidFunction
hf_7B_model/activations.py:28
Class
SpikeCountBaseLIFNode
W8ASpike/Int2Spike/neuron.py:8
Class
SpikingBrain_VLAttention
Multi-headed attention from 'Attention Is All You Need' paper. Modified to use sliding window attention: Longformer and "Generating Long Sequ
hf_7B_VLM/SpikingBrain_VL/modeling_spikingbrain_vl.py:677
Class
SpikingBrain_VLConfig
This is the configuration class to store the configuration of a `SpikingBrain_VLModel`.
hf_7B_VLM/SpikingBrain_VL/configuration_spikingbrain_vl.py:44
Class
SpikingBrain_VLForConditionalGeneration
hf_7B_VLM/SpikingBrain_VL/modeling_spikingbrain_vl.py:1469
Class
SpikingBrain_VLPreTrainedModel
hf_7B_VLM/SpikingBrain_VL/modeling_spikingbrain_vl.py:358
Class
SpikingBrain_VLProcessor
hf_7B_VLM/SpikingBrain_VL/processing_spikingbrain_vl.py:23
Class
SpikingBrain_VLProcessorKwargs
hf_7B_VLM/SpikingBrain_VL/processing_spikingbrain_vl.py:13
Class
SpikingBrain_VLVideosProcessorKwargs
hf_7B_VLM/SpikingBrain_VL/processing_spikingbrain_vl.py:9
Class
SpikingBrain_VLVisionAttention
hf_7B_VLM/SpikingBrain_VL/modeling_spikingbrain_vl.py:210
Class
SpikingBrain_VLVisionConfig
This is the configuration class to store the configuration of a `SpikingBrain_VLVisionModel`.
hf_7B_VLM/SpikingBrain_VL/configuration_spikingbrain_vl.py:3
Class
SpikingBrain_VLVisionFlashAttention2
hf_7B_VLM/SpikingBrain_VL/modeling_spikingbrain_vl.py:149
Class
SpikingBrain_VLVisionSdpaAttention
hf_7B_VLM/SpikingBrain_VL/modeling_spikingbrain_vl.py:260
Class
SpikingBrain_VisionTransformerPretrainedModel
hf_7B_VLM/SpikingBrain_VL/modeling_spikingbrain_vl.py:381
Class
SquaredReLUFunction
W8ASpike/activations.py:288
Class
SquaredReLUFunction
hf_7B_model/activations.py:288
Class
SwiGLUFunction
r""" Swish-Gated Linear Unit (SwiGLU) function. .. math:: \text{SwiGLU}(x, y) = swish(x) * y = \frac{x}{1 + \exp(-x)} * y
W8ASpike/activations.py:378
Class
SwiGLUFunction
r""" Swish-Gated Linear Unit (SwiGLU) function. .. math:: \text{SwiGLU}(x, y) = swish(x) * y = \frac{x}{1 + \exp(-x)} * y
hf_7B_model/activations.py:378
Class
SwiGLULinearFunction
r""" Swish-Gated Linear Unit (SwiGLU) function followed by a linear transformation. .. math:: \text{SwiGLULinear}(x, y, W, b) = (swis
W8ASpike/activations.py:397
Class
SwiGLULinearFunction
r""" Swish-Gated Linear Unit (SwiGLU) function followed by a linear transformation. .. math:: \text{SwiGLULinear}(x, y, W, b) = (swis
hf_7B_model/activations.py:397
Class
SwishFunction
W8ASpike/activations.py:171
next →
1–100 of 101, ranked by callers