question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[CI] [LINT] Linter failing with `AttributeError: get_tune_ddp_resources` on `1.10.0rc0` release branch

See original GitHub issue

The linter was passing but started to fail on a commit which looks unrelated: https://github.com/ray-project/ray/commit/7fdc5470f21394a48f0328a3db57041fa6ee4b7a

It’s failing with

sphinx.errors.SphinxWarning: autodoc: failed to import function 'get_tune_ddp_resources' from module 'ray_lightning.tune'; the following exception was raised:
--
  | Traceback (most recent call last):
  | File "/opt/miniconda/lib/python3.6/site-packages/sphinx/util/inspect.py", line 307, in safe_getattr
  | return getattr(obj, name, *defargs)
  | AttributeError: module 'ray_lightning.tune' has no attribute 'get_tune_ddp_resources'

Link to failure: https://buildkite.com/ray-project/ray-builders-branch/builds/5425#03f2a852-4393-4ac2-b7ed-fd44dcc8e5ed/601-756

Link to success on the preceding commit: https://buildkite.com/ray-project/ray-builders-branch/builds/5415#dd303e26-a285-4f53-8d0f-4f641ab112b7

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

0reactions
architkulkarnicommented, Jan 6, 2022

Ahh makes sense. Thanks for the quick diagnosis @amogkam! Please let me know when your PR is ready to pick, and can you also update the release tracker? https://docs.google.com/spreadsheets/d/1si3hVTEyZ--BUz_1sS6r8m6L8utVUtyNAOzAs2KXo3s/edit#gid=0

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unexplained CI Lint Failures (#207320) · Issues - GitLab.org
A customer has several projects with CI/CID pipelines that use the "needs" keyword. Inexplicably yaml invalid and error messages appear for ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found