Skip to content

Conversation

@arcticfly
Copy link
Contributor

@arcticfly arcticfly commented Feb 3, 2026

On non-linux clients, importing ART currently causes a ModuleNotFoundError: No module named 'torch' error because LocalBackend requires torch. Looks like LocalBackend was added to art/init.py a couple weeks ago, but we don't need it to be there. Users can instead import LocalBackend from art.local.

Changes

  • Remove LocalBackend export from art/init.py
  • Allow user to pass in arbitrary logged run name to log_constant_metrics_wandb

@arcticfly arcticfly requested a review from corbt February 3, 2026 06:46
@arcticfly arcticfly requested a review from bradhilton February 3, 2026 06:49
@corbt
Copy link
Contributor

corbt commented Feb 3, 2026

@arcticfly are there examples that will need to be updated?

@arcticfly
Copy link
Contributor Author

are there examples that will need to be updated?

Not unless you added one in the last two weeks, which is when we started exporting LocalBackend from the root.

@arcticfly arcticfly merged commit 0dca3a8 into main Feb 3, 2026
2 checks passed
@arcticfly arcticfly deleted the remove-local-export branch February 3, 2026 21:44
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.

4 participants