Skip to content

Merge develop into rename-clashing-and-non-snake-case-files#73

Closed
divyasinghds wants to merge 4 commits into
developfrom
rename-clashing-and-non-snake-case-files
Closed

Merge develop into rename-clashing-and-non-snake-case-files#73
divyasinghds wants to merge 4 commits into
developfrom
rename-clashing-and-non-snake-case-files

Conversation

@divyasinghds

@divyasinghds divyasinghds commented May 19, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Merge origin/develop into this branch to pick up the latest model additions and fixes.
  • Resolve conflict in model_zoo/object_detection/pytorch/faster_rcnn_resnet.py by dropping the unused import torch.nn as nn (consistent with the prior "remove unused torch imports" cleanup on this branch).

Test plan

  • CI passes (model contract tests, validators).

🤖 Generated with Claude Code


Note

Medium Risk
Adds many new model templates (some loading Hugging Face models with trust_remote_code=True) and expands optional dependency skipping in contract tests, which could introduce runtime/import or supply-chain issues if used without the intended guards.

Overview
Expands the model zoo with a large set of new templates across vision (classification/detection/segmentation/keypoints), text classification, tabular (including Mitra), time-series forecasting, and survival analysis, primarily via timm, torchvision, transformers, and scikit-survival.

Updates authoring guidance by recommending a license metadata field and documenting federated-averaging-friendly modeling conventions, and adjusts the model contract test to treat interpret, pytorch_forecasting, and pycox as optional third-party dependencies (so CI can skip when they aren’t installed).

Reviewed by Cursor Bugbot for commit 4d78183. Bugbot is set up for automated code reviews on this repo. Configure here.

divyasinghds and others added 4 commits May 13, 2026 14:02
Filenames that shadowed the package they import from (e.g. catboost.py
doing `from catboost import ...`) are renamed with a task suffix.
Uppercase and hyphenated filenames are normalized to snake_case per
the file naming convention in CLAUDE.md.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Bare `import torch` was unused in 26 PyTorch model files — only
submodule imports like `import torch.nn as nn` or `from torch import ...`
are needed.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…d-non-snake-case-files

# Conflicts:
#	model_zoo/object_detection/pytorch/faster_rcnn_resnet.py
@divyasinghds divyasinghds self-assigned this May 19, 2026
@LukasWodka

Copy link
Copy Markdown
Contributor

👋 Heads-up — Code review queue is at 20 / 8

Above the WIP limit. The team convention is to review existing PRs before opening new work.

Open PRs currently in Code review (oldest first):

Pull from review before opening new work. (This is a nudge from the kanban WIP check, not a block.)

@divyasinghds divyasinghds changed the base branch from master to develop May 19, 2026 08:05
@divyasinghds divyasinghds deleted the rename-clashing-and-non-snake-case-files branch May 19, 2026 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants