mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
remove objects (#571)
This commit is contained in:
parent
04ef9daf9f
commit
3ca36a9ece
@ -82,36 +82,7 @@ function usePublish(): UsePublish {
|
|||||||
}
|
}
|
||||||
case 'compute': {
|
case 'compute': {
|
||||||
if (!timeout) timeout = 3600
|
if (!timeout) timeout = 3600
|
||||||
const cluster = ocean.compute.createClusterAttributes(
|
const provider = {}
|
||||||
'Kubernetes',
|
|
||||||
'http://10.0.0.17/xxx'
|
|
||||||
)
|
|
||||||
const servers = [
|
|
||||||
ocean.compute.createServerAttributes(
|
|
||||||
'1',
|
|
||||||
'xlsize',
|
|
||||||
'50',
|
|
||||||
'16',
|
|
||||||
'0',
|
|
||||||
'128gb',
|
|
||||||
'160gb',
|
|
||||||
timeout
|
|
||||||
)
|
|
||||||
]
|
|
||||||
const containers = [
|
|
||||||
ocean.compute.createContainerAttributes(
|
|
||||||
'tensorflow/tensorflow',
|
|
||||||
'latest',
|
|
||||||
'sha256:cb57ecfa6ebbefd8ffc7f75c0f00e57a7fa739578a429b6f72a0df19315deadc'
|
|
||||||
)
|
|
||||||
]
|
|
||||||
const provider = ocean.compute.createProviderAttributes(
|
|
||||||
'Azure',
|
|
||||||
'Compute service with 16gb ram for each node.',
|
|
||||||
cluster,
|
|
||||||
containers,
|
|
||||||
servers
|
|
||||||
)
|
|
||||||
const origComputePrivacy: ServiceComputePrivacy = {
|
const origComputePrivacy: ServiceComputePrivacy = {
|
||||||
allowRawAlgorithm: false,
|
allowRawAlgorithm: false,
|
||||||
allowNetworkAccess: false,
|
allowNetworkAccess: false,
|
||||||
|
Loading…
Reference in New Issue
Block a user