Spaces:
Running on Zero
Running on Zero
How can you duplicate this space? as we are getting no GPU credits left
#3
by
tombenj - opened
When duplicating it to a T4 I get a "no torch found" error on build.
Hi, this space is using zero gpu, a feature of spaces that is still in early access.
zero GPU comes with torch pre-installed and as such you will need (at least) to:
1/ add torch to requirement.txt 2/ remove the @spaces.GPU(duration=180)` decorator in the app.py
if you duplicate the space without zero GPU.
@cbensimon can probably give more details or correct me
put ?duplicate=true right beside the space url
Yes, you should only need to add torch in the requirements.
Otherwise no need to remove @spaces.GPU, it simply has no effect outside of ZeroGPU Spaces