stability_sdk 0.2.7 → 0.2.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 691542746c11c2572a6b1ebe01ca5e1d59ccdce3b3a3ded98a04da1adc1a45e7
4
- data.tar.gz: 5054814602c875af5798ccfa1a23581a85bb41630f8682a5c6a19c9dde8aa2be
3
+ metadata.gz: 27bb9b00352e1cf979dedd17438a5dc2a3dae93ed0d74a747e30f297152e81a2
4
+ data.tar.gz: c125901e07cc2f6d0704a423e2dad2541c3e31efbeb1ff69993f65bf804dcabb
5
5
  SHA512:
6
- metadata.gz: 860515e0128471380abd4d5830cb493060f3360838b0418a65f56f88eda11e73af565c173e21c93a610a1cc5eef34ba25d469cfd31f67850d3da4176e6d59a4d
7
- data.tar.gz: 311b21b641f541a50061003af9bf08d9ec7bc5d86c41848fa7ec5135f305be1e9762d49e5576d1935d0b243437d236d9cb9e09e83bf297dd89292349a5b65ca4
6
+ metadata.gz: 4b79d8290c5c958f10a00f103efe6959b8e1f408d8ca3393453afb0a7433eda250252edab93195a1dd7885b9a3860aeffccd27833289f38ea373ff3bf1a274f0
7
+ data.tar.gz: 4481b59d12990bf00e5b716611dbd8055df7d4d262a4f1647ea2b217c9122cd790b671e76d51f1c082e83f2a0cebb1d62e2a80d7cb08f1ae96755db299a89dcb
data/Gemfile.lock CHANGED
@@ -1,18 +1,18 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stability_sdk (0.2.7)
5
- grpc (>= 1.0.0)
4
+ stability_sdk (0.2.9)
5
+ grpc (>= 1.41.1)
6
6
  mime-types (>= 3.0.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- google-protobuf (3.21.5)
11
+ google-protobuf (3.21.7)
12
12
  googleapis-common-protos-types (1.4.0)
13
13
  google-protobuf (~> 3.14)
14
- grpc (1.48.0)
15
- google-protobuf (~> 3.19)
14
+ grpc (1.49.1)
15
+ google-protobuf (~> 3.21)
16
16
  googleapis-common-protos-types (~> 1.0)
17
17
  grpc-tools (1.48.0)
18
18
  mime-types (3.4.1)
@@ -23,6 +23,7 @@ GEM
23
23
 
24
24
  PLATFORMS
25
25
  arm64-darwin-20
26
+ ruby
26
27
 
27
28
  DEPENDENCIES
28
29
  grpc-tools
@@ -14,7 +14,7 @@ module StabilitySDK
14
14
  DEFAULT_START_SCHEDULE = 1.0
15
15
  DEFAULT_END_SCHEDULE = 0.01
16
16
 
17
- sampler_algorithms = {
17
+ SAMPLER_ALGORITHMS = {
18
18
  "ddim": Gooseai::DiffusionSampler::SAMPLER_DDIM,
19
19
  "plms": Gooseai::DiffusionSampler::SAMPLER_DDPM,
20
20
  "k_euler": Gooseai::DiffusionSampler::SAMPLER_K_EULER,
@@ -46,7 +46,7 @@ module StabilitySDK
46
46
  steps = options.has_key?(:steps) ? options[:steps].to_i : DEFAULT_STEPS
47
47
  seed = options.has_key?(:seed) ? [options[:seed].to_i] : [rand(4294967295)]
48
48
  transform = Gooseai::TransformType.new(
49
- diffusion: options.has_key?(:sampler) ? sampler_algorithms[options[:sampler]] : DEFAULT_SAMPLER_ALGORITHM,
49
+ diffusion: options.has_key?(:sampler) ? SAMPLER_ALGORITHMS[options[:sampler]] : DEFAULT_SAMPLER_ALGORITHM,
50
50
  )
51
51
  parameters = [Gooseai::StepParameter.new(
52
52
  scaled_step: 0,
@@ -1,3 +1,3 @@
1
1
  module StabilitySDK
2
- VERSION = "0.2.7"
2
+ VERSION = "0.2.9"
3
3
  end
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
25
25
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
26
26
  spec.require_paths = ["lib"]
27
27
 
28
- spec.add_dependency "grpc", ">= 1.0.0"
28
+ spec.add_dependency "grpc", ">= 1.41.1"
29
29
  spec.add_dependency "mime-types", ">= 3.0.0"
30
30
  spec.add_development_dependency "grpc-tools"
31
31
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stability_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kosei Moriyama
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-09-28 00:00:00.000000000 Z
11
+ date: 2022-10-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grpc
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 1.0.0
19
+ version: 1.41.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 1.0.0
26
+ version: 1.41.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: mime-types
29
29
  requirement: !ruby/object:Gem::Requirement