mixed precision
From Dontopedia, the open, paraconsistent wiki. (Last updated 2026-06-10.)
mixed precision has 14 facts recorded in Dontopedia across 7 references, with 3 live disagreements.
Mostly:rdf:type(3), supports format(2), future consideration(1)
Maturity scale
raw canonical shape-checked rule-derived certifiedInbound mentions (10)
Other subjects in dontopedia point AT this entity as a value. These are inverse relationships — e.g. "X motherOf this subject" — and answer questions the forward facts can't. Grouped by predicate.
enablesEnables(2)
- Autocast
ex:autocast - Gradient Scaler
ex:gradient-scaler
isUsedForIs Used for(2)
- Autocast
ex:autocast - Gradient Scaler
ex:gradient-scaler
purposePurpose(2)
- Autocast
ex:autocast - Autocast Context
ex:autocast-context
essentialForEssential for(1)
- Fp32 Accumulators
ex:fp32-accumulators
isAchievedByIs Achieved by(1)
- Computational Efficiency
ex:computational-efficiency
listsItemLists Item(1)
- Training Features Subsection
ex:training-features-subsection
usesTechniqueUses Technique(1)
- Training Loop
ex:training-loop
Other facts (12)
The long tail: predicates that appear too rarely to warrant their own section. Filter or scroll to find a specific one. Each row links to its source.
| Predicate | Value | Ref |
|---|---|---|
| Rdf:type | Training Feature | [2] |
| Rdf:type | Training Mode | [5] |
| Rdf:type | Training Technique | [7] |
| Supports Format | bf16 | [2] |
| Supports Format | fp16 | [2] |
| Future Consideration | true | [1] |
| Provides Benefit | Memory Efficiency | [3] |
| Is Continuation | true | [3] |
| Enabled by | Torch Cuda Amp | [4] |
| Optimization Technique | Training Performance | [4] |
| Contributes to | Computational Efficiency | [6] |
| Used in | Autocast Context | [7] |
Timeline
Timeline axis is valid_time — when each source says the fact was true in the world, not when Dontopedia learned about it. Retracted rows are kept for provenance; coloured stripes indicate the context kind.
References (7)
ctx:discord/blah/watt-activation/part-78ctx:discord/blah/watt-activation/458- full textwatt-activation-458text/plain2 KB
doc:agent/watt-activation-458/de149b38-35c3-463f-b547-cd05f36c46d2Show excerpt
[2026-03-21 14:35] xenonfun: --- ## NEEDS TESTING (builds, untested) - [ ] LoheSphericalComplexAttention (lohe_complex.rs) - [ ] LoheSphericalComplexSplitAttention (lohe_complex_split.rs) - [ ] QuaternionEncoder (quaternion_enc.rs) - [ ] …
ctx:claims/beam/d37ddcd2-e87b-45fe-94fd-23a99f3a695e- full textbeam-chunktext/plain1 KB
doc:beam/d37ddcd2-e87b-45fe-94fd-23a99f3a695eShow excerpt
# Calculate average loss for the epoch avg_loss = running_loss / len(data_loader) print(f'Epoch [{epoch + 1}/100], Loss: {avg_loss:.4f}, LR: {optimizer.param_groups[0]["lr"]}') # Step the scheduler s…
ctx:claims/beam/8b6abd69-54a1-41b8-bb85-d0b80bff1a3a- full textbeam-chunktext/plain1 KB
doc:beam/8b6abd69-54a1-41b8-bb85-d0b80bff1a3aShow excerpt
loss = criterion(outputs, batch_targets) # Normalize the loss because it is accumulated loss = loss / accumulation_steps # Backward pass loss.backward() # Update wei…
ctx:claims/beam/b37d3f65-b489-4a88-aa05-62e2c014851e- full textbeam-chunktext/plain1 KB
doc:beam/b37d3f65-b489-4a88-aa05-62e2c014851eShow excerpt
import torch import torch.nn as nn import torch.optim as optim from torch.utils.data import DataLoader, TensorDataset from torch.cuda.amp import GradScaler, autocast # Initialize PyTorch model model = nn.Sequential( nn.Linear(128, 128)…
ctx:claims/beam/af924c4f-8579-4b2a-85d1-c042076b09c7- full textbeam-chunktext/plain1 KB
doc:beam/af924c4f-8579-4b2a-85d1-c042076b09c7Show excerpt
loss = loss / accumulation_steps # Backward pass scaler.scale(loss).backward() # Update weights if (i + 1) % accumulation_steps == 0: scaler.step(optimizer) …
ctx:claims/beam/43e9fcd8-67ff-4a5a-a1bd-5302a703a02a- full textbeam-chunktext/plain1 KB
doc:beam/43e9fcd8-67ff-4a5a-a1bd-5302a703a02aShow excerpt
To profile your code and identify bottlenecks, you can use `torch.autograd.profiler`. Here's a quick example of how to profile your training loop: ```python from torch.autograd import profiler # Training loop with profiling for epoch in r…
See also
Keep researching
Missing something or suspicious of what's here? Kick off a research session — a Claude agent will investigate, cite its sources, and file new facts into a dedicated context you can review before accepting into the shared view.