facebook / EUPE-ViT-B

huggingface.co
Total runs: 56.9K
24-hour runs: 0
7-day runs: 18.6K
30-day runs: 44.9K
Model's Last Updated: March 27 2026

Introduction of EUPE-ViT-B

Model Details of EUPE-ViT-B

Model Card for EUPE

Running AI models on smart edge devices can unlock various user experiences, but presents challenges due to limited compute and the need to handle multiple tasks simultaneously. This requires a vision encoder with small size but powerful and versatile representations. We present our method, Efficient Universal Perception Encoder (EUPE), which offers both inference efficiency and universally good representations for diverse downstream tasks. We achieve this by distilling from multiple domain-expert foundation vision encoders. Unlike previous agglomerative methods that directly scale down from multiple teachers to an efficient encoder, we demonstrate the importance of first scaling up to a large proxy teacher and then distilling from this single teacher. Experiments show that EUPE achieves on-par or better performance than individual domain experts of the same size on diverse task domains and also outperforms previous agglomerative encoders.

Model Details

These are Vision Transformer and ConvNeXt models trained following the method described in the EUPE paper. 6 models are provided:

  • 3 ViT models including ViT-B16, ViT-S16, ViT-T16
  • 3 ConvNeXt models including ConvNeXt-{T/S/B}

Each Transformer-based model takes an image as input and returns a class token, patch tokens. These models follow a ViT architecture, with a patch size of 16. For a 224x224 image, this results in 1 class token + 196 patch tokens = 197 tokens.

The models can accept larger images provided the image shapes are multiples of the patch size (16). If this condition is not verified, the model will crop to the closest smaller multiple of the patch size.

Model Description
Model Sources
Uses

The models are vision backbones providing multi-purpose features for downstream tasks, especially suitable for multi-task setting under limited compute budget. The models can be used without fine-tuning, with downstream modules ranging from non-parametric operators, simple linear layers to heavier language decoders, to obtain competitive results:

  • on image classification, using k-NN classifiers on the class token
  • on semantic 3D keypoint correspondances
  • on depth estimation, semantic segmentation, using linear layers
  • on visual question answering, connecting with language models
Get Started

Follow the Installation to set up the environment. Clone the EUPE repo and download the PyTorch model checkpoints to local. The example below demonstrates how to obtain the class token and patch tokens given an input image.

import torch
import torchvision
from torchvision.transforms import v2

REPO_DIR = <PATH/TO/A/LOCAL/DIRECTORY/WHERE/THE/EUPE/REPO/WAS/CLONED>

def get_img():
    import requests
    url = "http://images.cocodataset.org/val2017/000000039769.jpg"
    image = Image.open(requests.get(url, stream=True).raw).convert("RGB")
    return image

def make_transform(resize_size: int = 256):
    to_tensor = v2.ToImage()
    resize = v2.Resize((resize_size, resize_size), antialias=True)
    to_float = v2.ToDtype(torch.float32, scale=True)
    normalize = v2.Normalize(
        mean=(0.485, 0.456, 0.406),
        std=(0.229, 0.224, 0.225),
    )
    return v2.Compose([to_tensor, resize, to_float, normalize])

model = torch.hub.load(REPO_DIR, 'eupe_vitb16', source='local', weights=<PATH/TO/THE/LOCAL/CHECKPOINT>)

img_size = 256
img = get_img()
transform = make_transform(img_size)
with torch.inference_mode():
    with torch.autocast('cuda', dtype=torch.bfloat16):
        batch_img = transform(img)[None]
        outputs = model.forward_features(batch_img)
clstoken, patchtokens = outputs["x_norm_clstoken"], outputs["x_norm_patchtokens"]
Results

The reader is referred to the associated paper for details on the evaluation protocols.

Results for ViT backbones

Model #Params Image Understanding Vision Language Modeling Dense Prediction
IN1k-ZS IN1k-KNN TextVQA SQA Realworld POPE GQA MMEp SPair NYUv2↓ ADE20k
EUPE-ViT-T 6M 50.5 66.3 42.0 69.5 50.0 82.4 61.4 1258.0 37.2 0.571 36.7
EUPE-ViT-S 20M 69.8 78.2 44.1 69.3 51.7 84.5 65.0 1304.9 46.5 0.455 46.6
EUPE-ViT-B 86M 79.7 84.1 50.4 69.7 55.5 85.9 67.3 1374.5 51.3 0.391 52.4

*Results for ConvNeXt backbones

Model #Params Vision Language Modeling Dense Prediction
TextVQA SQA Realworld POPE GQA MMEp SPair NYUv2↓ ADE20k
EUPE-ConvNeXt-T 29M 43.7 68.8 47.9 83.4 63.0 1278.1 41.3 0.430 43.5
EUPE-ConvNeXt-S 50M 45.0 68.9 50.5 84.0 64.7 1284.2 40.1 0.388 46.8
EUPE-ConvNeXt-B 89M 46.4 70.1 53.3 84.7 65.8 1348.9 37.7 0.365 48.9
Citation

BibTeX

@misc{zhu2026eupe,
  title={Efficient Universal Perception Encoder},
  author={Zhu, Chenchen and Suri, Saksham and Jose, Cijo and Oquab, Maxime and Szafraniec, Marc and Wen, Wei and Xiong, Yunyang and Labatut, Patrick and Bojanowski, Piotr and Krishnamoorthi, Raghuraman and Chandra, Vikas},
  year={2026},
  eprint={2603.22387},
  archivePrefix={arXiv},
  primaryClass={cs.CV},
  url={https://arxiv.org/abs/2603.22387},
}

Runs of facebook EUPE-ViT-B on huggingface.co

56.9K
Total runs
0
24-hour runs
7.3K
3-day runs
18.6K
7-day runs
44.9K
30-day runs

More Information About EUPE-ViT-B huggingface.co Model

EUPE-ViT-B huggingface.co

EUPE-ViT-B huggingface.co is an AI model on huggingface.co that provides EUPE-ViT-B's model effect (), which can be used instantly with this facebook EUPE-ViT-B model. huggingface.co supports a free trial of the EUPE-ViT-B model, and also provides paid use of the EUPE-ViT-B. Support call EUPE-ViT-B model through api, including Node.js, Python, http.

facebook EUPE-ViT-B online free

EUPE-ViT-B huggingface.co is an online trial and call api platform, which integrates EUPE-ViT-B's modeling effects, including api services, and provides a free online trial of EUPE-ViT-B, you can try EUPE-ViT-B online for free by clicking the link below.

facebook EUPE-ViT-B online free url in huggingface.co:

https://huggingface.co/facebook/EUPE-ViT-B

EUPE-ViT-B install

EUPE-ViT-B is an open source model from GitHub that offers a free installation service, and any user can find EUPE-ViT-B on GitHub to install. At the same time, huggingface.co provides the effect of EUPE-ViT-B install, users can directly use EUPE-ViT-B installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

EUPE-ViT-B install url in huggingface.co:

https://huggingface.co/facebook/EUPE-ViT-B

Url of EUPE-ViT-B

EUPE-ViT-B huggingface.co Url

Provider of EUPE-ViT-B huggingface.co

facebook
ORGANIZATIONS

Other API from facebook

huggingface.co

Total runs: 8.1M
Run Growth: 99.3K
Growth Rate: 1.22%
Updated:January 20 2022
huggingface.co

Total runs: 5.9M
Run Growth: -2.0M
Growth Rate: -33.45%
Updated:September 15 2023
huggingface.co

Total runs: 3.2M
Run Growth: -118.3K
Growth Rate: -3.75%
Updated:January 17 2024
huggingface.co

Total runs: 2.7M
Run Growth: -913.3K
Growth Rate: -33.26%
Updated:September 06 2023
huggingface.co

Total runs: 2.0M
Run Growth: -719.6K
Growth Rate: -35.18%
Updated:December 28 2021
huggingface.co

Total runs: 2.0M
Run Growth: 119.6K
Growth Rate: 5.92%
Updated:November 21 2025
huggingface.co

Total runs: 1.4M
Run Growth: -867.5K
Growth Rate: -61.26%
Updated:March 23 2023
huggingface.co

Total runs: 1.1M
Run Growth: -1.1M
Growth Rate: -96.35%
Updated:January 25 2024
huggingface.co

Total runs: 946.1K
Run Growth: 124.5K
Growth Rate: 13.16%
Updated:September 06 2023
huggingface.co

Total runs: 527.2K
Run Growth: 53.5K
Growth Rate: 10.16%
Updated:May 22 2023
huggingface.co

Total runs: 526.0K
Run Growth: 84.2K
Growth Rate: 16.50%
Updated:March 17 2025
huggingface.co

Total runs: 395.9K
Run Growth: -56.1K
Growth Rate: -14.17%
Updated:February 29 2024
huggingface.co

Total runs: 350.7K
Run Growth: 245.5K
Growth Rate: 69.99%
Updated:June 13 2023
huggingface.co

Total runs: 301.5K
Run Growth: -32.2K
Growth Rate: -10.68%
Updated:January 12 2024
huggingface.co

Total runs: 285.6K
Run Growth: -2.9K
Growth Rate: -1.03%
Updated:June 15 2023
huggingface.co

Total runs: 263.8K
Run Growth: -22.4K
Growth Rate: -8.49%
Updated:November 17 2022
huggingface.co

Total runs: 247.7K
Run Growth: -134.0K
Growth Rate: -54.10%
Updated:January 12 2024
huggingface.co

Total runs: 236.9K
Run Growth: 14.3K
Growth Rate: 6.02%
Updated:July 23 2024
huggingface.co

Total runs: 210.9K
Run Growth: 23.7K
Growth Rate: 11.24%
Updated:February 12 2023
huggingface.co

Total runs: 186.1K
Run Growth: -131.9K
Growth Rate: -70.87%
Updated:September 06 2023
huggingface.co

Total runs: 175.5K
Run Growth: -132.6K
Growth Rate: -75.54%
Updated:September 15 2023
huggingface.co

Total runs: 154.6K
Run Growth: 34.9K
Growth Rate: 22.58%
Updated:June 03 2022
huggingface.co

Total runs: 108.8K
Run Growth: -150.0K
Growth Rate: -137.82%
Updated:May 22 2023
huggingface.co

Total runs: 108.6K
Run Growth: -37.5K
Growth Rate: -34.51%
Updated:November 16 2023
huggingface.co

Total runs: 92.5K
Run Growth: -118.8K
Growth Rate: -128.37%
Updated:July 25 2023
huggingface.co

Total runs: 78.1K
Run Growth: -84.6K
Growth Rate: -108.28%
Updated:September 01 2023
huggingface.co

Total runs: 76.9K
Run Growth: 15.3K
Growth Rate: 19.83%
Updated:March 28 2026
huggingface.co

Total runs: 76.0K
Run Growth: 37.3K
Growth Rate: 49.07%
Updated:December 09 2025
huggingface.co

Total runs: 71.4K
Run Growth: -108.2K
Growth Rate: -151.70%
Updated:September 06 2023
huggingface.co

Total runs: 68.1K
Run Growth: -40.2K
Growth Rate: -59.04%
Updated:September 15 2023
huggingface.co

Total runs: 48.2K
Run Growth: -39.6K
Growth Rate: -82.25%
Updated:February 12 2023
huggingface.co

Total runs: 44.8K
Run Growth: 8.3K
Growth Rate: 17.92%
Updated:January 21 2026
huggingface.co

Total runs: 39.4K
Run Growth: -5.5K
Growth Rate: -14.04%
Updated:September 05 2023
huggingface.co

Total runs: 38.6K
Run Growth: -11.5K
Growth Rate: -29.83%
Updated:March 13 2024
huggingface.co

Total runs: 37.7K
Run Growth: 24.4K
Growth Rate: 66.99%
Updated:October 16 2024
huggingface.co

Total runs: 37.2K
Run Growth: 16.3K
Growth Rate: 43.77%
Updated:February 23 2024