{"id":18890841,"url":"https://github.com/pierric/smart-chess-rust","last_synced_at":"2026-02-25T20:30:17.836Z","repository":{"id":204951873,"uuid":"712957167","full_name":"pierric/smart-chess-rust","owner":"pierric","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-19T09:45:53.000Z","size":3495,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-19T10:33:01.968Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pierric.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-11-01T14:52:14.000Z","updated_at":"2025-02-19T09:45:56.000Z","dependencies_parsed_at":"2024-03-20T22:31:16.256Z","dependency_job_id":"4861690e-bfb4-4a43-b451-751bd55d47fa","html_url":"https://github.com/pierric/smart-chess-rust","commit_stats":null,"previous_names":["pierric/smart-chess-rust"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pierric%2Fsmart-chess-rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pierric%2Fsmart-chess-rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pierric%2Fsmart-chess-rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pierric%2Fsmart-chess-rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pierric","download_url":"https://codeload.github.com/pierric/smart-chess-rust/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239866424,"owners_count":19710180,"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","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":[],"created_at":"2024-11-08T07:57:45.208Z","updated_at":"2026-02-25T20:30:17.791Z","avatar_url":"https://github.com/pierric.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Rust](https://github.com/pierric/smart-chess-rust/actions/workflows/rust.yml/badge.svg)](https://github.com/pierric/smart-chess-rust/actions/workflows/rust.yml)\n\n# Build\n\n## Python part\n\n```\npoetry install\n```\n\n## Rust part\n\n```\npoetry shell\nexport LIBTORCH_USE_PYTORCH=1\nexport LIBTORCH_BYPASS_VERSION_CHECK=1\ncargo build\n```\n\nTch is always built against the torch with patch-version being 0. But very safe to be run with the other patch versions. It is necessary to export the environment variable `LIBTORCH_BYPASS_VERSION_CHECK=1`.\n\nIf Cargo added multiple versions of ndarray and results in some type error, see this [link](https://github.com/PyO3/rust-numpy?tab=readme-ov-file#dependency-on-ndarray) for the explanation and solution.\n\n# Quantization\n\nExperiments with quantized model (int8) is also tried. No convicing results are seen, neither faster nor better performance. If interested, installing pytorch_quantization as described here: \u003chttps://github.com/NVIDIA/TensorRT/tree/release/9.3/tools/pytorch-quantization/pytorch_quantization\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpierric%2Fsmart-chess-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpierric%2Fsmart-chess-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpierric%2Fsmart-chess-rust/lists"}