← Open Source
LTH14

JiT

PyTorch implementation of JiT https://arxiv.org/abs/2511.13720.

Model DevelopmentArchitecturePython
Open on GitHub
Momentum
+2stars in 24 hours+0.1%
2.55k
Stars
173
Forks
+4
This week
1
Contributors
Created 2025-11-10 · Updated 2026-10-16 · #3650 today
Top developers
LTH14

LTH14/JiT is ranked 3,650 with 2,553 stars.

Same-category comparison

LTH14/JiT is ranked 3,650 among these 8 peers; taesungp/contrastive-unpaired-translation is ranked 3,648.

Same-category comparison
NameRankMetrics
ZHZisZZ/dllm3,630
Language:
Python
Stars:
2,710
Forks:
287
Description:
dLLM: Simple Diffusion Language Modeling.
atong01/conditional-flow-matching3,639
Language:
Python
Stars:
2,600
Forks:
226
Description:
TorchCFM: a Conditional Flow Matching library.
AprilRobotics/apriltag3,644
Language:
C
Stars:
2,572
Forks:
682
Description:
AprilTag is a visual fiducial system popular for robotics research.
taesungp/contrastive-unpaired-translation3,648
Language:
Python
Stars:
2,559
Forks:
451
Description:
Contrastive unpaired image-to-image translation, faster and lighter training than cyclegan (ECCV 2020, in PyTorch).
chemprop/chemprop3,657
Language:
Python
Stars:
2,504
Forks:
758
Description:
Message Passing Neural Networks for Molecule Property Prediction.
google/tunix3,660
Language:
Python
Stars:
2,486
Forks:
371
Description:
A Lightweight LLM Post-Training Library.
moj-analytical-services/splink3,661
Language:
Python
Stars:
2,486
Forks:
276
Description:
Fast, accurate and scalable probabilistic data linkage with support for multiple SQL backends.
jennyzzt/dgm3,669
Language:
Python
Stars:
2,421
Forks:
452
Description:
Darwin Gödel Machine: Open-Ended Evolution of Self-Improving Agents.
Key parameters and specifications
Key parameters and specifications
ParameterValue
LanguagePython
CategoryModel Development
SubcategoryArchitecture
Stars2,553
Forks173
Contributors1
Created date2025-11-10
Updated date2026-10-16
Stars in 1 day2
Stars in 7 days4
Rank3,650
Previous rank5,198
Rank change1,548
7-day stars rank6,013
Previous 7-day stars rank6,748
7-day stars rank change735
Total stars rank5,189
Previous total stars rank5,185
Total stars rank change-4
CountryUSA
README summary

Just image Transformer (JiT) for Pixel-space Diffusion This is a PyTorch/GPU re-implementation of the paper Back to Basics: Let Denoising Generative Models Denoise: JiT adopts a minimalist and self-contained design for pixel-level high-resolution image diffusion. The original implementation was in JAX+TPU. This re-implementation is in PyTorch+GPU. Dataset Download ImageNet dataset, and place it in your . Installation Download the code: A suitable conda environment named can be created and activated with: If

you get when importing , simply Check this issue for more details. Training The below training scripts have been tested on 8 H200 GPUs. Example script for training JiT-B/16 on ImageNet 256x256 for 600 epochs: Example script for training JiT-B/32 on ImageNet 512x512 for 600 epochs: Example script for training JiT-H/16 on ImageNet 256x256 for 600 epochs: Evaluation PyTorch pre-trained models are available here. Evaluate pre-trained JiT-B: Evaluate pre-trained JiT-L

: Evaluate pre-trained JiT-H: We use a customized to evaluate FID and IS against a reference image folder or statistics. You can use to prepare the reference image folder, or directly use our pre-computed reference stats under . Acknowledgements We thank Google TPU Research Cloud (TRC) for granting us access to TPUs, and the MIT ORCD Seed Fund Grants for supporting GPU resources. Contact If you have any questions, feel free to contact me through email (tianhong@mit.

Frequently asked questions

How many stars and forks are recorded?

LTH14/JiT has 2,553 stars and 173 forks.

What is the repository rank?

LTH14/JiT is ranked 3,650.

What language and category are recorded?

LTH14/JiT has 2,553 stars, uses Python and belongs to Model Development.

Which repository is closest in rank?

LTH14/JiT is compared with taesungp/contrastive-unpaired-translation, ranked 3,648 with 2,559 stars.

README

Just image Transformer (JiT) for Pixel-space Diffusion

 

This is a PyTorch/GPU re-implementation of the paper Back to Basics: Let Denoising Generative Models Denoise:

@article{li2025jit,
  title={Back to Basics: Let Denoising Generative Models Denoise},
  author={Li, Tianhong and He, Kaiming},
  journal={arXiv preprint arXiv:2511.13720},
  year={2025}
}

JiT adopts a minimalist and self-contained design for pixel-level high-resolution image diffusion. The original implementation was in JAX+TPU. This re-implementation is in PyTorch+GPU.

Dataset

Download ImageNet dataset, and place it in your IMAGENET_PATH.

Installation

Download the code:

git clone https://github.com/LTH14/JiT.git
cd JiT

A suitable conda environment named jit can be created and activated with:

conda env create -f environment.yaml
conda activate jit

If you get undefined symbol: iJIT_NotifyEvent when importing torch, simply

pip uninstall torch
pip install torch==2.5.1 --index-url https://download.pytorch.org/whl/cu124

Check this issue for more details.

Training

The below training scripts have been tested on 8 H200 GPUs.

Example script for training JiT-B/16 on ImageNet 256x256 for 600 epochs:

torchrun --nproc_per_node=8 --nnodes=1 --node_rank=0 \
main_jit.py \
--model JiT-B/16 \
--proj_dropout 0.0 \
--P_mean -0.8 --P_std 0.8 \
--img_size 256 --noise_scale 1.0 \
--batch_size 128 --blr 5e-5 \
--epochs 600 --warmup_epochs 5 \
--gen_bsz 128 --num_images 50000 --cfg 2.9 --interval_min 0.1 --interval_max 1.0 \
--output_dir ${OUTPUT_DIR} --resume ${OUTPUT_DIR} \
--data_path ${IMAGENET_PATH} --online_eval

Example script for training JiT-B/32 on ImageNet 512x512 for 600 epochs:

torchrun --nproc_per_node=8 --nnodes=1 --node_rank=0 \
main_jit.py \
--model JiT-B/32 \
--proj_dropout 0.0 \
--P_mean -0.8 --P_std 0.8 \
--img_size 512 --noise_scale 2.0 \
--batch_size 128 --blr 5e-5 \
--epochs 600 --warmup_epochs 5 \
--gen_bsz 128 --num_images 50000 --cfg 2.9 --interval_min 0.1 --interval_max 1.0 \
--output_dir ${OUTPUT_DIR} --resume ${OUTPUT_DIR} \
--data_path ${IMAGENET_PATH} --online_eval

Example script for training JiT-H/16 on ImageNet 256x256 for 600 epochs:

torchrun --nproc_per_node=8 --nnodes=1 --node_rank=0 \
main_jit.py \
--model JiT-H/16 \
--proj_dropout 0.2 \
--P_mean -0.8 --P_std 0.8 \
--img_size 256 --noise_scale 1.0 \
--batch_size 128 --blr 5e-5 \
--epochs 600 --warmup_epochs 5 \
--gen_bsz 128 --num_images 50000 --cfg 2.2 --interval_min 0.1 --interval_max 1.0 \
--output_dir ${OUTPUT_DIR} --resume ${OUTPUT_DIR} \
--data_path ${IMAGENET_PATH} --online_eval

Evaluation

PyTorch pre-trained models are available here.

Evaluate pre-trained JiT-B:

torchrun --nproc_per_node=8 --nnodes=1 --node_rank=0 \
main_jit.py \
--model JiT-B/16 (or JiT-B/32) \
--img_size 256 (or 512) --noise_scale 1.0 (or 2.0) \
--gen_bsz 256 --num_images 50000 --cfg 3.0 --interval_min 0.1 --interval_max 1.0 \
--output_dir ${CKPT_DIR} --resume ${CKPT_DIR} \
--data_path ${IMAGENET_PATH} --evaluate_gen

Evaluate pre-trained JiT-L:

torchrun --nproc_per_node=8 --nnodes=1 --node_rank=0 \
main_jit.py \
--model JiT-L/16 (or JiT-L/32) \
--img_size 256 (or 512) --noise_scale 1.0 (or 2.0) \
--gen_bsz 256 --num_images 50000 --cfg 2.4 (or 2.5) --interval_min 0.1 --interval_max 1.0 \
--output_dir ${CKPT_DIR} --resume ${CKPT_DIR} \
--data_path ${IMAGENET_PATH} --evaluate_gen

Evaluate pre-trained JiT-H:

torchrun --nproc_per_node=8 --nnodes=1 --node_rank=0 \
main_jit.py \
--model JiT-H/16 (or JiT-H/32) \
--img_size 256 (or 512) --noise_scale 1.0 (or 2.0) \
--gen_bsz 256 --num_images 50000 --cfg 2.2 (or 2.3) --interval_min 0.1 --interval_max 1.0 \
--output_dir ${CKPT_DIR} --resume ${CKPT_DIR} \
--data_path ${IMAGENET_PATH} --evaluate_gen

We use a customized torch-fidelity to evaluate FID and IS against a reference image folder or statistics. You can use prepare_ref.py to prepare the reference image folder, or directly use our pre-computed reference stats under fid_stats.

Acknowledgements

We thank Google TPU Research Cloud (TRC) for granting us access to TPUs, and the MIT ORCD Seed Fund Grants for supporting GPU resources.

Contact

If you have any questions, feel free to contact me through email (tianhong@mit.edu). Enjoy!

Nearby in the ranking
Similar items