Skip to content

Conversation

@anton-l
Copy link
Member

@anton-l anton-l commented Dec 14, 2022

This removes v0.10.0's send_telemetry from local pipeline loaders completely, leaving only the requested pipeline/model classes when loading them from the HF hub.

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Dec 14, 2022

The documentation is not available anymore as the PR was closed or merged.

subfolder=subfolder,
revision=revision,
)
send_telemetry(
Copy link
Contributor

Choose a reason for hiding this comment

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

This we can and should leave IMO because it's when people download from the Hub so IP is exposed anyways

Copy link
Member Author

Choose a reason for hiding this comment

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

The pipeline class is already sent via the hub request, so this call was redundant.

Copy link
Contributor

Choose a reason for hiding this comment

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

Ok all good then!

ignore_patterns=ignore_patterns,
user_agent=user_agent,
)
send_telemetry(
Copy link
Contributor

Choose a reason for hiding this comment

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

This should stay as snapshot download is called anyways already

ignore_patterns=ignore_patterns,
user_agent=user_agent,
)
send_telemetry(
Copy link
Contributor

Choose a reason for hiding this comment

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

this should stay because we're not in a local case here

Copy link
Contributor

@patrickvonplaten patrickvonplaten left a comment

Choose a reason for hiding this comment

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

Thanks for the quick PR!

@anton-l anton-l merged commit ef3fcbb into main Dec 14, 2022
@patrickvonplaten patrickvonplaten linked an issue Dec 14, 2022 that may be closed by this pull request
@anton-l anton-l deleted the disable-local-tele branch December 14, 2022 11:56
sliard pushed a commit to sliard/diffusers that referenced this pull request Dec 21, 2022
yoonseokjin pushed a commit to yoonseokjin/diffusers that referenced this pull request Dec 25, 2023
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.

Opt-in telemetry (or remove telemetry)

4 participants