Skip to content

Commit

Permalink
disable client telemetry as default, update cargo locks
Browse files Browse the repository at this point in the history
  • Loading branch information
assafvayner committed Jan 15, 2025
1 parent 0051a52 commit f69b99a
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 29 deletions.
57 changes: 30 additions & 27 deletions chunk_cache_bench/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion hf_xet/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion hf_xet/src/log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ fn init_global_logging(py: Python) -> Option<TelemetryTaskInfo> {
.or_else(|_| EnvFilter::try_new(DEFAULT_LOG_LEVEL))
.unwrap_or_default();

if env::var("HF_HUB_DISABLE_TELEMETRY").as_deref() == Ok("1") {
if env::var("HF_HUB_ENABLE_TELEMETRY").is_err_and(|e| e == env::VarError::NotPresent) {
tracing_subscriber::registry().with(fmt_layer).with(filter_layer).init();
None
} else {
Expand Down

0 comments on commit f69b99a

Please sign in to comment.