Downloads · 30 days
0
yajunvicky/bitnet-b1.58-2B-4T
bitnet-b1.58-2B-4T is a machine learning model from yajunvicky. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
bitnet-b1.58-2B-4T-FlagOS-nvidia provides an all-in-one deployment solution, enabling execution of <MODELNAME1 on nvidia GPUs. As the first-generation release for the nvidia-A100-40GiB-SXM, this package delivers three…
Downloads · 30 days
0
Access
Public
Updated May 7, 2025
Repo size
—
Likes
0
Public
Click a slice to open those files.
.png62.1 KB · 74%
From the Hugging Face model README
bitnet-b1.58-2B-4T-FlagOS-nvidia provides an all-in-one deployment solution, enabling execution of <MODEL_NAME1> on nvidia GPUs. As the first-generation release for the nvidia-A100-40GiB-SXM, this package delivers three key features:
We use FlagScale as the serving engine to improve the portability of distributed inference.
FlagScale is an end-to-end framework for large models across multiple chips, maximizing computational resource efficiency while ensuring model effectiveness. It ensures both ease of use and high performance for users when deploying models across different chip architectures:
We validate the execution of <MODEL_NAME1> model with a Triton-based operator library as a PyTorch alternative.
We use a variety of Triton-implemented operation kernels to run the <MODEL_NAME1> model. These kernels come from two main sources:
Most Triton kernels are provided by FlagGems (https://github.com/FlagOpen/FlagGems). You can enable FlagGems kernels by setting the environment variable USE_FLAGGEMS.
Also included are Triton kernels from vLLM, such as fused MoE.
| Usage | nvidia | |
|---|---|---|
| Basic Image | basic software environment that supports FlagOS model running | <IMAGE> |
| Metrics | nvidia-A100-40GiB-SXM-CUDA |
|---|---|
| mmlu | 0.712 |
| gsm8k | 0.901 |
pip install modelscope
modelscope download --model <Model Name> --local_dir <Cache Path>
docker pull <IMAGE>
docker run --rm --init --detach \
--net=host --uts=host --ipc=host \
--security-opt=seccomp=unconfined \
--privileged=true \
--ulimit stack=67108864 \
--ulimit memlock=-1 \
--ulimit nofile=1048576:1048576 \
--shm-size=32G \
-v /share:/share \
--gpus all \
--name flagos \
<IMAGE> \
sleep infinity
docker exec -it flagos bash
flagscale serve <Model>
We warmly welcome global developers to join us:
Scan the QR code below to add our WeChat group send "FlagRelease"

This project and related model weights are licensed under the MIT License.