Skip to content

Instantly share code, notes, and snippets.

View thethiny's full-sized avatar
🤩
Potatoes ready to harvest

thethiny thethiny

🤩
Potatoes ready to harvest
View GitHub Profile
@qpwo
qpwo / _myatari.py
Last active September 29, 2025 06:25
atari realtime rl runner
#!/usr/bin/env python3
import torch, gymnasium as gym, numpy as np, time, sys, threading, os, random
import torch.multiprocessing as mp
from torch import Tensor
from bg_record import log_step, bind_logger, log_close
# torch.set_num_threads(1)
NUM_PROCS = 16