{"id":4293185,"name":"tch","ecosystem":"cargo","description":"Rust wrappers for the PyTorch C++ api (libtorch).","homepage":null,"licenses":"MIT/Apache-2.0","normalized_licenses":["MIT","Apache-2.0"],"repository_url":"https://github.com/LaurentMazare/tch-rs","keywords_array":["deep-learning","machine-learning","pytorch"],"namespace":null,"versions_count":49,"first_release_published_at":"2019-02-27T22:45:09.064Z","latest_release_published_at":"2026-08-23T16:47:43.333Z","latest_release_number":"0.26.0","last_synced_at":"2026-10-03T17:48:17.070Z","created_at":"2022-04-13T06:31:10.376Z","updated_at":"2026-10-03T17:48:17.905Z","registry_url":"https://crates.io/crates/tch/","install_command":"cargo install tch","documentation_url":"https://docs.rs/tch/","metadata":{"categories":["science"]},"repo_metadata":{"id":38028780,"uuid":"171052201","full_name":"LaurentMazare/tch-rs","owner":"LaurentMazare","description":"Rust bindings for the C++ api of PyTorch.","archived":false,"fork":false,"pushed_at":"2026-08-23T16:46:54.000Z","size":4775,"stargazers_count":5496,"open_issues_count":278,"forks_count":458,"subscribers_count":51,"default_branch":"main","last_synced_at":"2026-10-03T09:48:52.717Z","etag":null,"topics":["deep-learning","machine-learning","neural-network","pytorch","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LaurentMazare.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE-APACHE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-02-16T21:08:44.000Z","updated_at":"2026-10-03T08:41:59.000Z","dependencies_parsed_at":"2023-10-01T21:44:22.541Z","dependency_job_id":"bf2e8639-16ae-4a5a-836e-70494f97ec5c","html_url":"https://github.com/LaurentMazare/tch-rs","commit_stats":{"total_commits":727,"total_committers":64,"mean_commits":11.359375,"dds":"0.24484181568088037","last_synced_commit":"f277babe5ec6701af766aa819325bf262e401248"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/LaurentMazare/tch-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LaurentMazare%2Ftch-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LaurentMazare%2Ftch-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LaurentMazare%2Ftch-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LaurentMazare%2Ftch-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LaurentMazare","download_url":"https://codeload.github.com/LaurentMazare/tch-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LaurentMazare%2Ftch-rs/sbom","scorecard":{"id":82478,"data":{"date":"2025-08-11","repo":{"name":"github.com/LaurentMazare/tch-rs","commit":"fde04c49b3e99ce298f401e83aa16705c0ae600d"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.6,"checks":[{"name":"Maintained","score":10,"reason":"11 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":2,"reason":"Found 2/10 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/rust-ci.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE-APACHE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE-APACHE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact mw not signed: https://api.github.com/repos/LaurentMazare/tch-rs/releases/63436646","Warn: release artifact mw does not have provenance: https://api.github.com/repos/LaurentMazare/tch-rs/releases/63436646"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/rust-ci.yml:64: update your workflow using https://app.stepsecurity.io/secureworkflow/LaurentMazare/tch-rs/rust-ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust-ci.yml:65: update your workflow using https://app.stepsecurity.io/secureworkflow/LaurentMazare/tch-rs/rust-ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust-ci.yml:71: update your workflow using https://app.stepsecurity.io/secureworkflow/LaurentMazare/tch-rs/rust-ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/rust-ci.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/LaurentMazare/tch-rs/rust-ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust-ci.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/LaurentMazare/tch-rs/rust-ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust-ci.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/LaurentMazare/tch-rs/rust-ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/rust-ci.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/LaurentMazare/tch-rs/rust-ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust-ci.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/LaurentMazare/tch-rs/rust-ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust-ci.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/LaurentMazare/tch-rs/rust-ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/rust-ci.yml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/LaurentMazare/tch-rs/rust-ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust-ci.yml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/LaurentMazare/tch-rs/rust-ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust-ci.yml:55: update your workflow using https://app.stepsecurity.io/secureworkflow/LaurentMazare/tch-rs/rust-ci.yml/main?enable=pin","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   8 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-15T06:12:20.063Z","repository_id":38028780,"created_at":"2025-08-15T06:12:20.063Z","updated_at":"2025-08-15T06:12:20.063Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":343072799,"owners_count":37977975,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-10-03T02:00:07.567Z","response_time":59,"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"},"owner_record":{"login":"LaurentMazare","name":"Laurent Mazare","uuid":"1041292","kind":"user","description":"CTO at Kyutai","email":"","website":"http://laurentmazare.github.io","location":"Paris, France","twitter":"lmazare","company":null,"icon_url":"https://avatars.githubusercontent.com/u/1041292?u=4d4c5fe94c63a8eb244d812c6d97511c3640d122\u0026v=4","repositories_count":24,"last_synced_at":"2025-05-28T14:02:19.971Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/LaurentMazare","funding_links":[],"total_stars":null,"followers":2449,"following":1,"created_at":"2022-11-03T17:11:21.909Z","updated_at":"2025-05-28T14:02:19.971Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LaurentMazare","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LaurentMazare/repositories"},"tags":[{"name":"0.18.0","sha":"ef4eade5596cba10e0edceac3e812e5621c61008","kind":"commit","published_at":"2024-10-17T16:57:28.000Z","download_url":"https://codeload.github.com/LaurentMazare/tch-rs/tar.gz/0.18.0","html_url":"https://github.com/LaurentMazare/tch-rs/releases/tag/0.18.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/LaurentMazare/tch-rs@0.18.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LaurentMazare%2Ftch-rs/tags/0.18.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LaurentMazare%2Ftch-rs/tags/0.18.0/manifests"},{"name":"mw","sha":"4bbe0dab393848b342014785acf2383e2b8f0eb2","kind":"commit","published_at":"2022-04-02T08:30:26.000Z","download_url":"https://codeload.github.com/LaurentMazare/tch-rs/tar.gz/mw","html_url":"https://github.com/LaurentMazare/tch-rs/releases/tag/mw","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/LaurentMazare/tch-rs@mw","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LaurentMazare%2Ftch-rs/tags/mw","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LaurentMazare%2Ftch-rs/tags/mw/manifests"},{"name":"model-weights","sha":"75ed90052665577532029e0d29014b6341f1b45c","kind":"commit","published_at":"2022-04-02T08:15:56.000Z","download_url":"https://codeload.github.com/LaurentMazare/tch-rs/tar.gz/model-weights","html_url":"https://github.com/LaurentMazare/tch-rs/releases/tag/model-weights","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/LaurentMazare/tch-rs@model-weights","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LaurentMazare%2Ftch-rs/tags/model-weights","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LaurentMazare%2Ftch-rs/tags/model-weights/manifests"}]},"repo_metadata_updated_at":"2026-10-03T17:48:17.905Z","dependent_packages_count":63,"downloads":7751285,"downloads_period":"total","dependent_repos_count":1061,"rankings":{"downloads":3.371818616322141,"dependent_repos_count":1.2635918269805233,"dependent_packages_count":0.9336502810668581,"stargazers_count":2.2075516788146734,"forks_count":2.744118944213131,"docker_downloads_count":3.251582810713031,"average":2.295385693018393},"purl":"pkg:cargo/tch","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/cargo/tch","docker_dependents_count":30,"docker_downloads_count":23282429,"usage_url":"https://repos.ecosyste.ms/usage/cargo/tch","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/cargo/tch/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2026-10-02T19:00:45.029Z","issues_count":280,"pull_requests_count":219,"avg_time_to_close_issue":15307968.971428571,"avg_time_to_close_pull_request":4630598.68,"issues_closed_count":140,"pull_requests_closed_count":175,"pull_request_authors_count":68,"issue_authors_count":216,"avg_comments_per_issue":2.3892857142857142,"avg_comments_per_pull_request":0.4885844748858447,"merged_pull_requests_count":137,"bot_issues_count":0,"bot_pull_requests_count":4,"past_year_issues_count":18,"past_year_pull_requests_count":21,"past_year_avg_time_to_close_issue":812314.0,"past_year_avg_time_to_close_pull_request":1136077.7777777778,"past_year_issues_closed_count":1,"past_year_pull_requests_closed_count":9,"past_year_pull_request_authors_count":13,"past_year_issue_authors_count":17,"past_year_avg_comments_per_issue":0.8888888888888888,"past_year_avg_comments_per_pull_request":0.19047619047619047,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":4,"past_year_merged_pull_requests_count":5,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/LaurentMazare%2Ftch-rs/issues","maintainers":[{"login":"LaurentMazare","count":111,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/LaurentMazare"}],"active_maintainers":[{"login":"LaurentMazare","count":5,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/LaurentMazare"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/tch/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/tch/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/tch/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/tch/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/tch/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/tch/codemeta","maintainers":[{"uuid":"41378","login":"LaurentMazare","name":"Laurent Mazare","email":null,"url":"https://github.com/LaurentMazare","packages_count":66,"html_url":"https://crates.io/users/LaurentMazare","role":null,"created_at":"2022-11-08T02:03:07.376Z","updated_at":"2022-11-08T02:03:07.376Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/maintainers/LaurentMazare/packages"}]}