Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

bug: install.sh does not include cuda version #344

@smathews

Description

@smathews

Describe the bug
When specifying --gpu for the install.sh script, the latest version fails because the cuda version is not appended to the file name.

To Reproduce
Steps to reproduce the behavior:
run install.sh with --gpu switch

Expected behavior
Nitro is installed with cuda support

Screenshots

# curl -sfL https://raw.githubusercontent.com/janhq/nitro/main/install.sh | bash -s -- --gpu
Downloading Nitro version 0.2.7... from https://github.com/janhq/nitro/releases/download/v0.2.7/nitro-0.2.7-linux-amd64-cuda.tar.gz

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
ls: cannot access '/tmp/nitro': No such file or directory
chmod: cannot access '/tmp/nitro/*': No such file or directory
cp: cannot stat '/tmp/nitro/*': No such file or directory
Nitro installed successfully.
# wget https://github.com/janhq/nitro/releases/download/v0.2.7/nitro-0.2.7-linux-amd64-cuda.tar.gz
--2024-01-12 16:56:25--  https://github.com/janhq/nitro/releases/download/v0.2.7/nitro-0.2.7-linux-amd64-cuda.tar.gz
Resolving github.com (github.com)... 140.82.114.4
Connecting to github.com (github.com)|140.82.114.4|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-01-12 16:56:26 ERROR 404: Not Found.

image

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions