Skip to content

Comments

Remove hard torch dependency at install#1166

Merged
jeffra merged 7 commits intomasterfrom
jeffra/remove-hard-torch-dep
Jun 16, 2021
Merged

Remove hard torch dependency at install#1166
jeffra merged 7 commits intomasterfrom
jeffra/remove-hard-torch-dep

Conversation

@jeffra
Copy link
Collaborator

@jeffra jeffra commented Jun 16, 2021

In order to support pre-compiling our ops we require torch already be installed. However, when projects want to depend on deepspeed in a requirements file in many cases they are not able to do so (see issue #663). This PR allows changes this requirement to only be enforced if the user explictly tries to pre-compile any of the deepspeed ops.

@jeffra jeffra changed the title Remove hard torch dependency Remove hard torch dependency at install Jun 16, 2021
@jeffra jeffra linked an issue Jun 16, 2021 that may be closed by this pull request
Copy link
Contributor

@ShadenSmith ShadenSmith left a comment

Choose a reason for hiding this comment

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

@ShadenSmith ShadenSmith added the build Improvements to the build and testing systems. label Jun 16, 2021
@jeffra jeffra merged commit da1fe2f into master Jun 16, 2021
@mrwyattii mrwyattii deleted the jeffra/remove-hard-torch-dep branch July 7, 2023 02:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Improvements to the build and testing systems.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Issue with deepspeed installation through pip requirements

2 participants