leaplabthu/adaptivenn-jittor — explained in plain English
Analysis updated 2026-05-18
Run image classification inference on ImageNet-1K using a Jittor based model.
Benchmark inference speed across different batch sizes and precision levels.
Study a working example of porting a PyTorch research model to Jittor.
Reproduce the published accuracy results for the AdaptiveNN model.
| leaplabthu/adaptivenn-jittor | alicankiraz1/codexqb | amirmushichge/vibemotion | |
|---|---|---|---|
| Stars | 28 | 28 | 28 |
| Language | Python | Python | Python |
| Setup difficulty | hard | easy | moderate |
| Complexity | 5/5 | 3/5 | 3/5 |
| Audience | researcher | developer | designer |
Figures from each repo's GitHub metadata at analysis time.
Requires a GPU and the ImageNet-1K dataset, training beyond full FP32 is unstable.
This repository is a port of the AdaptiveNN image classification model from PyTorch to a different AI computing framework called Jittor. Jittor is a deep learning framework developed by Tsinghua University that uses just-in-time compilation to speed up neural network operations. The original AdaptiveNN was published as research from the same university and appeared in the journal Nature Machine Intelligence. AdaptiveNN is described as a vision model that adapts how much computation it spends on different parts of an image, similar to how human eyes pay more attention to certain areas. This repository provides code for running that model and training it on a large image classification dataset called ImageNet-1K, which contains about 1.2 million images across 1,000 categories. The port reproduces the original model's accuracy: roughly 82 percent top-1 accuracy on the ImageNet validation set, matching what the PyTorch version achieves. Inference speed under the best configuration is about 88 percent of PyTorch's speed. Training is currently only stable when run in full 32-bit floating point mode, mixed precision training (which speeds things up on modern GPUs) is experimental and may produce numerical errors. The repository includes shell scripts for benchmarking inference speed across different batch sizes and precision settings, a training script, and instructions for setting up the environment using conda and pip. Users need to supply their own copy of the ImageNet dataset and download the pre-trained model weights separately, following a companion evaluation guide included in the repository. The code is licensed under MIT.
A Jittor port of the AdaptiveNN vision model that reproduces the original PyTorch model's roughly 82 percent ImageNet accuracy.
Mainly Python. The stack also includes Python, Jittor, PyTorch.
Use freely for any purpose, including commercial use, as long as you keep the copyright notice.
Setup difficulty is rated hard, with roughly 1day+ to a first successful run.
Mainly researcher.
This repo across BitVibe Labs
Verify against the repo before relying on details.