Replies: 1 comment 1 reply
-
Unfortunately I don't think anyone is working on the Web projects at the moment. I've been making minimal updates so they at least compile after breaking changes are made, but that's all. Would you be interested in making some PRs to fix it? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Has anyone gotten the latest version of the web project (0.21.0) to work yet? I downloaded the master repository in Visualstudio 2022, various files were downloaded when I rebuilt it, including some models in the LLama.Unittest\Models folder.
The web project starts for me, but when I click on Begin Session, nothing happens, only the loading circle is visible. At first glance, there are no errors in the console output.
I tried a slightly older project a few months ago and it worked straight away. Is it possible that some of the settings in appsettings.json are no longer up to date? For example, the preconfigured “llama-2-7b-chat.Q4_0.gguf” was not downloaded at all. There are only these models in my folder after project build.
Edit: I'm using a Win10 Machine with NVIDIA GeForce GTX 1070 and 4GHz i7-6700K CPU
...
Edit:
Oh, there seem to be a problem in a signalr function.
![image](https://private-user-images.githubusercontent.com/12501993/408895201-61873701-3295-401a-bf56-8193305f968a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MTUwOTYsIm5iZiI6MTczOTYxNDc5NiwicGF0aCI6Ii8xMjUwMTk5My80MDg4OTUyMDEtNjE4NzM3MDEtMzI5NS00MDFhLWJmNTYtODE5MzMwNWY5NjhhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDEwMTk1NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWMzNTE3OTMwYWNhZTFmNDdmNjA1ZjA3NmJkYTVhZjhjNDUxZDE1MTdiYWMxZmM1NTI3ODBmNWEwNGI4ZDgyN2YmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.AGfeiuO7EUg5KqVOYXZejPAWCov1RmSmx3_9Qxfb0SI)
This Error happends in wwwroot\js\sessionConnectionChat.js if the following row is called:
![image](https://private-user-images.githubusercontent.com/12501993/408895631-7a55752d-6cf6-4eb6-a81b-5426af3100cd.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MTUwOTYsIm5iZiI6MTczOTYxNDc5NiwicGF0aCI6Ii8xMjUwMTk5My80MDg4OTU2MzEtN2E1NTc1MmQtNmNmNi00ZWI2LWE4MWItNTQyNmFmMzEwMGNkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDEwMTk1NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg1YTQ2YjE4MGVhODI5YjEyNmViZWIzMTljZDRlNzk3YmNjOWViZThiYWNkM2ZjZjcwYWE4ZGQ0MGIxYzUzNDUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.PzWFjUUq5ldmpqeAzxW27xDMoCqq27DtG29PDl4einc)
I suppose, that usually the following Task in Hubs\SessionConnectionHub.cs should be called, but this is not happening for some reason. I can't tell why this signalR call is not working.
![image](https://private-user-images.githubusercontent.com/12501993/408895701-c476125f-1f09-46ce-86f2-39dde0683503.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MTUwOTYsIm5iZiI6MTczOTYxNDc5NiwicGF0aCI6Ii8xMjUwMTk5My80MDg4OTU3MDEtYzQ3NjEyNWYtMWYwOS00NmNlLTg2ZjItMzlkZGUwNjgzNTAzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDEwMTk1NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM1NjcyMWMxZTBjMDc1M2FkZmJkZjVhYzZkYzgwMWIwZTQ5NGM1NWQ3MGI5MTE3NTFlOGZiYzA0ZmQ3YmVlMTYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.wFM_Shs-9GDkWDPPw6OvtFhyQpHtAJ-Ur08Q4ZSRKZk)
Are these params in "connection.invoke('LoadModel', sessionParams, sessionParams)" correct? It looks strange, because that "sessionParams" parameter is used twice.
EDIT:
I think someone forgot to set the second parameter “inferenceConfig” correctly. This also explains the TODO comment. If you compare the SessionConfig and InferenceOptions data types with each other, some properties are similar. The developer probably wanted to fill an InferenceOptions object at this point, but forgot to do so.
Does anyone know if this is still being developed? Unfortunately, the current state of the implementation prevents you from using the web application.
Beta Was this translation helpful? Give feedback.
All reactions