OpenHands icon indicating copy to clipboard operation
OpenHands copied to clipboard

Remove torch dependency if possible

Open JoonHong-Kim opened this issue 1 year ago • 2 comments

Summary There are too many unnecessary packages in this repository. Why pytorch is there? image

Additional context

JoonHong-Kim avatar Apr 04 '24 02:04 JoonHong-Kim

It's a good question on torch. Seems like a transitive dependency. Maybe from llamaindex?

rbren avatar Apr 04 '24 03:04 rbren

There are too many unnecessary packages in this repository.

Agree, after introduce the pipenv, to much unnecessary dependency introcuded.

yufansong avatar Apr 04 '24 21:04 yufansong

@dorbanianas You moved torch to a separate dependency group? This issue can be closed?

foragerr avatar Apr 05 '24 03:04 foragerr

Yeah thanks for the mention 👌

anasdorbani avatar Apr 05 '24 03:04 anasdorbani

This issue is solved by including torch to a new dependency group named evaluation in the pyproject.toml file

anasdorbani avatar Apr 05 '24 03:04 anasdorbani