`ultralytics 8.2.34` bump `ultralytics-thop>=2.0.0` (#13662)

Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
pull/13454/head^2 v8.2.34
Glenn Jocher 11 months ago committed by GitHub
parent 6e12bcb71c
commit c8514a6754
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      .github/workflows/ci.yaml
  2. 4
      pyproject.toml
  3. 2
      ultralytics/__init__.py
  4. 1
      ultralytics/nn/tasks.py

@ -6,7 +6,7 @@ name: Ultralytics CI
on: on:
push: push:
branches: [main] branches: [main]
pull_request_target: pull_request:
branches: [main] branches: [main]
schedule: schedule:
- cron: "0 0 * * *" # runs at 00:00 UTC every day - cron: "0 0 * * *" # runs at 00:00 UTC every day
@ -39,6 +39,7 @@ on:
jobs: jobs:
Docs: Docs:
# TODO: break this job out into it's own action with pull_request_target to allow changes to user forks
if: github.repository == 'ultralytics/ultralytics' if: github.repository == 'ultralytics/ultralytics'
runs-on: macos-14 runs-on: macos-14
steps: steps:
@ -73,7 +74,8 @@ jobs:
- name: Build Docs and Check for Warnings - name: Build Docs and Check for Warnings
run: python docs/build_docs.py run: python docs/build_docs.py
- name: Commit and Push Docs changes - name: Commit and Push Docs changes
if: always() && github.event_name == 'pull_request_target' continue-on-error: true
if: always() && github.event_name == 'pull_request'
run: | run: |
git add --update # only add updated files git add --update # only add updated files
git reset HEAD -- .github/workflows/ # workflow changes are not permitted with default token git reset HEAD -- .github/workflows/ # workflow changes are not permitted with default token

@ -78,7 +78,7 @@ dependencies = [
"py-cpuinfo", # display CPU info "py-cpuinfo", # display CPU info
"pandas>=1.1.4", "pandas>=1.1.4",
"seaborn>=0.11.0", # plotting "seaborn>=0.11.0", # plotting
"ultralytics-thop>=0.2.5", # FLOPs computation https://github.com/ultralytics/thop "ultralytics-thop>=2.0.0", # FLOPs computation https://github.com/ultralytics/thop
] ]
# Optional dependencies ------------------------------------------------------------------------------------------------ # Optional dependencies ------------------------------------------------------------------------------------------------
@ -95,7 +95,7 @@ dev = [
"mkdocstrings[python]", "mkdocstrings[python]",
"mkdocs-jupyter", # for notebooks "mkdocs-jupyter", # for notebooks
"mkdocs-redirects", # for 301 redirects "mkdocs-redirects", # for 301 redirects
"mkdocs-ultralytics-plugin>=0.0.45", # for meta descriptions and images, dates and authors "mkdocs-ultralytics-plugin>=0.0.48", # for meta descriptions and images, dates and authors
] ]
export = [ export = [
"onnx>=1.12.0", # ONNX export "onnx>=1.12.0", # ONNX export

@ -1,6 +1,6 @@
# Ultralytics YOLO 🚀, AGPL-3.0 license # Ultralytics YOLO 🚀, AGPL-3.0 license
__version__ = "8.2.33" __version__ = "8.2.34"
import os import os

@ -47,6 +47,7 @@ from ultralytics.nn.modules import (
ResNetLayer, ResNetLayer,
RTDETRDecoder, RTDETRDecoder,
Segment, Segment,
Silence, # noqa (equivalent to nn.Identity, unused in file but required to load YOLOv9 models)
WorldDetect, WorldDetect,
) )
from ultralytics.utils import DEFAULT_CFG_DICT, DEFAULT_CFG_KEYS, LOGGER, colorstr, emojis, yaml_load from ultralytics.utils import DEFAULT_CFG_DICT, DEFAULT_CFG_KEYS, LOGGER, colorstr, emojis, yaml_load

Loading…
Cancel
Save