{"id":28992875,"url":"https://github.com/just1truc/dtorch","last_synced_at":"2025-09-03T00:33:43.063Z","repository":{"id":173017414,"uuid":"650038128","full_name":"Just1truc/dtorch","owner":"Just1truc","description":"A Package created by a student for IA Model creation and saving that reproduce pytorch module and autograd system.","archived":false,"fork":false,"pushed_at":"2023-06-23T21:34:37.000Z","size":33028,"stargazers_count":12,"open_issues_count":11,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-25T03:01:49.891Z","etag":null,"topics":["ia","math","ml","package","pip","pipy","python","pytorch","science"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/dtorch/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Just1truc.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}},"created_at":"2023-06-06T07:46:41.000Z","updated_at":"2024-12-14T08:04:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"23f136c4-d0fc-45d4-83b7-f84a212937d1","html_url":"https://github.com/Just1truc/dtorch","commit_stats":{"total_commits":38,"total_committers":2,"mean_commits":19.0,"dds":0.4473684210526315,"last_synced_commit":"b17dddf24ba98f1b7e0928810fe3f02ff92cd9de"},"previous_names":["just1truc/dtorch"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/Just1truc/dtorch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Just1truc%2Fdtorch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Just1truc%2Fdtorch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Just1truc%2Fdtorch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Just1truc%2Fdtorch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Just1truc","download_url":"https://codeload.github.com/Just1truc/dtorch/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Just1truc%2Fdtorch/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261795254,"owners_count":23210611,"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":["ia","math","ml","package","pip","pipy","python","pytorch","science"],"created_at":"2025-06-25T03:01:20.757Z","updated_at":"2025-06-25T03:02:43.674Z","avatar_url":"https://github.com/Just1truc.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# DTorch\n\n| A direct link to the package : [here](https://pypi.org/project/dtorch/)\n| To the Documentation : [doc](https://just1truc.github.io/dtorch/index.html)\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/Just1truc/dtorch/main/.asset/2023-06-07-09%2038%2034-screenshot.png\" data-canonical-src=\"https://raw.githubusercontent.com/Just1truc/dtorch/main/.asset/2023-06-07-09%2038%2034-screenshot.png\" width=\"200\" height=\"200\"/\u003e \u003c/p\u003e\n\nDTorch is a package made by a student at Epitech to improve his understanding of **pytorch** and better his knowledge of ia.\nIt is built on top of **numpy** which is a scientific framework for math between matrices.\n\nThis project run on cpu but still have decent computation time making it usable for model building, optimization and saving/loading.\n\nThe tensors created can work with numpy but remember that the gradients will **not be calculated** if the operation are not in the range of control of the library. Therefore, a usage of the packages methods on the tensors if preferable.\n\n**Cuda** support may appear in the future and similarly for the dkldnn library that seems to be an excellent when working on CPU.\n\nA direct **advantage** of using dtorch is it's lightness. The package is currently close to 14 Ko and is fast to load in any project while the use of torch often lead to a slow start.\n\n## More about DTorch\n\nThe package is organised in the following manner :\n\n| Module | Description |\n|-|-|\n| dtorch | the base module where other are regrouped|\n| functionnal | a gather of all the functions that can be used on jtensors|\n| jtensors | a simple module containing the JTensors declaration |\n| loss | loss classes for model implementation |\n| nn | a neural network layer system and its multiple layers (see doc for more details).|\n| einops | a basic reproduction of some einops library methods that support autograd |\n| optim | A library contaning the optimizers that can be used on the networks parameters. |\n| dtorchvision | A lib containing visual datasets and models (pretrained too) |\n| dtorchtext | A lib containing textual datasets and models (pretrained too) |\n| dtorchtree | A lib for tree ml models |\n\n### About Autograd\n\nThe implementation in this library may not be the most effective computationnaly but the goal was to make it simple and make it work effectively by relying on numpy matrices operations for computation speed concerns.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjust1truc%2Fdtorch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjust1truc%2Fdtorch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjust1truc%2Fdtorch/lists"}