ci: install requirements and CPU torch in one pip step
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 75/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Domain
- ci-cd, machine-learning
Research direction
Read ci.yml and requirements.txt to see the current pip install steps and torch requirement. Check how the CPU torch wheel is selected, then consolidate installation into one pip call or use a constraints file as described. Done when CI installs requirements with the CPU torch wheel protected from being replaced by a CUDA wheel.
Written by the indexing model from the issue text.
Description
From the review of https://github.com/STRML/quantdiff/pull/2 (P3, not blocking). ci.yml installs CPU torch, then requirements.txt (bare torch) in a second pip call. If a dependency ever pins a different torch, the second call can swap in the CUDA wheel from PyPI. It would cost CI time, not correctness. Fix: one call, pip install -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cpu, or a constraints file pinning the CPU wheel.
- Dominant language
- Python
- Stars
- 0
- Forks
- 1
- Avg merge
- 5m
- Merged PRs (30d)
- 3
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from STRML/quantdiff
-
Diffing an FP8 pack against its own FP8 upstream exits 2 with an opaque errorPossibly taken @Vamsi-2581 claimed this 17 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 3/5 1-2 days Newbie friendliness 54/100
-
Difficulty 4/5 3-5 days Newbie friendliness 44/100
-
Stacked experts: fetch only the sampled expert slices, count decoded bytes in the prefetch budgetOpen
Difficulty 4/5 1-2 days Newbie friendliness 48/100
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
alltheplaces/alltheplaces#20570 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
area:ci bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
catincloud-labs/dagster-dex#206 · 1 comment ·
Maintainers usually reply within 1 day
-
number_to_words raises ValueError with threshold= for ordinals ("12th") and comma-grouped strings ("1,000")Possibly taken @hemtilva claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
providers security
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
agentbreeder/agentbreeder#1031 ·
Maintainers usually reply within 1 day