kernels-community / mrope_get_position_ids

huggingface.co
Total runs: 0
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: September 01 2026

Introduction of mrope_get_position_ids

Model Details of mrope_get_position_ids

mrope get position ids

This repo is a small rewrite of the get_position_ids function that simply returns the position ids for multimodal input ids.

The goal of this repo is to provide a simplem, close to 1:1 rewrite of the python implementation as a C++ and small CUDA kernel implementation.

nix develop -L

and then running the following command:

pytest test/test.py -s

# platform linux -- Python 3.12.8, pytest-8.3.3, pluggy-1.5.0
# rootdir: /root/mrope_get_position_ids
# collected 3 items
#
# test/test.py
# Vision config one_segment - Reference time: 131.56 ms
# Vision config one_segment - Extension time: 6.76 ms
#
# .
# Vision config two_segments - Reference time: 1.72 ms
# Vision config two_segments - Extension time: 0.56 ms
#
# .
# Vision config three_segments - Reference time: 2.02 ms
# Vision config three_segments - Extension time: 0.49 ms
#
# .
Notes
  • this example isn't that expensive overally, but the kernel avoids the need to copy the data back and forth between the CPU and GPU and allocates all of the values in the tensor in parallel.

Runs of kernels-community mrope_get_position_ids on huggingface.co

0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About mrope_get_position_ids huggingface.co Model

mrope_get_position_ids huggingface.co

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

kernels-community mrope_get_position_ids online free

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

kernels-community mrope_get_position_ids online free url in huggingface.co:

https://huggingface.co/kernels-community/mrope_get_position_ids

mrope_get_position_ids install

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

mrope_get_position_ids install url in huggingface.co:

https://huggingface.co/kernels-community/mrope_get_position_ids

Url of mrope_get_position_ids

Provider of mrope_get_position_ids huggingface.co

kernels-community
ORGANIZATIONS

Other API from kernels-community