x-transformers 2.11.8__tar.gz → 2.11.9__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of x-transformers might be problematic. Click here for more details.
- {x_transformers-2.11.8 → x_transformers-2.11.9}/PKG-INFO +1 -1
- {x_transformers-2.11.8 → x_transformers-2.11.9}/pyproject.toml +1 -1
- {x_transformers-2.11.8 → x_transformers-2.11.9}/tests/test_x_transformers.py +4 -2
- {x_transformers-2.11.8 → x_transformers-2.11.9}/x_transformers/free_transformer.py +3 -1
- {x_transformers-2.11.8 → x_transformers-2.11.9}/.github/FUNDING.yml +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/.github/workflows/python-publish.yml +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/.github/workflows/python-test.yaml +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/.gitignore +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/LICENSE +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/README.md +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/data/README.md +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/data/enwik8.gz +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/images/all-attention.png +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/images/attention-on-attention.png +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/images/cosine-sim-attention.png +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/images/deepnorm.png +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/images/dynamic-pos-bias-linear.png +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/images/dynamic-pos-bias-log.png +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/images/dynamic-pos-bias-sinusoidal.png +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/images/dynamic-pos-bias.png +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/images/enhanced-recurrence.png +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/images/fcm.png +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/images/ffglu.png +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/images/flash-attention.png +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/images/gate_values.png +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/images/gating.png +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/images/length-extrapolation-scale.png +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/images/macaron-1.png +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/images/macaron-2.png +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/images/memory-transformer.png +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/images/normformer.png +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/images/pia.png +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/images/qknorm-analysis.png +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/images/resi_dual.png +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/images/residual_attn.png +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/images/rezero.png +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/images/rotary.png +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/images/sandwich-2.png +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/images/sandwich.png +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/images/sandwich_norm.png +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/images/scalenorm.png +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/images/talking-heads.png +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/images/topk-attention.png +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/images/xval.png +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/train_belief_state.py +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/train_copy.py +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/train_entropy_tokenizer.py +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/train_enwik8.py +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/train_free.py +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/train_gpt_vae.py +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/train_length_extrapolate.py +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/train_parity.py +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/train_with_muon.py +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/x_transformers/__init__.py +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/x_transformers/attend.py +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/x_transformers/autoregressive_wrapper.py +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/x_transformers/belief_state_wrapper.py +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/x_transformers/continuous.py +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/x_transformers/dpo.py +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/x_transformers/entropy_based_tokenizer.py +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/x_transformers/gpt_vae.py +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/x_transformers/multi_input.py +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/x_transformers/neo_mlp.py +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/x_transformers/nonautoregressive_wrapper.py +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/x_transformers/up_wrapper.py +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/x_transformers/x_transformers.py +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/x_transformers/xl_autoregressive_wrapper.py +0 -0
- {x_transformers-2.11.8 → x_transformers-2.11.9}/x_transformers/xval.py +0 -0
|
@@ -1410,7 +1410,9 @@ def test_attn_negative_weights(
|
|
|
1410
1410
|
logits = model(x)
|
|
1411
1411
|
|
|
1412
1412
|
@param('per_token_latents', (False, True))
|
|
1413
|
+
@param('dec_head_depth', (0, 4))
|
|
1413
1414
|
def test_free(
|
|
1415
|
+
dec_head_depth,
|
|
1414
1416
|
per_token_latents
|
|
1415
1417
|
):
|
|
1416
1418
|
from x_transformers.free_transformer import FreeTransformer
|
|
@@ -1420,9 +1422,9 @@ def test_free(
|
|
|
1420
1422
|
max_seq_len = 1024,
|
|
1421
1423
|
dim = 512,
|
|
1422
1424
|
heads = 8,
|
|
1423
|
-
dec_head_depth =
|
|
1425
|
+
dec_head_depth = dec_head_depth,
|
|
1424
1426
|
dec_tail_depth = 4,
|
|
1425
|
-
enc_depth =
|
|
1427
|
+
enc_depth = 2,
|
|
1426
1428
|
kl_loss_weight = 1.,
|
|
1427
1429
|
per_token_latents = per_token_latents,
|
|
1428
1430
|
latent_bits = 8
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|