mirror of
https://github.com/m1k1o/neko-rooms.git
synced 2026-11-03 07:01:35 -06:00
Add mount devices to API. (#69)
* add room devices to API. * devicese one 1:1 mapping. * add devices to gui. * get used devices. * rename gpu support to nvidia gpu.
This commit is contained in:
@@ -67,6 +67,7 @@ type RoomResources struct {
|
||||
ShmSize int64 `json:"shm_size"` // in bytes
|
||||
Memory int64 `json:"memory"` // in bytes
|
||||
Gpus []string `json:"gpus"` // gpu opts
|
||||
Devices []string `json:"devices"`
|
||||
}
|
||||
|
||||
type RoomSettings struct {
|
||||
|
||||
Reference in New Issue
Block a user