Skip to content

Fix cache dir import #2409

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

pchen7e2
Copy link

Summary: Starting from https://github.com/triton-lang/triton/pull/6467/files#diff-1e6a363bbde516739874d46d8ee06c60a7a76f194275b0f4d46638a0b06af8acR45, Triton exposes a different API to get the cache dir. This diff switches the call site to call that conditionally on triton versions.

Differential Revision: D76929618

Copy link

pytorch-bot bot commented Jun 18, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/ao/2409

Note: Links to docs will display an error until the docs builds have been completed.

✅ You can merge normally! (2 Unrelated Failures)

As of commit bfa5900 with merge base 4e3d019 (image):

BROKEN TRUNK - The following jobs failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 18, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D76929618

@jerryzh168
Copy link
Contributor

I thought we just removed galore

@jerryzh168
Copy link
Contributor

in #2397

@pchen7e2
Copy link
Author

@jerryzh168 No, at least this particular file is not removed in that PR. I'm not familiar with these code but let me know how you'd like to proceed. If you prefer just deleting these files, I can help with that too.

@jerryzh168
Copy link
Contributor

I see, if your changes fixes the issue I think we can land your changes first

cc @msaroufim can you comment on why galore is not fully deleted

@jerryzh168 jerryzh168 added the topic: bug fix Use this tag for PRs that fix bugs label Jun 18, 2025
@jerryzh168
Copy link
Contributor

please fix ruff https://github.com/pytorch/ao/actions/runs/15744286038/job/44381435979?pr=2409

pchen7e2 pushed a commit to pchen7e2/ao that referenced this pull request Jun 20, 2025
Summary:

Starting from https://github.com/triton-lang/triton/pull/6467/files#diff-1e6a363bbde516739874d46d8ee06c60a7a76f194275b0f4d46638a0b06af8acR45, Triton exposes a different API to get the cache dir. This diff switches the call site to call that conditionally on triton versions.

Reviewed By: jerryzh168

Differential Revision: D76929618
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D76929618

pchen7e2 pushed a commit to pchen7e2/ao that referenced this pull request Jun 20, 2025
Summary:
Pull Request resolved: pytorch#2409

Starting from https://github.com/triton-lang/triton/pull/6467/files#diff-1e6a363bbde516739874d46d8ee06c60a7a76f194275b0f4d46638a0b06af8acR45, Triton exposes a different API to get the cache dir. This diff switches the call site to call that conditionally on triton versions.

Reviewed By: jerryzh168

Differential Revision: D76929618
pchen7e2 pushed a commit to pchen7e2/ao that referenced this pull request Jun 20, 2025
Summary:

Starting from https://github.com/triton-lang/triton/pull/6467/files#diff-1e6a363bbde516739874d46d8ee06c60a7a76f194275b0f4d46638a0b06af8acR45, Triton exposes a different API to get the cache dir. This diff switches the call site to call that conditionally on triton versions.

Reviewed By: jerryzh168

Differential Revision: D76929618
Summary:
Pull Request resolved: pytorch#2409

Starting from https://github.com/triton-lang/triton/pull/6467/files#diff-1e6a363bbde516739874d46d8ee06c60a7a76f194275b0f4d46638a0b06af8acR45, Triton exposes a different API to get the cache dir. This diff switches the call site to call that conditionally on triton versions.

Reviewed By: jerryzh168

Differential Revision: D76929618
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D76929618

@msaroufim
Copy link
Member

msaroufim commented Jun 20, 2025

yeah that was a miss on my part, should just delete all the code - see #2417

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported topic: bug fix Use this tag for PRs that fix bugs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants