Skip to content
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

Telemetry sending #575

Closed
wants to merge 7 commits into from
Closed

Conversation

popovaan
Copy link
Contributor

What does this PR do?

Adding of Telemetry sending.

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Did you make sure to update the documentation with your changes?
  • Did you write any new necessary tests?

@HuggingFaceDocBuilderDev

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.

import os
assert "CI" in os.environ and os.environ["CI"].lower() == "true"

tm.send_event("optimum_intel", "openvino_imported", "OpenVino {}, Optimum {}.".format(get_version(), importlib_metadata.version("optimum")))
Copy link
Collaborator

Choose a reason for hiding this comment

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

Not sure this is something we want to add in optimum

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There was a request to add Telemetry from Gorbachev Yury so we could track the number of users in optimum-intel.

Copy link
Collaborator

Choose a reason for hiding this comment

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

@echarlaix, any concerns about this request? We track OpenVINO usage on a regular basis and we would like to know how much inflow comes from HF ecosystem.

Copy link
Collaborator

Choose a reason for hiding this comment

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

@echarlaix, can you please take a look again? As @popovaan mentioned, openvino-telemetry is installed always when openvino is installed in the environment. We are just enabling it here to track optimum usage. CI jobs are excluded.

@popovaan popovaan requested a review from echarlaix March 4, 2024 08:56
@popovaan popovaan closed this Apr 2, 2024
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.

5 participants