{"id":21389476,"url":"https://github.com/feifeibear/pytorchmemtracer","last_synced_at":"2025-10-06T07:24:18.979Z","repository":{"id":85016991,"uuid":"451336515","full_name":"feifeibear/PyTorchMemTracer","owner":"feifeibear","description":"Depict GPU memory footprint during DNN training of PyTorch","archived":false,"fork":false,"pushed_at":"2022-11-17T07:17:55.000Z","size":123,"stargazers_count":11,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-11T20:52:44.259Z","etag":null,"topics":["dnn","memory","oom","pytorch"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/feifeibear.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-24T06:03:53.000Z","updated_at":"2024-10-04T02:16:04.000Z","dependencies_parsed_at":"2023-04-09T04:17:09.830Z","dependency_job_id":null,"html_url":"https://github.com/feifeibear/PyTorchMemTracer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/feifeibear/PyTorchMemTracer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feifeibear%2FPyTorchMemTracer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feifeibear%2FPyTorchMemTracer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feifeibear%2FPyTorchMemTracer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feifeibear%2FPyTorchMemTracer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/feifeibear","download_url":"https://codeload.github.com/feifeibear/PyTorchMemTracer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feifeibear%2FPyTorchMemTracer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278574172,"owners_count":26009127,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dnn","memory","oom","pytorch"],"created_at":"2024-11-22T12:26:40.296Z","updated_at":"2025-10-06T07:24:18.971Z","avatar_url":"https://github.com/feifeibear.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A Memory Tracer For PyTorch\n\nOOM is a nightmare for PyTorch users.\nHowever, most of them do not know the exact memory footprint during training.\nThis project helps you depict the GPU memory usage changing curve during training.\nWe record the peak GPU memory of an operator at the moment of the operator finished.\nThe operator can be computing of a FWD submodule or a BWD submodule.\n\n## Usage\n```\npython train.py \npython visualize.py memstats.pkl\n```\n\n![alt perf](./memstats.png \"an example result\")\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeifeibear%2Fpytorchmemtracer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffeifeibear%2Fpytorchmemtracer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeifeibear%2Fpytorchmemtracer/lists"}