Skip to content

Custom imports are broken #1540

@pbontrager

Description

@pbontrager

If you make your own custom dataset.py or model.py and include the import path in the config, these imports will fail because tune run always sets the current working directory to torchtune. Since all of torchtune imports are available anywhere once installed, tune run should use the launch location as the cwd.

Potential complication - since recipes are not in the cwd, we'll have to test how recipe work being launched from a different directory.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions