Skip to content

feat: better reporting of the variant being requested.#422

Open
sayakpaul wants to merge 1 commit intomainfrom
better-variant-reporting
Open

feat: better reporting of the variant being requested.#422
sayakpaul wants to merge 1 commit intomainfrom
better-variant-reporting

Conversation

@sayakpaul
Copy link
Copy Markdown
Member

@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Comment on lines -68 to +69
"upload", help="(Deprecated) Upload kernels to the Hub. Use `kernel-builder upload` instead."
"upload",
help="(Deprecated) Upload kernels to the Hub. Use `kernel-builder upload` instead.",
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Result of make style

parts = []

if torch_version is not None:
parts.append(f"torch{torch_version.major}{torch_version.minor}")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we should go back to manual variant creation, it is flaky and breaks things.

(E.g. here it breaks the deprecation of the cxx tag.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants