We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d3eedf commit fd823e8Copy full SHA for fd823e8
1 file changed
.github/workflows/pr_comment_gpu_tests.yml
@@ -147,7 +147,9 @@ jobs:
147
148
- name: Run pytest
149
env:
150
- HF_TOKEN: ${{ secrets.DIFFUSERS_HF_HUB_READ_TOKEN }}
+ # No secrets here: this step runs untrusted fork code (pytest imports the PR's
151
+ # conftest.py/plugins), so exposing a token would let a malicious PR exfiltrate
152
+ # it. Public Hub models download without auth; gated-repo tests are unsupported.
153
# https://pytorch.org/docs/stable/notes/randomness.html#avoiding-nondeterministic-algorithms
154
CUBLAS_WORKSPACE_CONFIG: :16:8
155
# Forwarded via env (not interpolated into the script) to avoid breakage on
0 commit comments