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.

torchhub tests are failing on CI

See original GitHub issue

🐛 Bug

For a few days already, torchhub tests have been failing with the following error message (as can be seen from https://app.circleci.com/pipelines/github/pytorch/vision/7408/workflows/5e29e045-7878-489f-8ff7-8bfe18d47e2a/jobs/511637)

ValueError: Cannot find master in https://github.com/pytorch/vision. If it's a commit from a forked repo, please call hub.load() with forked repo directly

We should fix this, this probably happens due to https://github.com/pytorch/pytorch/pull/54451

cc @seemethere @ailzhang

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
ailzhangcommented, Apr 14, 2021

@willclarktech @fmassa Yea my bad, was only testing the API on a small repo so didn’t notice the number limit. I’ll revert the PR first and work on a better fix! @willclarktech Good catch on missing tags on the original PR! I need to read github API more carefull to find a better fit 😄 https://github.com/pytorch/pytorch/pull/56048

2reactions
willclarktechcommented, Apr 14, 2021

Looks like the GitHub API is limiting results per page to 30 by default, so master doesn’t show up here. Compare

Read more comments on GitHub >

github_iconTop Results From Across the Web

network-based TorchHub tests contribute to CI flakiness #34751
Perhaps this suite of tests can be run on nightly instead of on each master commit? See this example failure on master branch:...
Read more >
Testing - Hugging Face
These CI jobs don't run @slow tests. There are 3 jobs run by github actions: torch hub integration: checks whether torch hub integration...
Read more >
torch.hub — PyTorch 1.13 documentation
Pytorch Hub is a pre-trained model repository designed to facilitate research reproducibility. Publishing models. Pytorch Hub supports publishing pre-trained ...
Read more >
e2e tests failing in CI (#2269) · Issues · gitter / webapp - GitLab
The e2e tests pass locally but are failing in CI. Usually 1 - 3 tests fail but sometimes we also have that smoke-test...
Read more >
PyTorch Hub - YOLOv5 Documentation - Ultralytics
If this badge is green, all [YOLOv5 GitHub Actions](https://github.com/ultralytics/yolov5/actions) Continuous Integration (CI) tests are currently passing. CI ...
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