Metadata-Version: 2.4
Name: rfdetr-seg-intermediate
Version: 0.2.9
Summary: Memory-efficient RF-DETR with RFDETRSegIntermediate and xformers attention support
Author: Nathan Honn
License: Apache License 2.0
Keywords: machine-learning,deep-learning,vision,ML,DL,AI,DETR,RF-DETR
Requires-Python: ==3.12.*
Description-Content-Type: text/markdown
Requires-Dist: accelerate>=1.12.0
Requires-Dist: Cython>=3.0.11
Requires-Dist: huggingface_hub>=1.4.1
Requires-Dist: Jinja2==3.1.6
Requires-Dist: matplotlib>=3.9.2
Requires-Dist: numpy>=2.2.6
Requires-Dist: opencv-python>=4.12.0.88
Requires-Dist: opencv-python-headless>=4.10.0.84
Requires-Dist: peft>=0.18.1
Requires-Dist: pillow>=12.0.0
Requires-Dist: pillow-avif-plugin<1.5.3
Requires-Dist: polygraphy>=0.49.26
Requires-Dist: pycocotools>=2.0.11
Requires-Dist: pyDeprecate==0.4.0
Requires-Dist: PyOpenGL>=3.1.7
Requires-Dist: python-dateutil==2.9.0.post0
Requires-Dist: python-dotenv==1.2.1
Requires-Dist: rf100vl>=1.1.0
Requires-Dist: roboflow==1.2.13
Requires-Dist: scipy>=1.14.1
Requires-Dist: pydantic>=2.12.5
Requires-Dist: pydantic_core>=2.41.5
Requires-Dist: supervision>=0.27.0.post1
Requires-Dist: sympy>=1.14.0
Requires-Dist: tokenizers>=0.22.2
Requires-Dist: torch==2.10.0
Requires-Dist: torchvision>=0.25.0
Requires-Dist: tqdm==4.67.3
Requires-Dist: transformers==5.0.0
Requires-Dist: triton==3.0.0
Requires-Dist: xformers>=0.0.35

This is a package I made to allow for a intermediate RFDETR model, one that uses memory efficent xformers package to train and requires significantly less memory. It is called, RFDETRSegIntermediate.

On my local machine, it allowed me to train something that would have taken 16GB into about 8GB of VRAM.

IF YOUR ON WINDOWS PLEASE RUN THE FOLLOWING COMMAND IN YOUR CMD PROMPT (preferably BEFORE downloading the package):
```
pip install https://huggingface.co/madbuda/triton-windows-builds/resolve/main/triton-3.0.0-cp312-cp312-win_amd64.whl 
pip3 install -U xformers --index-url https://download.pytorch.org/whl/cu128
```
otherwise, install triton and xformers by:
```
pip3 install triton
pip3 install -U xformers --index-url https://download.pytorch.org/whl/cu128
```
if your not on cuda you can simply install xformers by:
```
pip3 install xformers
```

Troubleshooting (how it runs on my local Windows machine):
```
1- run
pip install https://huggingface.co/madbuda/triton-windows-builds/resolve/main/triton-3.0.0-cp312-cp312-win_amd64.whl 

2- run 
pip install rfdetr-seg-intermediate

3- run
pip install xformers --force-reinstall --index-url https://download.pytorch.org/whl/cu130    
```
### "Why this isnt a 1 click install?"
- Multiple reasons, but there are a few critical packages here that are not even meant to be run on Windows but have been compiled for Win32 thanks to the awesome internet. There are other packages that are in conflict with eachother if installed by 1 click but will be ok if the steps above are followed. 
Honestly, the most critical libraries are the Hugging Face version of Triton and xformers with the proper cuda installed. I try to make my libraries as good as they can, but for this specific one becuase of the abnormalities it makes a 1 click install not possible.

### Other Notes:
- Install all packages EXACTLY as the pyproject.toml wants it to be.
- If for some reason it reinstalls pytorch as the CPU version, install the CUDA version instead if you wish. Just make sure its 3.10.0
