| # Adapted from https://github.com/thinking-machines-lab/batch_invariant_ops/blob/main/batch_invariant_ops/__init__.py | |
| from .batch_invariant_ops import ( | |
| AttentionBlockSize, | |
| disable_batch_invariant_mode, | |
| enable_batch_invariant_mode, | |
| get_batch_invariant_attention_block_size, | |
| is_batch_invariant_mode_enabled, | |
| log_softmax, | |
| matmul_persistent, | |
| mean_dim, | |
| set_batch_invariant_mode, | |
| ) | |
| __version__ = "0.1.0" | |
| __all__ = [ | |
| "set_batch_invariant_mode", | |
| "is_batch_invariant_mode_enabled", | |
| "disable_batch_invariant_mode", | |
| "enable_batch_invariant_mode", | |
| "matmul_persistent", | |
| "log_softmax", | |
| "mean_dim", | |
| "get_batch_invariant_attention_block_size", | |
| "AttentionBlockSize", | |
| ] | |
Xet Storage Details
- Size:
- 728 Bytes
- Xet hash:
- 5bea92030d602526fc244de947da9b7657f3723699899b55aca839cbd926a560
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.