Skip to content

Shrink Container Size #103

@Samir-Rashid

Description

@Samir-Rashid

🐛 Bug

I found the offender of why the image is so big. /libtorch-tmp is 5.6 gigs. Apparently you can do cmake --build C:/foo/build/ --target clean to clean all cmake tmp files. It did not work when I ran it in /libtorch-tmp/pytorch-build. Also I don't really understand where the output of the libtorch builds. can we just rm the entire dir? That should solve the image size issues.

The entire image is 9GB. Implementing the above improvement should be a good step.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtestingNeeds testing/benchmarking

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions