-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Compare image memory limit to sum of shmem and main mem #1770
Open
fregataa
wants to merge
20
commits into
main
Choose a base branch
from
feature/better-shared-memory-handling
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+79
−24
Open
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
c99e738
fix: Handle value error when convert shmem to binary size
fregataa 5b821cf
feature: Compare image memory limit to sum of shmem and main mem
fregataa 0bef259
add news fragment
fregataa ec523d9
add shmem to requested_slot and log
fregataa 5367ab2
fix: Clarify the comment and move the shmem/mem size comparison befor…
achimnol 654e273
feat: Always enable the `cuda_open` plugin in the TUI (scie) installe…
achimnol 6d17e5b
docs: resize font-size of ads (#1965)
lizable f735f56
fix: alembic migration failing when primary key does not exist (#1963)
fregataa 27d4653
do not compare shmem + mem with image mem slot
fregataa bfb7aec
add comment and update news fragment
fregataa 2f5c377
do null check rather than 'or' coalescing and configurable mem/shmem …
fregataa 6dd7f02
rename and relocate constants and variables
fregataa 891e0f4
update error message since ratio is changable
fregataa c4001f1
update news fragment
fregataa bc26637
check empty shmem value and robust type conversion handling
fregataa 1761ae9
compare image requiring mem to requested mem plus shmem
fregataa 7311611
update cli help txt
fregataa 6a8ef19
remove too verbose help text
fregataa 4a060f1
minor change
fregataa 245de35
fix wrong resolved conflicts
fregataa File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Include the shared memory when comparing the requested memory slot to the minimum resource slot required by an image and Add configuration of a ratio between shared memory and memory. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Fix `caf54fcc17ab` migration to drop a primary key only if it exists and in `589c764a18f1` migration, add missing table arguments. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Resize font-size of footer text in ethical ads in documentation hosted by read-the-docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Always enable `ai.backend.accelerator.cuda_open` in the scie-based installer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The error message string is missing a closing parenthesis. The line should be:
f"(s:{str(shmem)}, m:{str(BinarySize(requested_slots['mem']))})"
Spotted by Graphite Reviewer
Is this helpful? React 👍 or 👎 to let us know.