{"id":15658228,"url":"https://github.com/halcy/tpuddim","last_synced_at":"2025-05-05T16:43:33.519Z","repository":{"id":45696780,"uuid":"392257969","full_name":"halcy/tpuddim","owner":"halcy","description":null,"archived":false,"fork":false,"pushed_at":"2022-05-03T07:09:39.000Z","size":23778,"stargazers_count":22,"open_issues_count":0,"forks_count":2,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-30T22:31:57.173Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/halcy.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}},"created_at":"2021-08-03T09:14:19.000Z","updated_at":"2024-01-04T16:59:58.000Z","dependencies_parsed_at":"2022-08-04T19:15:19.783Z","dependency_job_id":null,"html_url":"https://github.com/halcy/tpuddim","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halcy%2Ftpuddim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halcy%2Ftpuddim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halcy%2Ftpuddim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halcy%2Ftpuddim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/halcy","download_url":"https://codeload.github.com/halcy/tpuddim/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252535251,"owners_count":21763921,"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-10-03T13:11:28.991Z","updated_at":"2025-05-05T16:43:33.497Z","avatar_url":"https://github.com/halcy.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tpuddim\n\nDenoising Diffusion Implicit Models JAX TPU implementation. Based on the network architecture in https://github.com/openai/guided-diffusion , pretrained weights compatible.\n\nStill quite WIP, though less so now, there is code for inference and basic training, weights for the MNIST example, an initial training attempt on Danbooru2019Faces and a [convenient colab inference notebook](https://colab.research.google.com/github/halcy/tpuddim/blob/main/colab/Danbooru2019Portraits_Inference_Colab.ipynb) for the same.\n\nThere's also an attempt at making a mixer work as a diffusion model, that doesn't quite work yet. Patches extremely welcome, especially if they adress one of the things marked TODO in the code somewhere.\n\n(Note that training on Colab will _not_ work - this code was developed on, and the models trained on, TRC TPUs)\n\nMNIST example output:\n\n![generated mnist digits](https://github.com/halcy/tpuddim/blob/main/mnist_example.png?raw=true)\n\nDanbooru2019Faces example output:\n\n![generated mnist digits](https://github.com/halcy/tpuddim/blob/main/danbooru_sample.png?raw=true)\n\n# Acknowledgements\n\nThis work would not have been possible without a TPU access grant by the Google [TPU Research Cloud](https://sites.research.google/trc/about/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhalcy%2Ftpuddim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhalcy%2Ftpuddim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhalcy%2Ftpuddim/lists"}