Skip to content

Commit

Permalink
feat(analytics): remove telemetry
Browse files Browse the repository at this point in the history
  • Loading branch information
eginhard committed Apr 4, 2024
1 parent 7704b0f commit 34ac11d
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 22 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ jobs:
cache-dependency-path: 'requirements*'
- name: check OS
run: cat /etc/os-release
- name: Telemetry off
run: |
export TRAINER_TELEMETRY=0
- name: Install dependencies
run: |
sudo apt-get update
Expand Down
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,3 @@ trainer.fit()
- [WandDB](https://wandb.ai/)

To add a new logger, you must subclass [BaseDashboardLogger](trainer/logging/base_dash_logger.py) and overload its functions.

## Anonymized Telemetry
We constantly seek to improve 🐸 for the community. To understand the community's needs better and address them accordingly, we collect stripped-down anonymized usage stats when you run the trainer.

Of course, if you don't want, you can opt out by setting the environment variable `TRAINER_TELEMETRY=0`.
12 changes: 0 additions & 12 deletions trainer/analytics.py

This file was deleted.

2 changes: 0 additions & 2 deletions trainer/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
from torch.nn.parallel import DistributedDataParallel as DDP_th
from torch.utils.data import DataLoader

from trainer.analytics import ping_training_run
from trainer.callbacks import TrainerCallback
from trainer.generic_utils import (
KeepAverage,
Expand Down Expand Up @@ -580,7 +579,6 @@ def __init__( # pylint: disable=dangerous-default-value
self.callbacks.on_init_end(self)
self.dashboard_logger.add_config(config)
self.save_training_script()
ping_training_run()

@property
def use_apex(self):
Expand Down

0 comments on commit 34ac11d

Please sign in to comment.