Instructions to use ar-mine/cosmos-robometer-private-code with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ar-mine/cosmos-robometer-private-code with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ar-mine/cosmos-robometer-private-code", device_map="auto") - PEFT
How to use ar-mine/cosmos-robometer-private-code with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
Download environment/phase21a_robometer/pyproject.toml from ar-mine/cosmos-robometer-private-code: direct link, hf CLI and curl.
- Browser
- Download file 1.18 kB
-
https://huggingface.co/ar-mine/cosmos-robometer-private-code/resolve/main/environment/phase21a_robometer/pyproject.toml
- Command line
-
hf download hf://ar-mine/cosmos-robometer-private-code/environment/phase21a_robometer/pyproject.toml
-
curl -L -o pyproject.toml https://huggingface.co/ar-mine/cosmos-robometer-private-code/resolve/main/environment/phase21a_robometer/pyproject.toml
1.18 kB
| [project] | |
| name = "cosmos-robometer-phase21a" | |
| version = "0.1.0" | |
| description = "Reproducible runtime for Phase 2.1A Robometer-Low and Robometer-Low-LoRA" | |
| requires-python = "==3.10.*" | |
| dependencies = [ | |
| "accelerate==1.14.0", | |
| "bitsandbytes==0.49.2", | |
| "flash-attn==2.8.3.post1", | |
| "hf-xet==1.5.1", | |
| "huggingface-hub==0.36.2", | |
| "numpy==1.26.4", | |
| "peft==0.19.1", | |
| "pillow==11.3.0", | |
| "pyyaml==6.0.3", | |
| "qwen-vl-utils==0.0.14", | |
| "safetensors==0.8.0", | |
| "torch==2.8.0", | |
| "torchvision==0.23.0", | |
| "transformers==4.57.6", | |
| ] | |
| [tool.uv] | |
| package = false | |
| # flash-attn must build or select its wheel against the exact PyTorch runtime. | |
| [tool.uv.extra-build-dependencies] | |
| flash-attn = [{ requirement = "torch", match-runtime = true }] | |
| [tool.uv.extra-build-variables] | |
| flash-attn = { FLASH_ATTENTION_SKIP_CUDA_BUILD = "TRUE" } | |
| [tool.uv.sources] | |
| torch = { index = "pytorch-cu128", marker = "sys_platform == 'linux' or sys_platform == 'win32'" } | |
| torchvision = { index = "pytorch-cu128", marker = "sys_platform == 'linux' or sys_platform == 'win32'" } | |
| [[tool.uv.index]] | |
| name = "pytorch-cu128" | |
| url = "https://download.pytorch.org/whl/cu128" | |
| explicit = true | |