GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||
GeezerVison is showing github.com — fix: restore sm_60 (P100) PyTorch kernels in GPU image (best-effort, unverified against real fleet) by shivansh193 · Pull Request #1561 · Kaggle/docker-python ConversationWhatFixes #1546 (Tesla P100 / sm_60 + recent PyTorch build incompatibility). For GPU images only, reinstalls the same Root cause (as I found it)
The changeIn {{ if eq .Accelerator "gpu" }}
RUN TORCH_VERSION=$(python -c "import torch; print(torch.__version__.split('+')[0])") && \
uv pip install --system --no-cache --force-reinstall \
"torch==${TORCH_VERSION}" torchvision torchaudio \
--index-url https://download.pytorch.org/whl/cu126 \
--extra-index-url https://pypi.org/simple
{{ end }}I deliberately did not hardcode a torch version — it reads back whatever version is already installed (from the base image) and re-pulls that same version's What I could not verifyI don't have access to Kaggle's build pipeline, its Jenkins GPU executors, or an actual P100/T4 to test against, so I could not:
So please treat this as a best-effort, plausible starting point for someone with access to your actual CI/build pipeline to verify and adjust, not a guaranteed-correct fix. Other context I noticed while investigatingWhile looking through recent branches/PRs I came across #1560 ("chore: drop P100 from the CI pipeline"), which is tearing down the P100 Jenkins CI/build agent. I don't know if that reflects a broader decision to deprecate P100 as a user-facing accelerator too, in which case this PR may be moot — flagging it in case it's useful context for triage, and apologies in advance if this duplicates effort already in flight internally. ScopeThis only touches
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsThe Colab GPU base image ships PyTorch built against a CUDA wheel
index (currently cu128) whose compute-capability list is
sm_70/75/80/86/90/100/120 -- it drops sm_60 (Pascal, e.g. the Tesla
P100 Kaggle's scheduler still assigns as a free GPU option). Any real
GPU op on a P100 then fails with "CUDA error: no kernel image is
available for execution on the device", even for plain fp16
model.generate() calls with no quantization involved.
PyTorch's cu126 wheels are still built for {50,60,70,75,80,86,90}
(verified against pytorch/pytorch's
.ci/manywheel/build_env_setup.py arch table), so for GPU images only,
reinstall the *same* torch/torchvision/torchaudio version from the
cu126 index instead of whatever the base image pulled. This restores
sm_60 while keeping every GPU Kaggle currently offers (T4, sm_75)
working. The tradeoff is losing sm_100/sm_120 (Blackwell) kernels,
which Kaggle does not currently offer as a notebook accelerator.
Fixes Kaggle#1546
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
shivansh193
added a commit
to shivansh193/hippovoice
that referenced
this pull request
A coordinate-descent sweep (decay_lambda x relevance_weight x top_k) on Kaggle found top_k as the actual driver of a real improvement: 24.1% -> 27.74% avg F1 on the full 1540-question LoCoMo set, with the whole score distribution shifting favorably (fewer near-zero, more partial and high), not just the mean. decay_lambda and relevance_weight landed at values statistically indistinguishable from the existing defaults. Deliberately did not bump run_locomo()'s shared top_k default (still 5) -- Mem0-style/A-MEM-style were both run at top_k=5 and haven't been re-swept, so changing the shared default would silently make the README comparison table apples-to-oranges. scripts/run_full_locomo.py and colab.ipynb's LoCoMo cell both opt into top_k=10 explicitly for HippoVoice only. Also documents a real, currently-open Kaggle platform bug hit while running the sweep (P100 GPU assignment + a PyTorch build with zero compiled kernels for that architecture), the --accelerator NvidiaTeslaT4 workaround, and a good-faith upstream fix attempt at Kaggle/docker-python#1561. Co-Authored-By: Claude Sonnet 5 <[email protected]>
shivansh193
added a commit
to shivansh193/hippovoice
that referenced
this pull request
A coordinate-descent sweep (decay_lambda x relevance_weight x top_k) on Kaggle found top_k as the actual driver of a real improvement: 24.1% -> 27.74% avg F1 on the full 1540-question LoCoMo set, with the whole score distribution shifting favorably (fewer near-zero, more partial and high), not just the mean. decay_lambda and relevance_weight landed at values statistically indistinguishable from the existing defaults. Deliberately did not bump run_locomo()'s shared top_k default (still 5) -- Mem0-style/A-MEM-style were both run at top_k=5 and haven't been re-swept, so changing the shared default would silently make the README comparison table apples-to-oranges. scripts/run_full_locomo.py and colab.ipynb's LoCoMo cell both opt into top_k=10 explicitly for HippoVoice only. Also documents a real, currently-open Kaggle platform bug hit while running the sweep (P100 GPU assignment + a PyTorch build with zero compiled kernels for that architecture), the --accelerator NvidiaTeslaT4 workaround, and a good-faith upstream fix attempt at Kaggle/docker-python#1561.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersNo reviewsUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
None yet
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Pytorch CUDA P100 GPU IncompatibilityUh oh!
There was an error while loading. Please reload this page. Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later. | ||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |