Files
ubicloud/migrate/20241030_add_inference_endpoint_gpu_count.rb
Benjamin Satzger c77cb7635d Migration to add gpu_count to inference_endpoint
Add a column `gpu_count` to the `inference_endpoint` table. That column
allows to specify how many gpus are to be assigned to each VM that runs
a replica of this endpoint.
2024-10-31 12:44:39 +01:00

10 lines
180 B
Ruby

# frozen_string_literal: true
Sequel.migration do
change do
alter_table(:inference_endpoint) do
add_column :gpu_count, :int, default: 1, null: false
end
end
end