CI / Tests for DALLE-pytorch
See original GitHub issueAs the number of papers (and pull requests) is increasing, the idea of testing a branch before merging it to master becomes more and more important.
@afiaka87 ans @rom1504 had the idea to include DALLE-Pytorch into a continuous integration cycle or at least run a few tests before merging a branch to ensure no essential features get broken.
A simple, first test could look as follows:
run the follwing commands (each with text-image-folders and a wds stream, as well as with open-AI and taming transformer):
- python…
- deepspeed…
- deepspeed fp16
- deepspeed apex
The tests can be speed up by
itertools.islice(dataloader, 10):`“ if Test=True else dataloader
So the tests only run for a few samples.
Issue Analytics
- State:
- Created 2 years ago
- Comments:16 (16 by maintainers)
Top Results From Across the Web
How to Choose a Continues Integration (CI) Framework for ...
This article shows how to select and set up Continuous Integration (CI) for deep learning software. We will cover a few different CI...
Read more >Gradient Dissent sur Apple Podcasts
Gradient Dissent is a machine learning podcast hosted by Lukas Biewald that takes you behind-the-scenes to learn how industry leaders are putting deep ......
Read more >DALL·E: Creating Images from Text - OpenAI
We test DALL·E's ability to modify several of an object's attributes, as well as the number of times that it appears.
Read more >PyTorch on Azure: Deep learning in the oil and gas industry
Using the PyTorch deep learning framework on Microsoft Azure, ... into a Continuous Integration/Continuous Delivery (CI/CD) workflow as depicted below.
Read more >Giskard Home | Quality Assurance for AI models
Deploy automated tests to eliminate regression and biases. ... Integrate. API for any Python model: PyTorch, TensorFlow, Transformers, sklearn, etc.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Why can’t the most important tests be run on CPU ? Even if it’s takes 5min to do 3 steps of batch size 2 on cpu, it’s good enough
Do you have anything in mind other than colab which can be spun up that easily? @rom1504 mentioned running like 10 steps on the CPU; but if that winds up being “a whole thing” then I probably won’t spend too much time on it. Have honestly never tried with DALLE (or anything really) - but I’m guessing it doesn’t work as it stands?