zhicao/dreamzero main
PYTHON
Verdict: BENIGN
Local reference
Suspicious dependency
Inferred
| 1 |
"""Wan2.2-compatible blocks with track-isolated block-causal attention.""" |
English function-word token "with" |
| 2 |
|
|
| 3 |
from __future__ import annotations |
|
| 4 |
|
|
| 5 |
import torch |
|
| 6 |
from torch.nn import functional as F |
|
| 7 |
|
|
| 8 |
from groot.… |
|
| 50:39 |
…usalSelfAttention): |
|
| 51 |
"""Original WAN q/k/v/o and norms with the new exact dense topology.""" |
English function-word token "the" |
| 52 |
|
|
| 53 |
def forward( |
|
| 54 |
self, |
|
| 55 |
x: torch.Tensor, |
|
| 56 |
*… |
|
| 129:26 |
…_block=num_state_per_block, |
|
| 130 |
) |
|
| 131 |
# This is strict by construction: q/k/v/o, RMSNorms, and parameter |
Contains common English function words |
| 132 |
# shapes are inherited unch… |
|
| 147:58 |
…le_ffn, gate_ffn = ( |
|
| 148 |
part.squeeze(2) for part in modulation |
English function-word token "for" |
| 149 |
) |
|
| 150 |
|
|
| 151 |
attention_input = self.norm1(x) * (1 + scale_attn) + shift_attn |
|
| 152 |
… |
|
Metadata
-
0
"""Wan2.2-compatible blocks with track-isolated block-causal attention."""
from __future__ import annotations
import torch
from torch.nn import functional as F
from groot.
| 50:39 |
…usalSelfAttention): |
|
| 51 |
"""Original WAN q/k/v/o and norms with the new exact dense topology.""" |
|
| 52 |
|
|
| 53 |
def forward( |
|
| 54 |
self, |
|
| 55 |
x: torch.Tensor, |
|
| 56 |
*… |
|
| 129:26 |
…_block=num_state_per_block, |
|
| 130 |
) |
|
| 131 |
# This is strict by construction: q/k/v/o, RMSNorms, and parameter |
|
| 132 |
# shapes are inherited unch… |
|
| 147:58 |
…le_ffn, gate_ffn = ( |
|
| 148 |
part.squeeze(2) for part in modulation |
|
| 149 |
) |
|
| 150 |
|
|
| 151 |
attention_input = self.norm1(x) * (1 + scale_attn) + shift_attn |
|
| 152 |
… |
|
| 1 |
"""Wan2.2-compatible blocks with track-isolated block-causal attention.""" |
|
| 2 |
|
|
| 3 |
from __future__ import annotations |
|
| 4 |
|
|
| 5 |
import torch |
|
| 6 |
from torch.nn import functional as F |
|
| 7 |
|
|
| 8 |
from groot.… |
|
Identity
| SHA-256 |
fe40e17fd6c218f3ccc0e2fd2e19379b9f16c8291142e7232566d72563ffd670 |
| Filename |
blocks.py |
| Package |
zhicao/dreamzero |
| Version |
main |
| PURL |
pkg:huggingface/zhicao/dreamzero@main |
Timeline
| First seen |
13 Aug 2026 21:18 UTC |
| First analyzed |
27 Aug 2026 18:10 UTC |
| Last analyzed |
27 Aug 2026 18:10 UTC |
| Last updated |
27 Aug 2026 18:10 UTC |
Labeling
| Label |
unknown |
| Label source |
forager |
| Traits version |
b59b7 |