Open
Description
Bug Report Checklist
- I provided code that demonstrates a minimal reproducible example.
- I confirmed bug exists on the latest mainline of AutoGluon via source install.
- I confirmed bug exists on the latest stable version of AutoGluon.
Describe the bug
- Since MMDetection's dependency is not updated, we will need to use
torch <=2.1
for object detection. - Also since there is a bug in
lightning/torchmetrics
[Bug] RuntimeError: No backend type associated with device type cpu Lightning-AI/pytorch-lightning#18803 [Bug] No backend type associated with device type cpu Lightning-AI/torchmetrics#2477, we will need to installlightning/pytorch-lightning <= 2.0.8
. - Also need to use
mim
to installmmdet
, and usemmengine<=0.7.2
due to unknown conflicts. - And notice that the ddp default behavior varies (whether to find used parameters) across versions, we will need to change default strategy to find unused parameter true for object detection.
- Need to downgrade yapf TypeError: FormatCode() got an unexpected keyword argument 'verify' open-mmlab/mmdetection#10962
Expected behavior
The extra installation steps are too many and thus we should provide a pip freeze file for simple usage. Following is an environment that works with autogluon 1.2.
absl-py==2.1.0
accelerate==0.34.2
adagio==0.2.6
addict==2.4.0
aiohappyeyeballs==2.4.4
aiohttp==3.11.11
aiohttp-cors==0.7.0
aiosignal==1.3.2
alembic==1.14.0
annotated-types==0.7.0
antlr4-python3-runtime==4.9.3
anyio==4.7.0
appdirs==1.4.4
arrow==1.3.0
async-timeout==5.0.1
attrs==24.3.0
autogluon==1.2
autogluon.common==1.2
autogluon.core==1.2
autogluon.features==1.2
autogluon.multimodal==1.2
autogluon.tabular==1.2
autogluon.timeseries==1.2
backoff==2.2.1
beautifulsoup4==4.12.3
blessed==1.20.0
blis==0.7.11
boto3==1.35.92
botocore==1.35.92
cachetools==5.5.0
catalogue==2.0.10
catboost==1.2.7
certifi==2024.12.14
charset-normalizer==3.4.1
click==8.1.8
cloudpathlib==0.20.0
cloudpickle==3.1.0
colorama==0.4.6
colorful==0.5.6
colorlog==6.9.0
confection==0.1.5
contourpy==1.3.1
coreforecast==0.0.12
croniter==1.4.1
cycler==0.12.1
cymem==2.0.10
datasets==3.2.0
dateutils==0.6.12
deepdiff==7.0.1
defusedxml==0.7.1
dill==0.3.8
distlib==0.3.9
editor==1.6.6
einops==0.8.0
evaluate==0.4.3
exceptiongroup==1.2.2
fastai==2.7.18
fastapi==0.115.6
fastcore==1.7.28
fastdownload==0.0.7
fastprogress==1.0.3
filelock==3.13.1
fonttools==4.55.3
frozenlist==1.5.0
fs==2.4.16
fsspec==2024.2.0
fugue==0.9.1
future==1.0.0
gdown==5.2.0
gluonts==0.16.0
google-api-core==2.24.0
google-auth==2.37.0
googleapis-common-protos==1.66.0
graphviz==0.20.3
greenlet==3.1.1
grpcio==1.68.1
h11==0.14.0
huggingface-hub==0.27.0
hyperopt==0.2.7
idna==3.10
imageio==2.36.1
importlib_metadata==8.5.0
inquirer==3.4.0
itsdangerous==2.2.0
Jinja2==3.1.3
jmespath==1.0.1
joblib==1.4.2
jsonschema==4.21.1
jsonschema-specifications==2024.10.1
kiwisolver==1.4.8
langcodes==3.5.0
language_data==1.3.0
lazy_loader==0.4
lightgbm==4.5.0
lightning==2.0.8
lightning-cloud==0.5.70
lightning-utilities==0.11.9
linkify-it-py==2.0.3
llvmlite==0.43.0
Mako==1.3.8
marisa-trie==1.2.1
Markdown==3.7
markdown-it-py==3.0.0
MarkupSafe==2.1.5
matplotlib==3.10.0
mdit-py-plugins==0.4.2
mdurl==0.1.2
memray==1.15.0
mlforecast==0.13.4
mmcv==2.1.0
mmdet==3.2.0
mmengine==0.7.1
model-index==0.1.11
mpmath==1.3.0
msgpack==1.1.0
multidict==6.1.0
multiprocess==0.70.16
murmurhash==1.0.11
networkx==3.2.1
nlpaug==1.1.11
nltk==3.8.1
numba==0.60.0
numpy==1.26.3
nvidia-cublas-cu12==12.1.3.1
nvidia-cuda-cupti-cu12==12.1.105
nvidia-cuda-nvrtc-cu12==12.1.105
nvidia-cuda-runtime-cu12==12.1.105
nvidia-cudnn-cu12==9.1.0.70
nvidia-cufft-cu12==11.0.2.54
nvidia-curand-cu12==10.3.2.106
nvidia-cusolver-cu12==11.4.5.107
nvidia-cusparse-cu12==12.1.0.106
nvidia-ml-py3==7.352.0
nvidia-nccl-cu12==2.21.5
nvidia-nvjitlink-cu12==12.1.105
nvidia-nvtx-cu12==12.1.105
omegaconf==2.2.3
opencensus==0.11.4
opencensus-context==0.1.3
opencv-python==4.10.0.84
opendatalab==0.0.10
openmim==0.3.9
openxlab==0.0.11
optuna==4.1.0
ordered-set==4.1.0
orjson==3.10.13
packaging==24.2
pandas==2.2.3
patsy==1.0.1
pdf2image==1.17.0
pillow==10.2.0
platformdirs==4.3.6
plotly==5.24.1
preshed==3.0.9
prometheus_client==0.21.1
propcache==0.2.1
proto-plus==1.25.0
protobuf==5.29.2
psutil==6.1.1
py-spy==0.4.0
py4j==0.10.9.8
pyarrow==18.1.0
pyasn1==0.6.1
pyasn1_modules==0.4.1
pycocotools==2.0.8
pycryptodome==3.21.0
pydantic==2.1.1
pydantic_core==2.4.0
Pygments==2.18.0
PyJWT==2.10.1
pyparsing==3.2.1
PySocks==1.7.1
pytesseract==0.3.10
python-dateutil==2.9.0.post0
python-multipart==0.0.20
pytorch-lightning==2.0.8
pytorch-metric-learning==2.3.0
pytz==2024.2
PyYAML==6.0.2
ray==2.39.0
readchar==4.2.1
referencing==0.35.1
regex==2024.11.6
requests==2.32.3
rich==13.9.4
rpds-py==0.22.3
rsa==4.9
runs==1.2.2
s3transfer==0.10.4
safetensors==0.5.0
scikit-image==0.24.0
scikit-learn==1.5.2
scipy==1.15.0
sentencepiece==0.2.0
seqeval==1.2.2
shapely==2.0.6
shellingham==1.5.4
six==1.17.0
smart-open==7.1.0
sniffio==1.3.1
soupsieve==2.6
spacy==3.7.5
spacy-legacy==3.0.12
spacy-loggers==1.0.5
SQLAlchemy==2.0.36
srsly==2.5.0
starlette==0.41.3
starsessions==1.3.0
statsforecast==1.7.8
statsmodels==0.14.4
sympy==1.13.1
tabulate==0.9.0
tenacity==9.0.0
tensorboard==2.18.0
tensorboard-data-server==0.7.2
tensorboardX==2.6.2.2
termcolor==2.5.0
terminaltables==3.1.10
text-unidecode==1.3
textual==1.0.0
thinc==8.2.5
threadpoolctl==3.5.0
tifffile==2024.12.12
timm==1.0.3
tokenizers==0.21.0
tomli==2.2.1
toolz==0.12.1
torch==2.1.0+cu121
torchaudio==2.1.0+cu121
torchmetrics==1.0.0
torchvision==0.16.0+cu121
tqdm==4.67.1
traitlets==5.14.3
transformers==4.47.1
triad==0.9.8
triton==2.1.0
typer==0.15.1
types-python-dateutil==2.9.0.20241206
typing_extensions==4.12.2
tzdata==2024.2
uc-micro-py==1.0.3
urllib3==2.3.0
utilsforecast==0.2.4
uv==0.5.14
uvicorn==0.34.0
virtualenv==20.28.1
wasabi==1.1.3
wcwidth==0.2.13
weasel==0.4.1
websocket-client==1.8.0
websockets==12.0
Werkzeug==3.1.3
window_ops==0.0.15
wrapt==1.17.0
xgboost==2.1.3
xmod==1.8.1
xxhash==3.5.0
yapf==0.40.1
yarl==1.18.3
zipp==3.21.0