Replies: 13 comments
-
Can you provide the full output / screenshot for the command?
|
Beta Was this translation helpful? Give feedback.
-
docker container inspect 8b899767d90a
[
{
"Id": "8b899767d90a65292d524b9bbd22eaa7f48278db6904ef21b980cc76da893161",
"Created": "2024-05-27T23:08:15.30876045Z",
"Path": "/opt/tabby/bin/tabby",
"Args": [
"serve",
"--model",
"StarCoder-1B",
"--device",
"cuda"
],
"State": {
"Status": "created",
"Running": false,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 0,
"ExitCode": 128,
"Error": "driver failed programming external connectivity on endpoint peaceful_hawking (b3360cb8df8e0ffbe9eeb61841e10cde99264cb9c21673f738ddec2f08d6df38): Error starting userland proxy: ",
"StartedAt": "0001-01-01T00:00:00Z",
"FinishedAt": "0001-01-01T00:00:00Z"
},
"Image": "sha256:35856381004daa40e39c1b132a8ae5d6b982783ce652007f20ef632283667e7d",
"ResolvConfPath": "/var/lib/docker/containers/8b899767d90a65292d524b9bbd22eaa7f48278db6904ef21b980cc76da893161/resolv.conf",
"HostnamePath": "",
"HostsPath": "/var/lib/docker/containers/8b899767d90a65292d524b9bbd22eaa7f48278db6904ef21b980cc76da893161/hosts",
"LogPath": "",
"Name": "/peaceful_hawking",
"RestartCount": 0,
"Driver": "btrfs",
"Platform": "linux",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "",
"ExecIDs": null,
"HostConfig": {
"Binds": [
"/home/geremia/.tabby:/data"
],
"ContainerIDFile": "",
"LogConfig": {
"Type": "json-file",
"Config": {}
},
"NetworkMode": "default",
"PortBindings": {
"8080/tcp": [
{
"HostIp": "",
"HostPort": "8080"
}
]
},
"RestartPolicy": {
"Name": "no",
"MaximumRetryCount": 0
},
"AutoRemove": false,
"VolumeDriver": "",
"VolumesFrom": null,
"ConsoleSize": [
84,
147
],
"CapAdd": null,
"CapDrop": null,
"CgroupnsMode": "host",
"Dns": [],
"DnsOptions": [],
"DnsSearch": [],
"ExtraHosts": null,
"GroupAdd": null,
"IpcMode": "private",
"Cgroup": "",
"Links": null,
"OomScoreAdj": 0,
"PidMode": "",
"Privileged": false,
"PublishAllPorts": false,
"ReadonlyRootfs": false,
"SecurityOpt": null,
"UTSMode": "",
"UsernsMode": "",
"ShmSize": 67108864,
"Runtime": "runc",
"Isolation": "",
"CpuShares": 0,
"Memory": 0,
"NanoCpus": 0,
"CgroupParent": "",
"BlkioWeight": 0,
"BlkioWeightDevice": [],
"BlkioDeviceReadBps": [],
"BlkioDeviceWriteBps": [],
"BlkioDeviceReadIOps": [],
"BlkioDeviceWriteIOps": [],
"CpuPeriod": 0,
"CpuQuota": 0,
"CpuRealtimePeriod": 0,
"CpuRealtimeRuntime": 0,
"CpusetCpus": "",
"CpusetMems": "",
"Devices": [],
"DeviceCgroupRules": null,
"DeviceRequests": [
{
"Driver": "",
"Count": -1,
"DeviceIDs": null,
"Capabilities": [
[
"gpu"
]
],
"Options": {}
}
],
"MemoryReservation": 0,
"MemorySwap": 0,
"MemorySwappiness": null,
"OomKillDisable": false,
"PidsLimit": null,
"Ulimits": null,
"CpuCount": 0,
"CpuPercent": 0,
"IOMaximumIOps": 0,
"IOMaximumBandwidth": 0,
"MaskedPaths": [
"/proc/asound",
"/proc/acpi",
"/proc/kcore",
"/proc/keys",
"/proc/latency_stats",
"/proc/timer_list",
"/proc/timer_stats",
"/proc/sched_debug",
"/proc/scsi",
"/sys/firmware"
],
"ReadonlyPaths": [
"/proc/bus",
"/proc/fs",
"/proc/irq",
"/proc/sys",
"/proc/sysrq-trigger"
]
},
"GraphDriver": {
"Data": null,
"Name": "btrfs"
},
"Mounts": [
{
"Type": "bind",
"Source": "/home/geremia/.tabby",
"Destination": "/data",
"Mode": "",
"RW": true,
"Propagation": "rprivate"
}
],
"Config": {
"Hostname": "8b899767d90a",
"Domainname": "",
"User": "",
"AttachStdin": true,
"AttachStdout": true,
"AttachStderr": true,
"ExposedPorts": {
"8080/tcp": {}
},
"Tty": true,
"OpenStdin": true,
"StdinOnce": true,
"Env": [
"PATH=/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/tabby/bin",
"NVARCH=x86_64",
"NVIDIA_REQUIRE_CUDA=cuda>=11.7 brand=tesla,driver>=470,driver<471 brand=unknown,driver>=470,driver<471 brand=nvidia,driver>=470,driver<471 brand=nvidiartx,driver>=470,driver<471 brand=geforce,driver>=470,driver<471 brand=geforcertx,driver>=470,driver<471 brand=quadro,driver>=470,driver<471 brand=quadrortx,driver>=470,driver<471 brand=titan,driver>=470,driver<471 brand=titanrtx,driver>=470,driver<471",
"NV_CUDA_CUDART_VERSION=11.7.99-1",
"NV_CUDA_COMPAT_PACKAGE=cuda-compat-11-7",
"CUDA_VERSION=11.7.1",
"LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64",
"NVIDIA_VISIBLE_DEVICES=all",
"NVIDIA_DRIVER_CAPABILITIES=compute,utility",
"NV_CUDA_LIB_VERSION=11.7.1-1",
"NV_NVTX_VERSION=11.7.91-1",
"NV_LIBNPP_VERSION=11.7.4.75-1",
"NV_LIBNPP_PACKAGE=libnpp-11-7=11.7.4.75-1",
"NV_LIBCUSPARSE_VERSION=11.7.4.91-1",
"NV_LIBCUBLAS_PACKAGE_NAME=libcublas-11-7",
"NV_LIBCUBLAS_VERSION=11.10.3.66-1",
"NV_LIBCUBLAS_PACKAGE=libcublas-11-7=11.10.3.66-1",
"NV_LIBNCCL_PACKAGE_NAME=libnccl2",
"NV_LIBNCCL_PACKAGE_VERSION=2.13.4-1",
"NCCL_VERSION=2.13.4-1",
"NV_LIBNCCL_PACKAGE=libnccl2=2.13.4-1+cuda11.7",
"NVIDIA_PRODUCT_NAME=CUDA",
"TABBY_ROOT=/data"
],
"Cmd": [
"serve",
"--model",
"StarCoder-1B",
"--device",
"cuda"
],
"Image": "tabbyml/tabby",
"Volumes": null,
"WorkingDir": "",
"Entrypoint": [
"/opt/tabby/bin/tabby"
],
"OnBuild": null,
"Labels": {
"maintainer": "NVIDIA CORPORATION <cudatools@nvidia.com>",
"org.opencontainers.image.created": "2024-05-15T05:00:56.710Z",
"org.opencontainers.image.description": "Self-hosted AI coding assistant",
"org.opencontainers.image.licenses": "NOASSERTION",
"org.opencontainers.image.ref.name": "ubuntu",
"org.opencontainers.image.revision": "c3eb1c1312277e000096f22421c1014a3287e14a",
"org.opencontainers.image.source": "https://github.com/TabbyML/tabby",
"org.opencontainers.image.title": "tabby",
"org.opencontainers.image.url": "https://github.com/TabbyML/tabby",
"org.opencontainers.image.version": "0.11.1"
}
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "559e59772325cb4fb83b3ab9f0683580477f245fda0125a1377769c58c89a7f8",
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"Ports": {},
"SandboxKey": "/var/run/docker/netns/559e59772325",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "",
"Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"MacAddress": "",
"Networks": {
"bridge": {
"IPAMConfig": null,
"Links": null,
"Aliases": null,
"NetworkID": "3117c4ec1d090b42d6d02645c8b5297a562cc0c041ac6ccbc53f568bd3bf3519",
"EndpointID": "",
"Gateway": "",
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": "",
"DriverOpts": null
}
}
}
}
] Also, I'm running Slackware, not Ubuntu. |
Beta Was this translation helpful? Give feedback.
-
Have you installed the NVIDIA container Toolkit? https://tabby.tabbyml.com/docs/quick-start/installation/docker/ |
Beta Was this translation helpful? Give feedback.
-
Yes, but maybe I didn't set it up properly? I ran (according to the instructions):
and restarted the Docker daemon, but I still get the same {
"runtimes": {
"nvidia": {
"args": [],
"path": "nvidia-container-runtime"
}
}
} |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
It's very likely related to your setup (Slackware / CUDA / Nvidia CUDA Container runtime), as it's not something we've previously adapted. Ubuntu is kind of the only battle-tested platform for CUDA-related tasks (not just Tabby, but the whole ecosystem). One way to try is to get the binary distribution (instead of the Docker distribution) from https://github.com/TabbyML/tabby/releases/tag/v0.11.1 to see if it works on Slackware, as it doesn't require the CUDA container runtime. |
Beta Was this translation helpful? Give feedback.
-
@wsxiaoys |
Beta Was this translation helpful? Give feedback.
-
@wsxiaoys It seems to be a network issue.
Yet, |
Beta Was this translation helpful? Give feedback.
-
Need append something like |
Beta Was this translation helpful? Give feedback.
-
Specifying
|
Beta Was this translation helpful? Give feedback.
-
That's what triggers |
Beta Was this translation helpful? Give feedback.
-
@wsxiaoys |
Beta Was this translation helpful? Give feedback.
-
This was a It's listening now:
|
Beta Was this translation helpful? Give feedback.
-
Describe the bug
Information about your version
Please provide output of
tabby --version
tabby 0.11.1
Information about your GPU
`nvidia-smi`
Beta Was this translation helpful? Give feedback.
All reactions