♻️ split dependecies and add Aqua.jl tests

This commit is contained in:
Laureηt 2023-08-03 21:04:59 +02:00
parent 71ae55da71
commit a25e74a62a
Signed by: Laurent
SSH key fingerprint: SHA256:kZEpW8cMJ54PDeCvOhzreNr4FSh6R13CMGH/POoO8DI
4 changed files with 25 additions and 5 deletions

View file

@ -4,10 +4,16 @@ authors = ["Laurent Fainsin <laurent@fainsin.bzh>"]
version = "0.1.0"
[deps]
DenoisingDiffusion = "32e9e46b-ad0f-4c80-b32d-4f6f824844ef"
Flux = "587475ba-b771-5e3f-ad9e-33799f191a9c"
LaTeXStrings = "b964fa9f-0449-5b57-a5c2-d3ea65f4040f"
NNlib = "872c559c-99b0-510c-b3b7-b6c96a88d5cd"
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
ProgressMeter = "92933f4c-e287-5a05-a399-4b506db050ca"
[compat]
NNlib = "0.9"
julia = "1"
[extras]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
Revise = "295af30f-e4ad-537b-8983-00126c2a3abe"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
[targets]
test = ["Test", "Aqua"]

View file

@ -1,6 +1,7 @@
# Diffusers.jl
[![GitHub](https://img.shields.io/github/license/Laurent2916/diffusers.jl)](https://github.com/Laurent2916/diffusers.jl/blob/master/LICENSE)
[![Aqua QA](https://raw.githubusercontent.com/JuliaTesting/Aqua.jl/master/badge.svg)](https://github.com/JuliaTesting/Aqua.jl)
[🤗 diffusers](https://github.com/huggingface/diffusers/), but in Julia (and with worse code) !

9
examples/Project.toml Normal file
View file

@ -0,0 +1,9 @@
[deps]
BSON = "fbb218c0-5317-5bc6-957e-2ee96dd4b1f0"
Flux = "587475ba-b771-5e3f-ad9e-33799f191a9c"
ImageShow = "4e3cecfd-b093-5904-9786-8bbb286a6a31"
LaTeXStrings = "b964fa9f-0449-5b57-a5c2-d3ea65f4040f"
MLDatasets = "eb30cadb-4394-5ae3-aed4-317e484a6458"
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
ProgressMeter = "92933f4c-e287-5a05-a399-4b506db050ca"
DenoisingDiffusion = "32e9e46b-ad0f-4c80-b32d-4f6f824844ef"

4
test/runtests.jl Normal file
View file

@ -0,0 +1,4 @@
using Diffusers
using Aqua
Aqua.test_all(Diffusers)