diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index ba54849..e1cf484 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -37,7 +37,7 @@ permissions: jobs: build: runs-on: ubuntu-latest - if: github.repository == 'XuehaiPan/nvitop' + if: github.repository_owner == 'XuehaiPan' timeout-minutes: 30 steps: - name: Checkout @@ -114,7 +114,7 @@ jobs: runs-on: ubuntu-latest needs: [build] if: | - github.repository == 'XuehaiPan/nvitop' && github.event_name != 'pull_request' && + github.repository_owner == 'XuehaiPan' && github.event_name != 'pull_request' && (github.event_name != 'workflow_dispatch' || github.event.inputs.task == 'build-and-publish') && (github.event_name != 'push' || startsWith(github.ref, 'refs/tags/')) timeout-minutes: 15 diff --git a/docs/requirements.txt b/docs/requirements.txt index 616a0b7..20d465b 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -3,7 +3,3 @@ sphinx-autoapi sphinx-autobuild sphinx-copybutton sphinx-rtd-theme - -lightning >= 2.0.0, < 3.0.0a0 -pytorch-lightning >= 1.5.0, < 2.0.0a0 -tensorflow-cpu >= 2.0.0, < 2.20.0a0 diff --git a/docs/source/callbacks.rst b/docs/source/callbacks.rst deleted file mode 100644 index 93f1f9c..0000000 --- a/docs/source/callbacks.rst +++ /dev/null @@ -1,53 +0,0 @@ -nvitop.callbacks package (DEPRECATED) -===================================== - -Submodules ----------- - -nvitop.callbacks.keras module ------------------------------ - -.. automodule:: nvitop.callbacks.keras - :members: - :undoc-members: - :show-inheritance: - -nvitop.callbacks.lightning module ---------------------------------- - -.. automodule:: nvitop.callbacks.lightning - :members: - :undoc-members: - :show-inheritance: - -nvitop.callbacks.pytorch\_lightning module ------------------------------------------- - -.. automodule:: nvitop.callbacks.pytorch_lightning - :members: - :undoc-members: - :show-inheritance: - -nvitop.callbacks.tensorboard module ------------------------------------ - -.. automodule:: nvitop.callbacks.tensorboard - :members: - :undoc-members: - :show-inheritance: - -nvitop.callbacks.utils module ------------------------------ - -.. automodule:: nvitop.callbacks.utils - :members: - :undoc-members: - :show-inheritance: - -Module contents ---------------- - -.. automodule:: nvitop.callbacks - :members: - :undoc-members: - :show-inheritance: diff --git a/docs/source/index.rst b/docs/source/index.rst index e5b0364..03defb9 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -182,7 +182,6 @@ Please refer to section `More than a Monitor