{"id":16539626,"url":"https://github.com/rickstaa/onediff_test","last_synced_at":"2025-07-23T03:03:23.555Z","repository":{"id":240300934,"uuid":"802259638","full_name":"rickstaa/onediff_test","owner":"rickstaa","description":"Contains a simple test to measure the speedup provided by the OneDiff algorithm.","archived":false,"fork":false,"pushed_at":"2024-05-17T20:59:27.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-04T02:44:48.058Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/rickstaa.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":"2024-05-17T20:58:58.000Z","updated_at":"2024-05-17T20:59:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"c8a97b14-a15a-4645-badf-7a2e77c9028b","html_url":"https://github.com/rickstaa/onediff_test","commit_stats":null,"previous_names":["rickstaa/onediff_test"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rickstaa/onediff_test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickstaa%2Fonediff_test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickstaa%2Fonediff_test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickstaa%2Fonediff_test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickstaa%2Fonediff_test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rickstaa","download_url":"https://codeload.github.com/rickstaa/onediff_test/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickstaa%2Fonediff_test/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266608967,"owners_count":23955545,"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-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":[],"created_at":"2024-10-11T18:49:51.687Z","updated_at":"2025-07-23T03:03:23.483Z","avatar_url":"https://github.com/rickstaa.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OneDiff Speedup Test\n\nThis repository contains a simple test to measure the speedup provided by the OneDiff algorithm.\n\n## How to Use\n\nFollow these steps to set up and run the test:\n\n1. **Set up a Python 3.10 Conda environment**\n\n   Create a new Conda environment named `onediff-test` with Python 3.10:\n\n   ```bash\n   conda env create -n onediff-test python=3.10\n\n   ```\n\n2. **Activate the environment**\n\n   Switch to the new environment:\n\n   ```bash\n   conda activate onediff-test\n\n   ```\n\n3. **Install the OneDiff library**\n\n   Run the provided script to install the OneDiff library with CUDA 11.2 support:\n\n   ```bash\n   bash install_one_diff_cuda121.bash\n   ```\n\n   This script follows the [official OneDiff installation instructions](https://github.com/siliconflow/onediff#1-install-oneflow).\n\n4. **Verify the OneDiff installation**\n\n   Verify that the OneDiff library is successfully installed by importing it in Python:\n\n   ```bash\n   python -c \"import onediff\"\n   ```\n\n5. **Run the test**\n\n   Execute the test script:\n\n   ```bash\n   python onediff_test.py\n   ```\n\n   This script uses the OneDiff library to perform text-to-image inference using a pre-trained model.\n# onediff_test\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frickstaa%2Fonediff_test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frickstaa%2Fonediff_test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frickstaa%2Fonediff_test/lists"}