pytorch / pytorch/tutorials

Merge Makefile and Jenkins build.sh script to only download data inside Makefile.

Open
#321 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
9.3k
Forks
4.4k
Avg merge
1d 21h
Merged PRs (30d)
4

Description

Problem: We currently have two methods for downloading tutorial data.

Solution: Move that out of .jenkins/build.sh and into Makefile.

Bonus: Use either or but not both curl and wget.
Bonus 2: Download file iff the file doesn't exist. Allow for forced override.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing .jenkins/build.sh with the Makefile to identify the existing tutorial-data download paths and whether curl or wget is used. Move the download responsibility into Makefile, preserve forced-download behavior, and ensure existing files are skipped; verify the Jenkins build still obtains the data.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
build-system, ci-cd
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.