Skip to content

Instantly share code, notes, and snippets.

View mrbesher's full-sized avatar
👨‍💻

Besher Alkurdi mrbesher

👨‍💻
View GitHub Profile
import torch
from torch import nn
from torch.distributed.tensor.placement_types import Replicate, Shard
from torch.testing._internal.distributed.fake_pg import FakeStore
import torch.distributed as dist
from torch.distributed.device_mesh import init_device_mesh
from torch.distributed.tensor import DTensor, Replicate
world_size = 4
@RubenKelevra
RubenKelevra / fast_firefox.md
Last active December 4, 2025 13:04
Make Firefox fast again